Hello
I'd like to request a way for a state to trigger an action on death.
example:
Player casts poison on enemy 1.
Player kills enemy 1 (enemy 1 was still poisoned)
Skill X targets a random foe.
I have a character I'd like to have a poison skill and if the foe dies while poisoned the poison spreads to a random foe afterwards. Later I'd like that skill to be upgraded so that in addition to spreading the poison, the dead foe also explodes and does damage to all other foes as well.
I've tried tinkering with yanfly's death event script but I can't seem to figure out for it to see if the foe had a state on them before death thus i'm requesting help.
Thank you in advanced!!
I'd like to request a way for a state to trigger an action on death.
example:
Player casts poison on enemy 1.
Player kills enemy 1 (enemy 1 was still poisoned)
Skill X targets a random foe.
I have a character I'd like to have a poison skill and if the foe dies while poisoned the poison spreads to a random foe afterwards. Later I'd like that skill to be upgraded so that in addition to spreading the poison, the dead foe also explodes and does damage to all other foes as well.
I've tried tinkering with yanfly's death event script but I can't seem to figure out for it to see if the foe had a state on them before death thus i'm requesting help.
Thank you in advanced!!