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:
Anubisss
2010-05-14 18:02:31 +02:00
parent 3c9fc9b9e3
commit a7295810e3
3 changed files with 11 additions and 6 deletions
+2
View File
@@ -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
View File
@@ -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: