diff options
author | Lopin <davca.hr@seznam.cz> | 2011-06-19 17:47:23 +0200 |
---|---|---|
committer | Lopin <davca.hr@seznam.cz> | 2011-06-19 17:47:23 +0200 |
commit | 50a716e031a58b1ad23f5884729c2dce8e4ddfa2 (patch) | |
tree | 712d7e94703653e1da49c8bc2d63075abf9157c9 /src | |
parent | 62908812cb2d9d3a7c39cca39dac5ac26e414ba5 (diff) |
Revert "Core/Spells: Fixed Righteous Fury stacking exploit"
This reverts commit b7d504a7e60ea98d0f826185fe87ce3e625ce0d4.
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index a6318c7fea2..e63d0dfda03 100755 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -2970,9 +2970,6 @@ void AuraEffect::HandleModThreat(AuraApplication const* aurApp, uint8 mode, bool return; Unit* target = aurApp->GetTarget(); - if (!target || target->GetTypeId() != TYPEID_PLAYER || (apply && !target->isAlive())) - return; - for (int32 i = 0; i < MAX_SPELL_SCHOOL; ++i) if (GetMiscValue() & (1 << i)) ApplyPercentModFloatVar(target->m_threatModifier[i], float(GetAmount()), apply); |