Core/Spells:Ranged spells cant be parried or dodged.
This commit is contained in:
1 parent
4596fc776e
commit
3c2a523980
1 file changed
+3
@@ -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))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user