Instant Damage

Vylatin

New Member
Reaction score
32
Events
Unit - A unit Starts the effect of an ability

Conditions
(ability being cast) Equal to Long Throw

Actions
Unit - Cause (casting unit) to damage (target unit of ability being cast), dealing 100 damage of attack type spells and damage type normal.


Ok :) The action instantly damages the unit which is the problem. I want it to damage when the targeted unit is hit - in this case by a spear.

+rep will shower
 

D.V.D

Make a wish
Reaction score
73
You can use another trigger to make the event a unit is attacked or you can do this:

Trigger:
  • Trigger - Add to (This trigger) the event (Unit - A unit Is attacked)
 

vypur85

Hibernate
Reaction score
803
Try this. See Homing Missile. It's a damage-on-target missile spell. JASS is not magic, it doesn't make anything possible just like that. What you need is a 'A unit is damaged' event.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top