• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Prevent intelligence steal from dead enemy heroes

Status
Not open for further replies.
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 73
Joined
Aug 10, 2018
Messages
7,871
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.
 
Status
Not open for further replies.
Top