From e3a9de2d847ab1b3d643e36ac335e07b59d6e041 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 12 Nov 2008 10:36:13 -0600 Subject: [svn] Cast on caster for SPELL_EFFECT_TRADE_SKILL. --HG-- branch : trunk --- src/game/Spell.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 1a22c2a529d..8d5eee36d01 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -456,10 +456,11 @@ void Spell::FillTargetMap() { switch(m_spellInfo->Effect[i]) { - case SPELL_EFFECT_PARRY: - case SPELL_EFFECT_BLOCK: + case SPELL_EFFECT_PARRY: // 0 + case SPELL_EFFECT_BLOCK: // 0 case SPELL_EFFECT_SKILL: // always with dummy 3 as A - case SPELL_EFFECT_LEARN_SPELL: + case SPELL_EFFECT_LEARN_SPELL: // 0 + case SPELL_EFFECT_TRADE_SKILL: // 0 or 1 tmpUnitMap.push_back(m_caster); break; } -- cgit v1.2.3