- Joined
- Jul 10, 2007
- Messages
- 6,306
I've been racking my brain over this and I can't figure out any surefire way to do it.
Unknown damage could come from UnitDamageTarget, some random effect like poison, or a spell.
When a unit casts a spell, the events fire in this order-
Spell cast
Attack
Damage on spell hit
The spell hit could be instant or it could be 55 seconds later depending on the spell (some spells are akin to projectiles remember?).
This means that trying to load up spell orders would be impossible as you couldn't relate the damage to the spell that was cast.
I just have no clue how to pull this off without spamming a million buffs for each spell, lol.
Unknown damage could come from UnitDamageTarget, some random effect like poison, or a spell.
When a unit casts a spell, the events fire in this order-
Spell cast
Attack
Damage on spell hit
The spell hit could be instant or it could be 55 seconds later depending on the spell (some spells are akin to projectiles remember?).
This means that trying to load up spell orders would be impossible as you couldn't relate the damage to the spell that was cast.
I just have no clue how to pull this off without spamming a million buffs for each spell, lol.