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

[Solved] Prevent intelligence steal from dead enemy heroes

Level 4
Joined
Feb 1, 2024
Messages
36
Hi, I make my hero permanently steals enemy hero's intelligence whenever such enemy hero dies by my hero or within its range.

The problem is it also counts nearby dead enemy hero if their corpse has not finished decaying. Which means if I kill multiple enemy heroes at the same time, it would stack up a lot of intelligence.

So what is additional condition that I should set to prevent my hero gain intelligence from nearby dead enemy heroes?
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,563
In the future, please post your triggers, otherwise we can't really give you a proper solution. There's a chance that you're making other mistakes that you're unaware of that we could help fix.
 
Top