Auto Revive skill

● ARCHIVED · READ-ONLY
Started by Xanzu 4 posts View original ↗
  1. First of all, sorry if this is posted in the wrong place, or if this question has allready been asked before. I looked around a bit but couldn't find anything that looked similar.

    Now that that's out of the way, i would like to ask if there is a way to make a skill that allows a characther to be automatically revived whith a specific amount of max hp if he/she dies while under the effect of the spell.

    For example: Actor A casts spell on Actor B, giving Guardian Angel buff.

                         Actor B is killed by an enemy within 5 turns

                         Actor B is then revived with 25% of max hp, and the buff is consumed.

    Thanks in advance for any help on this:)
  2. I described how to do something similar here. You have to do a few modifications though, as it is a revive item.

    -So first of all set up a skill instead of an item that does the very same thing I described there.

    -Also give the skill the damage formula v[x]=b.id set any number for x depending on which variable you want to use. This stores the target's id in the variable.

    -Use this variable instead of a specified actor in the battle event. Just set the battle event up for each actor, as it will just result in problems if you try to not do so...

    Srsly I should make a tutorial about this one...

    EDIT: If you want it to just work within 5 turns set the duration of the state to 5, but then it might also work when you are invincible for any other reason (if the skill didn't resolve earlier). I see if I find a way to fix that...

    EDIT2: As we don't use the variable anymore, just set the battle event's insides inside a conditional branch where you check if the actor has the state applied, also remove the common event and the switch as it isn't needed anymore.
  3. I see. I really thought this was going to be much more complicated.

    Thanks Cyprien, you have been a huge help.
  4. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.