Jordguitar
Member
- Reaction score
- 0
Hello, I'm trying to make a trigger for the ability "Storm Bolt", but I can't seem to get it to work.
It's supposed to have the mountain king being able to detect when a hero drops below a certain amount of health, and then storm bolt them.
But instead he just throws storm bolts at anything at full health and even at random footmen.
Thanks for help!
Storm Bolt
Events
Unit - A unit Is attacked
Conditions
((Attacked unit) is A Hero) Equal to True
(Distance between (Position of Unit_MountainKing) and (Position of (Attacked unit))) Less than or equal to 800.00
((Attacked unit) belongs to an enemy of Player_MountainKing) Equal to True
(Mana of Unit_MountainKing) Greater than or equal to 75.00
Actions
Hero - Learn skill for Unit_MountainKing: Human Mountain King - Storm Bolt
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Storm Bolt for Unit_MountainKing) Equal to 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Less than or equal to 100.00
Then - Actions
Unit - Order Unit_MountainKing to Human Mountain King - Storm Bolt (Attacked unit)
Else - Actions
Do nothing
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Storm Bolt for Unit_MountainKing) Equal to 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Less than or equal to 225.00
Then - Actions
Unit - Order Unit_MountainKing to Human Mountain King - Storm Bolt (Attacked unit)
Else - Actions
Do nothing
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Storm Bolt for Unit_MountainKing) Equal to 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Less than or equal to 350.00
Then - Actions
Unit - Order Unit_MountainKing to Human Mountain King - Storm Bolt (Attacked unit)
Else - Actions
Do nothing
Else - Actions
Do nothing
It's supposed to have the mountain king being able to detect when a hero drops below a certain amount of health, and then storm bolt them.
But instead he just throws storm bolts at anything at full health and even at random footmen.
Thanks for help!
Storm Bolt
Events
Unit - A unit Is attacked
Conditions
((Attacked unit) is A Hero) Equal to True
(Distance between (Position of Unit_MountainKing) and (Position of (Attacked unit))) Less than or equal to 800.00
((Attacked unit) belongs to an enemy of Player_MountainKing) Equal to True
(Mana of Unit_MountainKing) Greater than or equal to 75.00
Actions
Hero - Learn skill for Unit_MountainKing: Human Mountain King - Storm Bolt
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Storm Bolt for Unit_MountainKing) Equal to 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Less than or equal to 100.00
Then - Actions
Unit - Order Unit_MountainKing to Human Mountain King - Storm Bolt (Attacked unit)
Else - Actions
Do nothing
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Storm Bolt for Unit_MountainKing) Equal to 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Less than or equal to 225.00
Then - Actions
Unit - Order Unit_MountainKing to Human Mountain King - Storm Bolt (Attacked unit)
Else - Actions
Do nothing
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Storm Bolt for Unit_MountainKing) Equal to 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Less than or equal to 350.00
Then - Actions
Unit - Order Unit_MountainKing to Human Mountain King - Storm Bolt (Attacked unit)
Else - Actions
Do nothing
Else - Actions
Do nothing