Ability Help!

Valtarian

Member
Reaction score
3
Hello
I currently have an ability set up for a "creep" where when it is attacked, it casts a healing wave spell that works like chain lightning by healing a unit near it for 80hp, and bounces to 2 other units, healing 5% less each time.

I've tried several methods for the "unit-order" action, nothing has worked. Does anyone know how I can fix this or set this up properly?

Here is my trigger:

Trigger:
  • Top side
    • Events
      • Unit - A unit owned by Player 8 (Pink) Is attacked
      • Unit - A unit owned by Player 12 (Brown) Is attacked
      • Unit - A unit owned by Player 10 (Light Blue) Is attacked
    • Conditions
    • Actions
      • Set TempGroup = (Units in Snow <gen>)
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • ((Unit-type of (Picked unit)) Equal to Kodo Overlord (|cff00a800Unlimited|r)) or ((Unit-type of (Picked unit)) Equal to Kodo Overlord)
          • Then - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • ((Picked unit) is in AntiPatrolGroup3) Equal to True
              • Then - Actions
                • Set TempPoint = (Position of (Picked unit))
                • Unit - Order (Picked unit) to (Name of Healing Wave (Creeps)(80)) (Random unit from (Units within 600.00 of (Position of (Picked unit)) matching (((Unit-type of (Target unit of issued order)) is A giant) Equal to True)))
                • Point - Remove TempPoint
                • Set TempPoint = (Center of Top Left <gen>)
                • Unit - Order (Picked unit) to Move To TempPoint
                • Point - Remove TempPoint
                • Trigger - Turn off (This trigger)
              • Else - Actions
          • Else - Actions
      • Unit Group - Destroy unit group TempGroup
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
Try this.
Trigger:
  • Unit - Order (Picked unit) to Orc Shadow Hunter - Healing Wave (Random unit from UnitGroup)

Your method leaks a unit group too.
 

Valtarian

Member
Reaction score
3
That also failed to work. I decided to replace the ability with something similar... Life Regeneration. Aura's seem to work better in my case considering I can't get a creep to target other creeps with abilities
 
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