mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[8983] Implement item 42988 buf expire effect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
181ecdc20d
commit
fc3a721848
2 changed files with 13 additions and 1 deletions
|
|
@ -5907,6 +5907,18 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
|
||||||
|
|
||||||
switch(GetSpellProto()->SpellFamilyName)
|
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:
|
case SPELLFAMILY_MAGE:
|
||||||
{
|
{
|
||||||
// Ice Barrier (non stacking from one caster)
|
// Ice Barrier (non stacking from one caster)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8982"
|
#define REVISION_NR "8983"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue