diff options
| author | thenecromancer <none@none> | 2010-01-23 16:37:06 +0100 |
|---|---|---|
| committer | thenecromancer <none@none> | 2010-01-23 16:37:06 +0100 |
| commit | caf3505f752c1062fd0adad86738e6d2408f7a31 (patch) | |
| tree | 16e2313e5cdcf2b57112e660b51e425750767e98 /src | |
| parent | 1f602fae4743e511b63244d9d26653f3c5dafefa (diff) | |
Fix Unrelenting Assault applying debuff to non-player target
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/SpellAuraEffects.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp index 6f8818298b3..4ec66906aab 100644 --- a/src/game/SpellAuraEffects.cpp +++ b/src/game/SpellAuraEffects.cpp @@ -5344,7 +5344,10 @@ void AuraEffect::HandleAuraDummy(AuraApplication const * aurApp, uint8 mode, boo if (caster && m_spellProto->SpellFamilyName == SPELLFAMILY_WARRIOR && m_spellProto->SpellFamilyFlags[0] & 0x4) { - // Must be casting target + // In addition, if you strike a player.. + if (target->GetTypeId() != TYPEID_PLAYER) + return; + // ..while they are casting if (target->IsNonMeleeSpellCasted(false, false, true)) { if (AuraEffect * aurEff = caster->GetAuraEffect(SPELL_AURA_ADD_FLAT_MODIFIER, SPELLFAMILY_WARRIOR, 2775, 0)) |
