Is it possible to have a spell that takes more than one turn to prepare? (I.e. the character has to remain inactive for X turns of combat before it's cast). Alternatively, if that's too hard, is there a way for the character to remain inactive AFTER it's cast?
Spells that take more than one turn to execute?
RPG Maker VXAce SupportThe second option might be doable. Have the damage formula add a state to the caster, and in that state make them unable to move for x turns. You could even make this a special state with no cure if you want to avoid the player being able to cure it.
Unfortunately I'm fuzzy on how to add a state while in the damage formula. I think it is a.add_state(x), with x the number of the state to add? I do recall it has to go before the damage formula, else the state will not add.
Maybe another poster can clarify more on this. I just know it can be done though.
Unfortunately I'm fuzzy on how to add a state while in the damage formula. I think it is a.add_state(x), with x the number of the state to add? I do recall it has to go before the damage formula, else the state will not add.
Maybe another poster can clarify more on this. I just know it can be done though.
Yes, it is
a.add_state(x);damage formula here
Don't forget the semi-colon.
a.add_state(x);damage formula here
Don't forget the semi-colon.
Also check out Tsukihime's skill charging script. It basically puts your character into a "charging" (or casting, or leaping, etc) state for X turns, then enacts the skill.
Yanfly also has a "Heat Up / Cool Down" script for skills.
Yea, you're right about adding a state to the caster. I realized that while I was at work. I'll have to look into these scripts. Thank you for all your answers.
Original thread: https://forums.rpgmakerweb.com/threads/spells-that-take-more-than-one-turn-to-execute.40370/