• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Solved] Prevent intelligence steal from dead enemy heroes

Level 5
Joined
Feb 1, 2024
Messages
44
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 67
Joined
Aug 10, 2018
Messages
6,953
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