• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Does this leak?

Status
Not open for further replies.
Level 4
Joined
Jun 13, 2014
Messages
77
For some reason when the trigger happens it leaves a sparkle on the floor which leaves me to believe that it may be leaking.
The concept is that i want the item to be able to proc certain abilities when a unit attacks and is holding it.

  • Thunderhammer
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) is A Hero) Equal to (==) True
      • ((Attacking unit) has an item of type |cff0000ffZervon the Shockhammer|r) Equal to (==) True
    • Actions
      • Set Prochammer = (Random integer number between 1 and 100)
      • Set Hammerholder = (Attacking unit)
      • Set Hammertarget = (Attacked unit)
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Prochammer Less than (<) 11
          • Then - Actions
            • Set shockhammerpoint = (Position of (Attacking unit))
            • Unit - Create 1 Thunderhammer Proc for (Owner of Hammerholder) at shockhammerpoint facing Default building facing (270.0) degrees
            • Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning Hammertarget
            • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
            • Custom script: call RemoveLocation( udg_shockhammerpoint )
          • Else - Actions
            • Do nothing
 
Level 4
Joined
Jun 13, 2014
Messages
77
Sparkle? Define more what the sparkle is.
It might be caused by the effects naturally.

I don't know. Because taking a quick glance it doesn't leak.

Umm its like a small white glowing ball of light that sits at whatever position the effect happens at.

So for example if the chain lightning triggers at X position after about 1 second a small glowing white sparkle will appear at that location and sit there forever.
 
Status
Not open for further replies.
Top