From 07796cb35ab770ea8d69b2c00cc6e77813b7966a Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Sun, 23 Aug 2009 14:54:36 +0200 Subject: * Correctly show 'miss' when a spell is missed instead of resist, by Themris --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 58e4037b5c0..571ff140e37 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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)) -- cgit v1.2.3