[8983] Implement item 42988 buf expire effect.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Splinter 2009-12-13 02:30:57 +03:00 committed by VladimirMangos
parent 181ecdc20d
commit fc3a721848
2 changed files with 13 additions and 1 deletions

View file

@ -5907,6 +5907,18 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
switch(GetSpellProto()->SpellFamilyName)
{
case SPELLFAMILY_GENERIC:
{
// Illusionary Barrier
if(GetId() == 57350 && !apply && m_target->getPowerType() == POWER_MANA)
{
cast_at_remove = true;
spellId1 = 60242; // Darkmoon Card: Illusion
}
else
return;
break;
}
case SPELLFAMILY_MAGE:
{
// Ice Barrier (non stacking from one caster)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8982"
#define REVISION_NR "8983"
#endif // __REVISION_NR_H__