diff options
author | megamage <none@none> | 2009-05-05 13:29:57 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-05 13:29:57 -0500 |
commit | 821d3cb7f2bfa5250d96256e655427042dd355d3 (patch) | |
tree | 6e577813c43659d5a5513dea80fcc7b1771b3835 | |
parent | 33c352b4ab9c66ce57e988075a69cc2293d81ce4 (diff) |
*Fix the bug that paladin gets too many miss.
--HG--
branch : trunk
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index db01234757b..093ef51925c 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -2687,7 +2687,7 @@ SpellMissInfo Unit::MeleeSpellHitResult(Unit *pVictim, SpellEntry const *spell) { WeaponAttackType attType = BASE_ATTACK; - if (spell->DmgClass == SPELL_DAMAGE_CLASS_RANGED) + if (spell->DmgClass == SPELL_DAMAGE_CLASS_RANGED && spell->Attributes & SPELL_ATTR_RANGED) attType = RANGED_ATTACK; // bonus from skills is 0.04% per skill Diff |