Help with cheap shot spell

saickododge

New Member
Reaction score
2
Hi. I want to create a spell which is like Cheap Shot in WoW. It's like wind walk with bonus damage when you attack someone to break the stealth, but I want replace the bonus damage with a 2 second stun. Any help?

Thanks.
 

ludnica

Long gone
Reaction score
61
please tell us what a 'cheap shot' is, not all in here plays wow^^

Cheap Shot
60 Energy Melee Range
Instant
Requires Melee Weapon
Requires Stealth
Stuns the target for 4 sec. Must be stealthed. Awards 2 combo points.


That is Cheap Shot.
 

free_killing

TH.net Regular
Reaction score
23
Cheap Shot
60 Energy Melee Range
Instant
Requires Melee Weapon
Requires Stealth
Stuns the target for 4 sec. Must be stealthed. Awards 2 combo points.


That is Cheap Shot.

Okay, but do you want it to req melee weapon and Stealth?
 

ludnica

Long gone
Reaction score
61
Trigger:
  • Trigger
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (((Attacked unit) is A structure) Equal to False) and (((Attacking unit) has buff Wind Walk) Equal to True)
      • ((Attacked unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True
    • Actions
      • Set Temp_Point = (Position of (Triggering unit))
      • Unit - Create 1 Dummy for (Owner of (Attacking unit)) at Temp_Point facing Default building facing degrees
      • Unit - Add Storm Bolt to (Last created unit)
      • Unit - Set level of Storm Bolt for (Last created unit) to (Level of Wind Walk for (Attacking unit))
      • Unit - Add a 1.00 second Water Elemental expiration timer to (Last created unit)
      • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Attacked unit)
      • Custom script: call RemoveLocation(udg_Temp_Point)

Didn't test it.
 

saickododge

New Member
Reaction score
2
Ah.. Then it's those variables and dummies again.. I haven't been to dummies before, so it would be nice if I could get a lesson with them.
 

free_killing

TH.net Regular
Reaction score
23
Trigger:
  • Trigger
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (((Attacked unit) is A structure) Equal to False) and (((Attacking unit) has buff Wind Walk) Equal to True)
      • ((Attacked unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True
    • Actions
      • Set Temp_Point = (Position of (Triggering unit))
      • Unit - Create 1 Dummy for (Owner of (Attacking unit)) at Temp_Point facing Default building facing degrees
      • Unit - Add Storm Bolt to (Last created unit)
      • Unit - Set level of Storm Bolt for (Last created unit) to (Level of Wind Walk for (Attacking unit))
      • Unit - Add a 1.00 second Water Elemental expiration timer to (Last created unit)
      • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Attacked unit)
      • Custom script: call RemoveLocation(udg_Temp_Point)

Didn't test it.

The trigger seems okay.. But aint cheat shot a arrow thing? im not sure, but if it is then change the "Art - Missile Art" Storm Bolt <Missile>, Storm Bolt <Missile> to Frost Arrows <Missile>

Edit: Your trigger also works for a ranged attacked

edit2:
Ah.. Then it's those variables and dummies again.. I haven't been to dummies before, so it would be nice if I could get a lesson with them.

Theres a dummy tut somewhere here..
edit3: http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=26751

edit4: or just do this:
right click on night elf<units<wisp, new custom unit, and call it Dummy
Abilities - Normal Locust, Invulnerable (Neutral)
Art - Animation - Cast Backswing 0.000
in Art - Model File you choose Custom and write .mdl then click ok
Editor - Categorization - Special True
Movement - Type Fly
Pathing - Collision Size 0
Stats - Food Cost 0
Stats - Mana Initial Amount 10000
Stats - Mana Maximum 10000
Stats - Mana Regeneration 1000
Atleast thats how i do :)
 

ludnica

Long gone
Reaction score
61
The dummy is a basic unit with both attacks disabled, has the Locust ability, and its food cost set to 0.
Temp_Point is a Point variable.
 

saickododge

New Member
Reaction score
2
Great! I got it working with ludnica's trigger + two self-made activation and de-activation triggers. Thanks! +rep for you both
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top