- Joined
- Apr 22, 2008
- Messages
- 139
I have an ability that drains life and mana from enemy units, and since GUI doesn't seem to support making a unit cast non-standard abilities, I was wondering if someone would be willing to modify my trigger so that it stores 2 different custom abilities and then orders the attacking unit to cast the ability on the attacked unit, or show me how to do so.
Here's the trigger:
Here's the trigger:
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- ((Attacked unit) is A Hero) Equal to True
- (Mana of (Attacked unit)) Greater than 5.00
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- -------- the casting of the first ability goes here --------
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- ((Attacked unit) is Summoned) Equal to True
- (Mana of (Attacked unit)) Greater than 5.00
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- -------- the casting of the second ability goes here --------
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Last edited: