- Joined
- May 11, 2012
- Messages
- 2,108
I have 2 triggers here. Hand of Angel trigger does not occur because of Eoric Staff when I own both items at once. Eoric Staff always overwrites Hand.
When I drop Eoric Staff, then Hand occurs.
Why?
When I drop Eoric Staff, then Hand occurs.
Why?
-
Hand of Angel
-
Events
-
Game - damageEventTrigger becomes Equal to 1.00
-
-
Conditions
-
damageType Equal to 0
-
onHitCleave Equal to 0
-
(target is A structure) Not equal to True
-
((Item carried by source of type Hand of Angel) is owned) Equal to True
-
(target belongs to an enemy of (Owner of source)) Equal to True
-
(target is Magic Immune) Equal to False
-
-
Actions
-
Trigger - Turn off (This trigger)
-
Set TempPoint = (Position of source)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Random integer number between 1 and 100) Less than or equal to 15
-
-
Then - Actions
-
Unit - Create 1 Dummy Caster for (Owner of source) at TempPoint facing Default building facing degrees
-
Unit - Add Hand of Angel to (Last created unit)
-
Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning target
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Random integer number between 1 and 100) Less than or equal to 35
-
-
Then - Actions
-
Unit - Cause source to damage target, dealing 1000.00 damage of attack type Hero and damage type Normal
-
-
Else - Actions
-
-
Custom script: call RemoveLocation(udg_TempPoint)
-
Custom script: set udg_TempPoint = null
-
Trigger - Turn on (This trigger)
-
-
-
Eoric Staff
-
Events
-
Game - damageEventTrigger becomes Equal to 1.00
-
-
Conditions
-
damageType Equal to 0
-
onHitCleave Equal to 0
-
(target is A structure) Not equal to True
-
((Item carried by source of type Eoric Staff) is owned) Equal to True
-
(target belongs to an enemy of (Owner of source)) Equal to True
-
-
Actions
-
Trigger - Turn off (This trigger)
-
Set onHitCleave = 1
-
Set TempPoint = (Position of target)
-
Set TempUnitGroup = (Units within 450.00 of TempPoint matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is dead) Not equal to True) and (((Matching unit) belongs to an enemy of (Owner of source)) Equal to True))))
-
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
-
Loop - Actions
-
Unit - Cause source to damage (Picked unit), dealing 3500.00 damage of attack type Hero and damage type Normal
-
-
-
Set onHitCleave = 0
-
Custom script: call RemoveLocation(udg_TempPoint)
-
Custom script: call DestroyGroup(udg_TempUnitGroup)
-
Custom script: set udg_TempPoint = null
-
Custom script: set udg_TempUnitGroup = null
-
Trigger - Turn on (This trigger)
-
-