- Joined
- Apr 16, 2025
- Messages
- 160
Blizzard has fixed this bug — now abilities trigger correctly even when a unit automatically attacks an enemy that appears nearby.
So, now that this is actually usable, I have a question: is there any theoretical way to detect the attacking unit?
I know about the global “Unit is Attacked” trigger.
The problem is, it doesn’t tell you when the projectile actually hits the target — and what I need is to detect the exact moment when the ability procs.
The global “Unit Takes Damage” event causes massive lag if there are 1000 units on the map.
The ideal solution would be something like a “Unit finishes casting an ability” global event, but the “Item Attack Lightning Bonus (new)” ability never fires that event.
So, as I understand it, there’s no standard legal way to detect this.
Please tell me — is there any clever ability that, once triggered on a unit, will fire any kind of global event (other than “unit takes damage” or “unit about to take damage”)?
Any workaround would do!
So, now that this is actually usable, I have a question: is there any theoretical way to detect the attacking unit?
I know about the global “Unit is Attacked” trigger.
The problem is, it doesn’t tell you when the projectile actually hits the target — and what I need is to detect the exact moment when the ability procs.
The global “Unit Takes Damage” event causes massive lag if there are 1000 units on the map.
The ideal solution would be something like a “Unit finishes casting an ability” global event, but the “Item Attack Lightning Bonus (new)” ability never fires that event.
So, as I understand it, there’s no standard legal way to detect this.
Please tell me — is there any clever ability that, once triggered on a unit, will fire any kind of global event (other than “unit takes damage” or “unit about to take damage”)?
Any workaround would do!














