Uncurable Poison
Page 1 of 1
Uncurable Poison
This was a request of mine back on rpgmakervx.net. The request is:
I want to make it so that if the player checks a certain chest he contracts a disease which brings his MP to 0. This disease would not be curable by the character only a doctor could treat it. So no matter what they do, they can never get their MP above 0 until they check in with a doctor.
So in your chest event, it would say, "You have been inflicted with a disease, your MP has been drained, you must see a doctor!" Or something like that.
After that, make a variable, call it 'Disease' or whatever.
So far, it should look like this.
Text: You have been inflicted with a disease, your MP has been drained, you must see a doctor!
Change MP: (Player being inflicted, or entire party), -9999
Control Variables: [0001:Disease Variable] = 1
Now go into your database, or press F9, and go to your common events.
Name the common event and put this in.
A conditional branch that shows that the variable is equal to 1.
Conditional Branch: Variable [0001:Disease Variable] == 1
@> You have been inflicted with a disease, you cannot use this item to cure your MP! Go see a doctor!
Change MP: (Player being inflicted, or entire party), -9999
Else
@>
Branch End
Now use this common event on EVERY item, weapon, armor, skill, WHATEVER, that increases MP.
That's it.
I want to make it so that if the player checks a certain chest he contracts a disease which brings his MP to 0. This disease would not be curable by the character only a doctor could treat it. So no matter what they do, they can never get their MP above 0 until they check in with a doctor.
So in your chest event, it would say, "You have been inflicted with a disease, your MP has been drained, you must see a doctor!" Or something like that.
After that, make a variable, call it 'Disease' or whatever.
So far, it should look like this.
Text: You have been inflicted with a disease, your MP has been drained, you must see a doctor!
Change MP: (Player being inflicted, or entire party), -9999
Control Variables: [0001:Disease Variable] = 1
Now go into your database, or press F9, and go to your common events.
Name the common event and put this in.
A conditional branch that shows that the variable is equal to 1.
Conditional Branch: Variable [0001:Disease Variable] == 1
@> You have been inflicted with a disease, you cannot use this item to cure your MP! Go see a doctor!
Change MP: (Player being inflicted, or entire party), -9999
Else
@>
Branch End
Now use this common event on EVERY item, weapon, armor, skill, WHATEVER, that increases MP.
That's it.
moneymenace- Resource Moderator
- Posts : 538
Gald : 1337
Stats
Cookies: 0
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|