So I am creating an actor that is a bee and I gave it a skill that deals damage to an enemy and poisons it, but then kills the user after 5 turns (refering to a situation when a real-life bee stings you and then it loses its sting and dies afterwards). Now I will put here some screenshots so you know how I did it.
PS. I also used Hime's Global Common Events script and here's the link: http://himeworks.com/2013/04/global-common-events/
1. First, I created the skill itself:
2. Then I added 2 new states, one that is inflicted to the enemy (poison) and one that is inflicted to the user (starting a cooldown of some sorts until actor's death):
3. Then, I created two common events. One that turns a switch on and second one that detects, whether the actor is or isn't inflicted by the "cooldown" status and then kills it:
4. If you've noticed, I added a chime sound effect to both common events, so during a test battle, I can know, if a specific event actually was activated. And the problem is that the second event doesn't even activate at all.
PS. I also used Hime's Global Common Events script and here's the link: http://himeworks.com/2013/04/global-common-events/
1. First, I created the skill itself:
2. Then I added 2 new states, one that is inflicted to the enemy (poison) and one that is inflicted to the user (starting a cooldown of some sorts until actor's death):
3. Then, I created two common events. One that turns a switch on and second one that detects, whether the actor is or isn't inflicted by the "cooldown" status and then kills it:
4. If you've noticed, I added a chime sound effect to both common events, so during a test battle, I can know, if a specific event actually was activated. And the problem is that the second event doesn't even activate at all.