Spell Aura

JohnyO

New Member
Reaction score
0
Finally i got this and it seems to work:
Trigger:
  • Aura Attack
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Triggering unit) has buff ImpaleAura Buff) Equal to True
      • (Random integer number between 1 and 100) Less than or equal to 50
    • Actions
      • Set ImpalePoint1 = (Position of (Attacking unit))
      • Set ImpalePoint2 = (Position of (Triggering unit))
      • Unit - Create 1 ImpalerDummy for (Owner of (Triggering unit)) at ImpalePoint2 facing Default building facing degrees
      • Unit - Add a 1.00 second Total expiration timer to (Last created unit)
      • Unit - Add Impale ability to (last created unit)
      • Trigger - Turn off (This trigger)
      • Unit - Order (Last created unit) to Undead Crypt Lord - Impale ImpalePoint1
      • Custom Script: call RemoveLocation(udg_ImpalePoint1)
      • Custom Script: call RemoveLocation(udg_ImpalePoint2)
      • Trigger - Turn off (This trigger)


is everything right?
 

Laiev

Hey Listen!!
Reaction score
188
Finally i got this and it seems to work:
Trigger:
  • Aura Attack
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Triggering unit) has buff ImpaleAura Buff) Equal to True
      • (Random integer number between 1 and 100) Less than or equal to 50
    • Actions
      • Set ImpalePoint1 = (Position of (Attacking unit))
      • Set ImpalePoint2 = (Position of (Triggering unit))
      • Unit - Create 1 ImpalerDummy for (Owner of (Triggering unit)) at ImpalePoint2 facing Default building facing degrees
      • Unit - Add a 1.00 second Total expiration timer to (Last created unit)
      • Unit - Add Impale ability to (last created unit)
      • Trigger - Turn off (This trigger)
      • Unit - Order (Last created unit) to Undead Crypt Lord - Impale ImpalePoint1
      • Custom Script: call RemoveLocation(udg_ImpalePoint1)
      • Custom Script: call RemoveLocation(udg_ImpalePoint2)
      • Trigger - Turn off (This trigger)


is everything right?

Remove the two
Trigger:
  • Trigger - Turn off (This trigger)

and it's ok :)
 

Laiev

Hey Listen!!
Reaction score
188
No, you just need to turn on and off the trigger IF it use Damage Detect System, but it don't use.

It just check if unit is attacked, so don't will cause infinite loops and don't will crash the warcraft, so, you can remove it :)
 
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