fix(Core/Spells): health-dependent reactive states should reset on death (#9134)
- Closes #8798
This commit is contained in:
@@ -13707,9 +13707,10 @@ void Unit::setDeathState(DeathState s, bool despawn)
|
|||||||
|
|
||||||
if (s == JUST_DIED)
|
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_20_PERCENT, false);
|
ModifyAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, false);
|
||||||
//ModifyAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, false);
|
ModifyAuraState(AURA_STATE_HEALTH_ABOVE_75_PERCENT, false);
|
||||||
|
|
||||||
// remove aurastates allowing special moves
|
// remove aurastates allowing special moves
|
||||||
ClearAllReactives();
|
ClearAllReactives();
|
||||||
ClearDiminishings();
|
ClearDiminishings();
|
||||||
|
|||||||
Reference in New Issue
Block a user