Yanflys Phoenix Ring

Hey, I made a copy of Yanfly's Phoenix ring.



Is it possible to be revived three times instead of once?

Here is the Code:

http://yanfly.moe/2016/01/06/tips-tricks-phoenix-ring/
You might be able to do it by creating a variable that keeps track of how many times the ring has been used. Have the variable start at 3, and then use a conditional branch in the note tag that checks the variable. If the variable is greater than 1, then decrease it by 1 and have it revive the character without breaking. If it is not greater than 1, then have it revive the character and break. You could probably modify the notetag yourself if you know javascript well enough, otherwise someone with more knowledge about it than me could help you.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-phoenix-ring.108065/