* Correctly show 'miss' when a spell is missed instead of resist, by Themris

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-08-23 14:54:36 +02:00
parent 697de02272
commit 07796cb35a
+1 -1
View File
@@ -2810,7 +2810,7 @@ SpellMissInfo Unit::MagicSpellHitResult(Unit *pVictim, SpellEntry const *spell)
uint32 rand = urand(0,10000);
if (rand < tmp)
return SPELL_MISS_RESIST;
return SPELL_MISS_MISS;
// cast by caster in front of victim
if (pVictim->HasInArc(M_PI,this) || pVictim->HasAuraType(SPELL_AURA_IGNORE_HIT_DIRECTION))