• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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 66
Joined
Aug 10, 2018
Messages
6,744
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