fix(Core/Spells): health-dependent reactive states should reset on death (#9134)
- Closes #8798
This commit is contained in:
parent
701b288864
commit
c3ed68bb5e
1 changed files with 4 additions and 3 deletions
|
|
@ -13707,9 +13707,10 @@ void Unit::setDeathState(DeathState s, bool despawn)
|
|||
|
||||
if (s == JUST_DIED)
|
||||
{
|
||||
// xinef: needed for procs, this is refreshed in Unit::Update
|
||||
//ModifyAuraState(AURA_STATE_HEALTHLESS_20_PERCENT, false);
|
||||
//ModifyAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, false);
|
||||
ModifyAuraState(AURA_STATE_HEALTHLESS_20_PERCENT, false);
|
||||
ModifyAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, false);
|
||||
ModifyAuraState(AURA_STATE_HEALTH_ABOVE_75_PERCENT, false);
|
||||
|
||||
// remove aurastates allowing special moves
|
||||
ClearAllReactives();
|
||||
ClearDiminishings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue