- Joined
- Dec 12, 2012
- Messages
- 96
Far Seer's ability Earthquake is hardcoded to damage buildings so I tried applying a trigger that would make it inflict damage on units as well. I have two triggers and none of them work, one is a little sophisticated and the other one is quite simple.
1st:
If I run out of ideas how to make this work by trigger, I have two other options:
1 - Removing Earthquake ability from Far Seer and replacing it with Monsoon.
It works on game but there's always a pop up error whenever I save the map and AI HEROES doesn't select it on level 6.
2 - Dummy Units
I would like to avoid using dummies as possible 'cause i have little knowledge
about them. Just want to stick with trigger on this one.
1st:
-
Earthquake
-
Events
- Unit - A unit Begins channeling an ability
-
Conditions
- (Ability being cast) Equal to Earthquake
-
Actions
- Set EQcaster = (Casting unit)
- Set EQpoint = (Target point of ability being cast)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Owner of DEcaster) Equal to Player 1 (Red)
- (Owner of DEcaster) Equal to Player 3 (Teal)
- (Owner of DEcaster) Equal to Player 4 (Purple)
- (Owner of DEcaster) Equal to Player 5 (Yellow)
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
-
For each (Integer A) from 1 to 35, do (Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 750.00 of EQpoint) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Owner of (Picked unit)) Equal to Player 2 (Blue)
- (Owner of (Picked unit)) Equal to Player 6 (Orange)
- (Owner of (Picked unit)) Equal to Player 7 (Green)
- (Owner of (Picked unit)) Equal to Player 8 (Pink)
- (Owner of (Picked unit)) Equal to Neutral Hostile
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Set EQtargetunit = (Picked unit)
- Set EQtargetunitLife = (Life of (Picked unit))
- Unit - Set life of EQtargetunit to (EQtargetunitLife - 70.00)
- Wait 1.00 seconds
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 750.00 of EQpoint) and do (Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 35, do (Actions)
- Else - Actions
-
If - Conditions
-
Events
-
Earthquake2
-
Events
- Unit - A unit Begins channeling an ability
-
Conditions
- ((Target unit of ability being cast) has buff Earthquake) Equal to True
-
Actions
- Set EQpoint = (Target point of ability being cast)
-
Unit Group - Pick every unit in (Units within 750.00 of EQpoint) and do (Actions)
-
Loop - Actions
- Set EQtargetunit = (Picked unit)
- Unit - Set life of EQtargetunit to ((Life of (Picked unit)) - 70.00)
-
Loop - Actions
-
Events
If I run out of ideas how to make this work by trigger, I have two other options:
1 - Removing Earthquake ability from Far Seer and replacing it with Monsoon.
It works on game but there's always a pop up error whenever I save the map and AI HEROES doesn't select it on level 6.
2 - Dummy Units
I would like to avoid using dummies as possible 'cause i have little knowledge
about them. Just want to stick with trigger on this one.