Trigger Help

Caedin88

New Member
Reaction score
1
Hello, could any one please look over this and tell me why its not working?

The unit (attacked) is casting heal on picked unit even when picked unit is at 99%, although it won't try if picked is at 100%. I thought it might be built in computer controlled AI, but when this trigger is turned off it never casts the heal.

Code:
Spriggan
    Events
        Unit - A unit Is attacked
    Conditions
        (Unit-type of (Attacked unit)) Equal to Fiend (Medium)
    Actions
        Unit - Order (Attacked unit) to Night Elf Warden - Fan Of Knives
        Unit - Order (Attacked unit) to Neutral Fire Lord - Soul Burn (Attacking unit)
        Unit Group - Pick every unit in (Units within 1000.00 of (Position of (Attacked unit))) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Owner of (Picked unit)) Equal to Neutral Hostile
                        (Percentage life of (Picked unit)) Less than or equal to 35.00
                    Then - Actions
                        Unit - Order (Attacked unit) to Human Priest - Heal (Picked unit)
                    Else - Actions
 

Squishy

You can change this now in User CP.
Reaction score
127
Maybe it has something to do with the fact that your ordering the attacked unit to do 3+ things at the same time?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top