Skip to main content

Anti Parry

When you melee into an enemy that is parrying, the script turns your aim away so the swing whiffs โ€” this keeps you from getting parry-stunned.


Misc  โ†’  Anti parry

What it doesโ€‹

The script listens for the parry sound (Player.Melee.Parry.Shared) and watches the parry state of nearby enemy heroes. When you press the melee-attack button and a parrying enemy is in range, the script automatically swings your aim away (180ยฐ by default) so the swing misses the target and you avoid the counter-stun.

How a threat is chosen:

  • An enemy counts as parrying if the parry sound recently named that exact enemy, if it currently has the parry state (MODIFIER_STATE_PARRY_ACTIVE), or if a parry sound just played and the enemy is right in your melee path.
  • Only living enemies within Detection range meters are considered.
  • The enemy must fall inside the FOV limit arc relative to your aim direction.
  • Of the eligible enemies, the closest one is picked.

After detecting a parry the script waits Delay (ms) milliseconds, then smoothly turns your aim by Turn angle degrees. The turn speed is set by Smooth (duration = value / 100 seconds): higher values mean a slower, smoother turn. It will not re-trigger a turn against the same enemy more than once per second.

The feature can be toggled quickly with the assigned Toggle key. The script is inactive while the shop is open.


Settingsโ€‹

Menu itemTypeDefaultDescription
StateToggleOffEnables/disables anti parry.
Toggle keyKeyNonePress to toggle anti parry on/off.
Detection rangeSlider3Maximum distance (in meters) to the parrying enemy. Range: 1โ€“10.
FOV limitSlider90Only react to a parry within this arc of your aim. Range: 0โ€“180.
Turn angleSlider180How far to swing your aim away. 180 turns you right around. Range: โˆ’360 to 360.
Delay (ms)Slider0Wait this long after detecting the parry before turning. Range: 0โ€“500.
SmoothSlider4Turn duration โ€” higher is slower and smoother (value / 100 seconds). Range: 4โ€“100.