mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
[10478] Implement item 49623 visual effects.
Original patch provided by Darkruler.
This commit is contained in:
parent
f8c258608f
commit
6af66f1ae4
3 changed files with 39 additions and 13 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue