• 🏆 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!

[General] Why does GDD detect unit targeted spells as damage?

Status
Not open for further replies.
Level 5
Joined
Dec 25, 2018
Messages
110
My spells which are based on slow/cripple etc will trigger this event
  • Game - GDD_Event becomes Equal to 0.00
Why is that?
 
Level 12
Joined
Feb 22, 2010
Messages
1,115
When a spell applies a buff effect to target unit, w3 engine make caster unit deal 0 damage to target unit. You can filter out those cases by checking the amount of damage taken, add o condition for damage taken > 0.
 
Level 5
Joined
Dec 25, 2018
Messages
110
When a spell applies a buff effect to target unit, w3 engine make caster unit deal 0 damage to target unit. You can filter out those cases by checking the amount of damage taken, add o condition for damage taken > 0.
Thanks friend, it works properly now.
 
Status
Not open for further replies.
Top