From fc3a7218489b11180cf0d49ca3a0bd5924da6439 Mon Sep 17 00:00:00 2001 From: Splinter Date: Sun, 13 Dec 2009 02:30:57 +0300 Subject: [PATCH] [8983] Implement item 42988 buf expire effect. Signed-off-by: VladimirMangos --- src/game/SpellAuras.cpp | 12 ++++++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index f14403c1b..228ad0a83 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ebefce6b0..fc0e7c3d2 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8982" + #define REVISION_NR "8983" #endif // __REVISION_NR_H__