diff options
| author | Subv <s.v.h21@hotmail.com> | 2012-10-07 17:52:14 -0700 |
|---|---|---|
| committer | Subv <s.v.h21@hotmail.com> | 2012-10-07 17:52:14 -0700 |
| commit | 00373eee907e2284346c5dabd89b46a8c1720728 (patch) | |
| tree | 00442e8135719ceb76722a2911c050c1f9f5f809 /src | |
| parent | 0f166336caaf33eb01cffe19d5bb49f729d8d22d (diff) | |
| parent | 3c2a5239805f37d2167377fa9c06e369b624c53b (diff) | |
Merge pull request #8015 from Retriman/masspellsTIII
Core/Spells:
Diffstat (limited to 'src')
| -rwxr-xr-x | src/server/game/Entities/Unit/Unit.cpp | 3 |
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)) { |
