aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp7
1 files changed, 4 insertions, 3 deletions
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;
}