Trigger is Not Working

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


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
      • 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..)
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
perhaps you should turn off the second trigger at the end, or make the trigger initally off and have another one activate it
 

Tom Jones

N/A
Reaction score
437
I see you create your dummy unit at the casters location which leads me to believe that your dummy ability's range/manacost is too low/much.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top