• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Item procing spell

Status
Not open for further replies.
Level 13
Joined
Jul 15, 2007
Messages
763
If you're comfortable with using a damage engine you could also trigger it that way, and even add a visible passive cooldown for it.

Using the event "A unit is Attacked" is exploitable as an attacking unit can animation-cancel their attacks - the event fires when an attack is initiated, not when an attack connects to the victim.
 
Level 6
Joined
Aug 27, 2013
Messages
103
If you're okay with it being an orb ability, there is the Orb of Slow ability, which can be customised to have crushing wave as a spell effect. (Might post pics later showing the ability field)
Is there no way to set like: if attacking unit have that item than if random number between 1 and 100 is below 20 than create dummy on position of attacking unit that will cast crushing wave
 
Level 6
Joined
Aug 27, 2013
Messages
103
If you're comfortable with using a damage engine you could also trigger it that way, and even add a visible passive cooldown for it.

Using the event "A unit is Attacked" is exploitable as an attacking unit can animation-cancel their attacks - the event fires when an attack is initiated, not when an attack connects to the victim.
Dont want cooldown just plain passive ability
 
Level 13
Joined
Jul 15, 2007
Messages
763
Yeah that works, but as I said earlier, you can abuse that by spamming "S" on the attacking unit. Maybe that doesn't matter for you, but if you're making a multiplayer map people will abuse it. If that is a concern you'll need a damage engine and different triggers.
 
Level 13
Joined
Jul 15, 2007
Messages
763
It's also bug prone; you have to issue an attack command for it to work as one would expect (if a unit just smart attacks the effect will never fire), plus being an orb effect it has stacking issues and can also crash the game if the wielding unit has an artillery attack. Better to trigger it yourself so you can learn how to make other kinds of procs (e.g. % of effect on being struck).
 
Status
Not open for further replies.
Top