• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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
 
Level 15
Joined
Jan 31, 2007
Messages
502
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