- Joined
- Aug 29, 2013
- Messages
- 79
- Reaction score
- 0
- First Language
- English
- Primarily Uses
I'm trying to make a complex boss battle where the boss is nearly invincible until its two minions die, and the boss revives them after a while.
My original approach to doing this was by using a troop event to initiate a "countdown" variable after both minions are dead which counts down by one every turn until it reaches zero, and then at the end of the "zero" turn force the boss to revive the minions and change back to it's nigh-invulnerable state. However, for some reason that method didn't work, as the countdown wasn't working properly.
At that point I opted for a simpler solution, which was to control the boss's ability to cast the revival spell with a switch that is only turned on when both minions are dead and turned off if both are alive. (Even though this method doesn't have the turn delay that I initially wanted, I think the random chance to cast the spell each turn would still add a challenge.)
Then I attempted to test the AI, but then the revival spell itself wasn't working (The spell was being cast, but nothing was happening), meaning that the minions are never revived and the boss does not renew its barrier. I honestly have no idea what's happening. Neither the boss, nor the minions, are immune to the revival spell, and the spell's target is set to "All allies (dead)". Could someone please help me? Here's a ton of screenshots if it helps (I think the problem either has to do with the battle event or the skill itself, but I'm just not seeing it...):

The revival skill.

Initialization for the battle.


These are tests to see if the minions are dead, and if they are, have them do their suicide attack. Also tests to see if both are dead at the same time, and if so, flip the switch that controls the revival spell.

If the switch is on, drop the boss's barrier.

If the minions are revived, re-cast boss barrier, reset variables, and make the minions ready to perform their suicide attacks upon death.
My original approach to doing this was by using a troop event to initiate a "countdown" variable after both minions are dead which counts down by one every turn until it reaches zero, and then at the end of the "zero" turn force the boss to revive the minions and change back to it's nigh-invulnerable state. However, for some reason that method didn't work, as the countdown wasn't working properly.
At that point I opted for a simpler solution, which was to control the boss's ability to cast the revival spell with a switch that is only turned on when both minions are dead and turned off if both are alive. (Even though this method doesn't have the turn delay that I initially wanted, I think the random chance to cast the spell each turn would still add a challenge.)
Then I attempted to test the AI, but then the revival spell itself wasn't working (The spell was being cast, but nothing was happening), meaning that the minions are never revived and the boss does not renew its barrier. I honestly have no idea what's happening. Neither the boss, nor the minions, are immune to the revival spell, and the spell's target is set to "All allies (dead)". Could someone please help me? Here's a ton of screenshots if it helps (I think the problem either has to do with the battle event or the skill itself, but I'm just not seeing it...):

The revival skill.

Initialization for the battle.


These are tests to see if the minions are dead, and if they are, have them do their suicide attack. Also tests to see if both are dead at the same time, and if so, flip the switch that controls the revival spell.

If the switch is on, drop the boss's barrier.

If the minions are revived, re-cast boss barrier, reset variables, and make the minions ready to perform their suicide attacks upon death.
Last edited by a moderator:


