Implemented ST_TargetAETap

This commit is contained in:
Michael Cook (mackal) 2014-01-21 14:50:22 -05:00
parent 5121cc25a4
commit cc02d94bdf
2 changed files with 4 additions and 1 deletions

View File

@ -104,7 +104,9 @@ bool IsLifetapSpell(uint16 spell_id)
{
// Ancient Lifebane: 2115
if (IsValidSpell(spell_id) &&
(spells[spell_id].targettype == ST_Tap || spell_id == 2115))
(spells[spell_id].targettype == ST_Tap ||
spells[spell_id].targettype == ST_TargetAETap ||
spell_id == 2115))
return true;
return false;

View File

@ -1538,6 +1538,7 @@ bool Mob::DetermineSpellTargets(uint16 spell_id, Mob *&spell_target, Mob *&ae_ce
}
case ST_UndeadAE: //should only affect undead...
case ST_TargetAETap:
case ST_AETarget:
{
if(!spell_target)