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

how to make this skill

Status
Not open for further replies.
Level 6
Joined
Apr 14, 2007
Messages
109
u see on Enfos theres a skill that when the guy attacks it send out shockwaves that do damage

its his ultimate and u click on it and it lasts for a couple of seconds and for every attack he does while the skil is active it sends out a shockwave that does damage and i was wondering how to do that does neone know?
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
Well, the way they would have done it;

  • Shockwave on Attack
  • Events
  • Unit - A Unit Is Attacked
  • Conditions
  • (Attacking Unit) has buff Shockwave Strike Equal to True
  • Actions
  • Set TempPoint = Position of Attacking Unit
  • Set TempPoint2 = Position of Triggering Unit
  • Unit - Create 1 Dummy for (Owner of (Attacking Unit)) at TempPoint Facing 0 Degrees
  • Unit - Add Shockwave (Dummy) to (Last Created Unit)
  • Unit - Order (Last Created Unit) to Orc Tauren Chieftain - Shockwave TempPoint2
  • Unit - Add a 1.00 second Generic Expiration Timer to (Last Created Unit)
  • Custom script: call RemoveLocation( udg_TempPoint )
  • Custom script: call RemoveLocation( udg_TempPoint2 )
Where TempPoint and TempPoint2 are both Point variables.

Note: this is a bad damage detection system, but it's easy to do in GUI, which is what I'd assume you want.
 
Level 4
Joined
Mar 6, 2007
Messages
73
yea it work on click because it detect buff, but it exist and easier way without variable to do this spell. Cheking my map and ill send it.

  • Spell Test
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Shockwave (Caster)) Equal to True
    • Actions
      • Unit - Create 1 Dummy Unit for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing (Facing of (Attacked unit)) degrees
      • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
      • Unit - Add Shockwave (Dummy) to (Last created unit)
      • Unit - Set Level of Shockwave (Dummy) for (Last created unit) to (Level of Critical Strike for (Triggering unit))
      • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Position of (Attacked unit))
 
Last edited by a moderator:
Level 40
Joined
Dec 14, 2005
Messages
10,532
Err, slutoi, your trigger is just mine + leaks ><

Anyways, bkdud, what it does --

First, it detects if any unit is attacked, and the attacking unit has the buff Shockwave Strike (your ability that activates for a few seconds)

Then, it creates a 'dummy unit' at the attacker.

It then adds Shockwave to the dummy.

It then orders the dummy to cast Shockwave.

Finally, it adds an Expiration Timer to the dummy to ensure it doesn't hang around forever, then it cleans up the location leaks.

And how this works -- you have to make the buff be added (use Berserk or something), and a trigger such as mine will do the rest.
 
Level 8
Joined
Sep 13, 2006
Messages
431
Just create your base spell, making it give a buff for the duration that you want (you can have diff durations for diff levels if you want), and having no other effects. Then, implement Purple's trigger above, replacing

  • (Attacking Unit) has buff Shockwave Strike Equal to True
with

  • (Attacking Unit) has buff (Your Buff) Equal to True
If you want the shockwave to deal diff amounts of damage per level, make the shockwave multi-level (changing the damage value), and then insert

  • Unit - Set level of Shockwave for (Attacking unit) to (Level of (Your Spell) for (Attacking unit))
right after

  • Unit - Add Shockwave (Dummy) to (Last Created Unit)

That should do it for ya....
 
Status
Not open for further replies.
Top