copy-paste?)
Код:
diff a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
--- SpellAuras.cpp
+++ SpellAuras.cpp
@@ -8715,15 +8715,15 @@ @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
if (apply || cast_at_remove)
{
if (spellId1)
m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
if (spellId2 && !IsDeleted())
- m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
+ m_target->CastSpell(m_target, spellId2, true, NULL, NULL, GetCasterGUID());
if (spellId3 && !IsDeleted())
- m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
+ m_target->CastSpell(m_target, spellId3, true, NULL, NULL, GetCasterGUID());
if (spellId4 && !IsDeleted())
- m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
+ m_target->CastSpell(m_target, spellId4, true, NULL, NULL, GetCasterGUID());
}
else
{
if (spellId1)
m_target->RemoveAurasByCasterSpell(spellId1, GetCasterGUID());