aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-10-07 17:52:14 -0700
committerSubv <s.v.h21@hotmail.com>2012-10-07 17:52:14 -0700
commit00373eee907e2284346c5dabd89b46a8c1720728 (patch)
tree00442e8135719ceb76722a2911c050c1f9f5f809 /src
parent0f166336caaf33eb01cffe19d5bb49f729d8d22d (diff)
parent3c2a5239805f37d2167377fa9c06e369b624c53b (diff)
Merge pull request #8015 from Retriman/masspellsTIII
Core/Spells:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Entities/Unit/Unit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index 7c59c8421ed..76b9649f002 100755
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -2302,6 +2302,9 @@ SpellMissInfo Unit::MeleeSpellHitResult(Unit* victim, SpellInfo const* spell)
// Ranged attacks can only miss, resist and deflect
if (attType == RANGED_ATTACK)
{
+ canParry = false;
+ canDodge = false;
+
// only if in front
if (victim->HasInArc(M_PI, this) || victim->HasAuraType(SPELL_AURA_IGNORE_HIT_DIRECTION))
{