Revival Debuff

I have many questions, but for now I'll tackle them one at a time. Since this is my first post here:


Greetings and Salutations I am Sky Cardis.


Now with introductions out of the way, let us begin the reasoning of this thread.


Now hopefully this will help other questions revolving making debuffs as a form of backlash for using certain items and skills.


Now I am making a game where there is no revival spells, only items. And the revival item has a few negative affect. But I do not know how to exactly integrate this into the game itself.


For example:


Party Member A is dead.


Party Member B uses said revival item.


Party Member A is revived.


Party member A MHP has been reduced.


Also the debuff stacks each time they are revived with said item.


I plan on other adding other debuffs but this is a big one I want added (figured if I can figure out how to add this one I can add the others in a similar matter).


P.S. Restoring MHP requires staying at an Inn/Hospital (some recovery place)
I'm at work right now but I'm pretty sure you can accomplish this via item effects, variables, states, and common events. But if you'd like a cleaner way to do it, I'd recommend Tsukihime's conditional states script: http://himeworks.com/2014/01/conditional-states/. Using that, you can setup the states to behave like you want and simply have whatever item you are using to revive users apply the one state. If conditions are met, such as already having the state applied, it will automatically apply the next state you have designated. And then at an inn, simply remove all states. 


Hope this helps! 
up got that up and working thank you. I messed around and found out by making it a state and adding the state.


Also had to mess with the parameters (had to test that to see how that worked lol).


So all set with this one thank you.


A lot to learn what little time I have in life lol
Glad I could help 🙂  good luck to you!

Original thread: https://forums.rpgmakerweb.com/threads/revival-debuff.62065/