mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-20 23:01:36 -04:00
* Correctly show 'miss' when a spell is missed instead of resist, by Themris
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user