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:
@@ -0,0 +1,3 @@
|
|||||||
|
DELETE FROM spell_proc_event WHERE entry = 63320;
|
||||||
|
INSERT INTO spell_proc_event (entry, SpellFamilyName, SpellFamilyMask0, SpellFamilyMask1, SpellFamilyMask2, procFlags) VALUES
|
||||||
|
(63320, 5, 0x80040000, 0x00000000, 0x00008000, 0x00000400); -- Life Tap, Dark Pact
|
||||||
@@ -3601,6 +3601,8 @@ void SpellMgr::LoadSpellCustomAttr()
|
|||||||
case 20335:
|
case 20335:
|
||||||
case 20336:
|
case 20336:
|
||||||
case 20337:
|
case 20337:
|
||||||
|
// Glyph of Life Tap
|
||||||
|
case 63320:
|
||||||
// Entries were not updated after spell effect change, we have to do that manually :/
|
// Entries were not updated after spell effect change, we have to do that manually :/
|
||||||
spellInfo->AttributesEx3 |= SPELL_ATTR_EX3_CAN_PROC_TRIGGERED;
|
spellInfo->AttributesEx3 |= SPELL_ATTR_EX3_CAN_PROC_TRIGGERED;
|
||||||
count++;
|
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);
|
pVictim->RemoveAurasWithMechanic(1<<MECHANIC_STUN, AURA_REMOVE_BY_ENEMY_SPELL);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
// Glyph of Life Tap
|
||||||
|
case 63320:
|
||||||
|
{
|
||||||
|
triggered_spell_id = 63321; // Life Tap
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -5963,12 +5969,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
|||||||
triggered_spell_id = 63311;
|
triggered_spell_id = 63311;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Glyph of Life Tap
|
|
||||||
case 63320:
|
|
||||||
{
|
|
||||||
triggered_spell_id = 63321;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
// Nightfall
|
// Nightfall
|
||||||
case 18094:
|
case 18094:
|
||||||
case 18095:
|
case 18095:
|
||||||
|
|||||||
Reference in New Issue
Block a user