Fix Glyph of Life Tap.
SpellMgr.cpp part of the code by Karolis.Rudzevicius, thanks for it. Fixes issue #1440. --HG-- branch : trunk
This commit is contained in:
@@ -3601,6 +3601,8 @@ void SpellMgr::LoadSpellCustomAttr()
|
||||
case 20335:
|
||||
case 20336:
|
||||
case 20337:
|
||||
// Glyph of Life Tap
|
||||
case 63320:
|
||||
// Entries were not updated after spell effect change, we have to do that manually :/
|
||||
spellInfo->AttributesEx3 |= SPELL_ATTR_EX3_CAN_PROC_TRIGGERED;
|
||||
count++;
|
||||
|
||||
+6
-6
@@ -5638,6 +5638,12 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
pVictim->RemoveAurasWithMechanic(1<<MECHANIC_STUN, AURA_REMOVE_BY_ENEMY_SPELL);
|
||||
return true;
|
||||
}
|
||||
// Glyph of Life Tap
|
||||
case 63320:
|
||||
{
|
||||
triggered_spell_id = 63321; // Life Tap
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -5963,12 +5969,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
triggered_spell_id = 63311;
|
||||
break;
|
||||
}
|
||||
// Glyph of Life Tap
|
||||
case 63320:
|
||||
{
|
||||
triggered_spell_id = 63321;
|
||||
break;
|
||||
}
|
||||
// Nightfall
|
||||
case 18094:
|
||||
case 18095:
|
||||
|
||||
Reference in New Issue
Block a user