diff options
author | Rat <none@none> | 2009-08-15 14:26:49 +0200 |
---|---|---|
committer | Rat <none@none> | 2009-08-15 14:26:49 +0200 |
commit | 230d112282953a8da9c10c18d19c8e498ac89407 (patch) | |
tree | 67fa6a70d2d59851bb26236b86ce15c7a9bdec4b /src | |
parent | 49990e3fee21f31f6f9afc2cfd674d0ad64fe88a (diff) |
*fix shapeshift bonus auras, hope i didnt brake anything
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index b682bab6254..d19d8120263 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1945,14 +1945,14 @@ void AuraEffect::HandleShapeshiftBoosts(bool apply) if(itr->first==spellId || itr->first==spellId2) continue; SpellEntry const *spellInfo = sSpellStore.LookupEntry(itr->first); if (!spellInfo || !(spellInfo->Attributes & (SPELL_ATTR_PASSIVE | (1<<7)))) continue; - if (spellInfo->Stances & (1<<(form-1))) + if (spellInfo->Stances & (1<<(form))) m_target->CastSpell(m_target, itr->first, true, NULL, this); } //LotP if (((Player*)m_target)->HasSpell(17007)) { SpellEntry const *spellInfo = sSpellStore.LookupEntry(24932); - if (spellInfo && spellInfo->Stances & (1<<(form-1))) + if (spellInfo && spellInfo->Stances & (1<<(form))) m_target->CastSpell(m_target, 24932, true, NULL, this); } // HotW |