[10478] Implement item 49623 visual effects.

Original patch provided by Darkruler.
This commit is contained in:
VladimirMangos 2010-09-13 02:08:56 +04:00
parent f8c258608f
commit 6af66f1ae4
3 changed files with 39 additions and 13 deletions

View file

@ -8289,14 +8289,33 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
{
case SPELLFAMILY_GENERIC:
{
// Illusionary Barrier
if(GetId() == 57350 && !apply && m_target->getPowerType() == POWER_MANA)
switch(GetId())
{
cast_at_remove = true;
spellId1 = 60242; // Darkmoon Card: Illusion
case 57350: // Illusionary Barrier
{
if (!apply && m_target->getPowerType() == POWER_MANA)
{
cast_at_remove = true;
spellId1 = 60242; // Darkmoon Card: Illusion
}
else
return;
break;
}
case 71905: // Soul Fragment
{
if (!apply)
{
spellId1 = 72521; // Shadowmourne Visual Low
spellId2 = 72523; // Shadowmourne Visual High
}
else
return;
break;
}
default:
return;
}
else
return;
break;
}
case SPELLFAMILY_MAGE: