From cc02d94bdf3bf022e422454396260f32045b86ef Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Tue, 21 Jan 2014 14:50:22 -0500 Subject: [PATCH] Implemented ST_TargetAETap --- common/spdat.cpp | 4 +++- zone/spells.cpp | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common/spdat.cpp b/common/spdat.cpp index 3c551e9e7..a5215cb2e 100644 --- a/common/spdat.cpp +++ b/common/spdat.cpp @@ -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; diff --git a/zone/spells.cpp b/zone/spells.cpp index a078a11c5..2cdb72022 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -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)