Revert "Core/Spells: Fixed Righteous Fury stacking exploit"
This reverts commit b7d504a7e6.
This commit is contained in:
@@ -2970,9 +2970,6 @@ void AuraEffect::HandleModThreat(AuraApplication const* aurApp, uint8 mode, bool
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
Unit* target = aurApp->GetTarget();
|
Unit* target = aurApp->GetTarget();
|
||||||
if (!target || target->GetTypeId() != TYPEID_PLAYER || (apply && !target->isAlive()))
|
|
||||||
return;
|
|
||||||
|
|
||||||
for (int32 i = 0; i < MAX_SPELL_SCHOOL; ++i)
|
for (int32 i = 0; i < MAX_SPELL_SCHOOL; ++i)
|
||||||
if (GetMiscValue() & (1 << i))
|
if (GetMiscValue() & (1 << i))
|
||||||
ApplyPercentModFloatVar(target->m_threatModifier[i], float(GetAmount()), apply);
|
ApplyPercentModFloatVar(target->m_threatModifier[i], float(GetAmount()), apply);
|
||||||
|
|||||||
Reference in New Issue
Block a user