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

Passive Thunder Clap

Status
Not open for further replies.
Level 4
Joined
Dec 30, 2006
Messages
84
Right now I am having fun with
Daelin's Tutorial Basic of Trigger Enhancing Spells and I think I did the % part right, but the spell doesnt work:

Can someone helps me out.??

  • STR TC
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Random integer number between 1 and 100) Less than or equal to (5 x (Level of Thunder Maul for (Attacking unit)))
      • (Level of Thunder Maul for (Triggering unit)) Not equal to 0
    • Actions
      • Unit - Create 1 DUMMY for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing Default building facing degrees
      • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
      • Unit - Add Thunder Clap to (Last created unit)
      • Unit - Order (Attacking unit) to Human Mountain King - Thunder Clap
 
lol ur creating a dummy to cast it and orders it the attacking unit xD
Just change the last trhing from
  • Unit - Order (Attacking unit) to Human Mountain King - Thunder Clap
to ->
  • Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
And your spell leaks when creating the dummy at the POSITION of the attacker ( Location will be created )
Try it this way :
  • Set Location = (Position of (Attacking unit))
    • Unit - Create 1 DUMMY for (Owner of (Attacking unit)) at Location facing
  • Custom script : call RemoveLocation(Location)
 
Level 4
Joined
Dec 30, 2006
Messages
84
This spell now works perfectly, but I wanna know if this spell is considered as orb (like orb effect) or not.

Because I have another passive ability based on lighting orb so i wanna know if there are any issues between them.
 
Level 14
Joined
Nov 25, 2004
Messages
1,185
1) tauren's PULVERIZE doesn't work like thunder clap, it just deals fixed damage aoe without any slow/stun
2) jonnny your location prevention won't work

if you really care about leaks, then replace the Location in custom scripts to udg_location

btw location is a keyword, so you might have some problems there
 
Status
Not open for further replies.
Top