aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index e0589918dad..dd6169c3b3c 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1960,7 +1960,7 @@ void Spell::EffectTriggerSpell(uint32 i)
bool instant = false;
for(uint32 j = i+1; j < 3; ++j)
{
- if(m_spellInfo->Effect[j]==SPELL_EFFECT_INSTAKILL && m_spellInfo->EffectImplicitTargetA[j]==TARGET_SELF)
+ if(m_spellInfo->Effect[j]==SPELL_EFFECT_INSTAKILL && m_spellInfo->EffectImplicitTargetA[j]==TARGET_UNIT_CASTER)
{
instant = true;
break;
@@ -2007,7 +2007,7 @@ void Spell::EffectTeleportUnits(uint32 i)
return;
// If not exist data for dest location - return
- if(!m_targets.HasDest())
+ if(!m_targets.HasDst())
{
sLog.outError( "Spell::EffectTeleportUnits - does not have destination for spell ID %u\n", m_spellInfo->Id );
return;
@@ -2031,7 +2031,7 @@ void Spell::EffectTeleportUnits(uint32 i)
unitTarget->SendMessageToSet(&data, false);
}
- // post effects for TARGET_TABLE_X_Y_Z_COORDINATES
+ // post effects for TARGET_DST_DB
switch ( m_spellInfo->Id )
{
// Dimensional Ripper - Everlook
@@ -5463,7 +5463,7 @@ void Spell::EffectMomentMove(uint32 i)
if(unitTarget->isInFlight())
return;
- if(!m_targets.HasDest())
+ if(!m_targets.HasDst())
return;
uint32 mapid = m_caster->GetMapId();