Dark_Phoenix
New Member
- Reaction score
- 3
Trigger:
- Damage Detector
- Events
- Unit - A unit Is attacked
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Triggering unit) is in DamageGroup) Not equal to True
- Then - Actions
- Unit Group - Add (Triggering unit) to DamageGroup
- Trigger - Add to FireArrows <gen> the event (Unit - (Triggering unit) Takes damage)
- Trigger - Add to AttackArrows <gen> the event (Unit - (Triggering unit) Takes damage)
- Trigger - Add to FrostArrows <gen> the event (Unit - (Triggering unit) Takes damage)
- Trigger - Add to EarthArrows <gen> the event (Unit - (Triggering unit) Takes damage)
- Trigger - Add to Critical Strike1 <gen> the event (Unit - (Triggering unit) Takes damage)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Trigger:
- EarthArrows
- Events
- Conditions
- (Unit-type of (Damage source)) Equal to Bowyer
- Actions
- Trigger - Turn off (This trigger)
- Set tempInteger = (Random integer number between 1 and 100)
- For each (Integer A) from 1 to 6, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Item-type of (Item carried by (Damage source) in slot (Integer A))) Equal to Earth Arrows
- tempInteger Less than or equal to 100
- Then - Actions
- If ((Charges remaining in (Item carried by (Damage source) of type Earth Arrows)) Equal to 0) then do (Item - Remove (Item carried by (Damage source) of type Earth Arrows)) else do (Do nothing)
- Trigger - Turn off Critical Strike1 <gen>
- Set tempPoint = (Position of (Damage source))
- Unit - Create 1 Dummy for (Owner of (Damage source)) at tempPoint facing Default building facing degrees
- Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
- Unit - Add Entangling Roots to (Last created unit)
- Unit - Set level of Entangling Roots for (Last created unit) to 1
- Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Triggering unit)
- Custom script: call RemoveLocation(udg_tempPoint)
- Trigger - Turn on Critical Strike1 <gen>
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Trigger - Turn on (This trigger)
The roots aren't firing...I can't seem to see the problem.
Anyone help?
(Yes, I see the less than or equal to 100 in the 2nd trigger, that's to test it, but it's not working even with that..)