aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-04 23:21:38 -0600
committermegamage <none@none>2009-01-04 23:21:38 -0600
commit190b0269507fce596d96821dd2d79d3c6c7c7e31 (patch)
tree348c5ebed6b6228d1ecb2f1b92d9b2ed0373da05 /src/game/Unit.cpp
parentaecc244de30b3f8a9a9466f308985452c70f10bf (diff)
*Mangos [7025] Restore work/add new spell post effects. By DiSlord.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index e2c5c9944ac..73157da31d3 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -2528,7 +2528,7 @@ SpellMissInfo Unit::SpellHitResult(Unit *pVictim, SpellEntry const *spell, bool
if (spell->Attributes & SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY)
return SPELL_MISS_NONE;
- // Check for immune (use charges)
+ // Check for immune
if (pVictim->IsImmunedToSpell(spell))
return SPELL_MISS_IMMUNE;
@@ -2538,7 +2538,7 @@ SpellMissInfo Unit::SpellHitResult(Unit *pVictim, SpellEntry const *spell, bool
&&(!IsHostileTo(pVictim))) //prevent from affecting enemy by "positive" spell
return SPELL_MISS_NONE;
- // Check for immune (use charges)
+ // Check for immune
if (pVictim->IsImmunedToDamage(GetSpellSchoolMask(spell)))
return SPELL_MISS_IMMUNE;