mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
*fix shapeshift bonus auras, hope i didnt brake anything
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user