How to make a unit to cast a spell when beign attacked?

Status
Not open for further replies.
Level 6
Joined
Aug 31, 2018
Messages
167
I am making a boss which use mana shield but theres something broken and it deactive mana shield.. So i need a trigger where when the boss beign attacked to cast mana shield which cant be deactivated.

Also how can i make a trigger where the Boss (a unit) cast a spell at low hp? I use the picture below but it doesnt work.
 

Attachments

  • Rock 3.png
    Rock 3.png
    11.2 KB · Views: 43
Level 30
Joined
Feb 18, 2014
Messages
3,623
I am making a boss which use mana shield but theres something broken and it deactive mana shield.. So i need a trigger where when the boss beign attacked to cast mana shield which cant be deactivated.
  • Trigger
    • Events
      • Unit - A unit is Attacked
    • Conditions
      • (Triggering unit) Equal to YourUnit
    • Actions
      • Unit - Order YourUnit to Neutral Naga Sea Witch - Activate Mana Shield
Also how can i make a trigger where the Boss (a unit) cast a spell at low hp? I use the picture below but it doesnt work.
Someone has already answered your question.
 
Status
Not open for further replies.
Top