diff options
| author | Nevan <none@none> | 2009-08-03 03:41:15 +0200 |
|---|---|---|
| committer | Nevan <none@none> | 2009-08-03 03:41:15 +0200 |
| commit | 5461999e655e514b967d78ef918895f75759eb45 (patch) | |
| tree | f5b4a40f70e4faa7de2cfbd0356be071d41b9f6f /src | |
| parent | 6f43e7184beea1e59cf655ecec9ff5ca4aec0e42 (diff) | |
*Typo
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/SpellAuras.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index a33e3874e47..2dd6a3cd921 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -955,14 +955,13 @@ void Aura::HandleAuraSpecificMods(bool apply) } // Polymorph Sound - Sheep && Penguin - if (m_spellProto->SpellIconID == 82) + if (m_spellProto->SpellIconID == 82 && m_spellProto->SpellVisual[0] == 12978) { if (GetCaster()->HasAura(56375)) GetCaster()->CastSpell(m_target,61635,true); else GetCaster()->CastSpell(m_target,61634,true); } - } // Aura Mastery Triggered Spell Handler @@ -3560,7 +3559,7 @@ void AuraEffect::HandleAuraTransform(bool apply, bool Real, bool /*changeAmount* m_target->SetUInt32Value(UNIT_FIELD_MOUNTDISPLAYID,16314); // Glyph of the Penguin - if ((GetCaster()->HasAura(56375)) && (GetSpellProto()->SpellFamilyName == SPELLFAMILY_MAGE && GetSpellProto()->SpellIconID == 82)) + if ((GetCaster()->HasAura(56375)) && (GetSpellProto()->SpellFamilyName == SPELLFAMILY_MAGE && GetSpellProto()->SpellIconID == 82 && GetSpellProto()->SpellVisual[0] == 12978)) m_target->SetDisplayId(26452); } } |
