HitFlick

[X] Definitive
HitFlick / KnockbackDisplace — flicks attacker yaw OFF the victim hitbox at the attack tick (Vape 90/180/270deg; Slinky configurable) to redirect KB sideways, then snaps back. Vanilla never looks away at the hit instant then returns.
id: hitFlick  ·  class: HitFlickCheck  ·  group: Combat

What it detects

HitFlick / KnockbackDisplace — flicks attacker yaw OFF the victim hitbox at the attack tick (Vape 90/180/270deg; Slinky configurable) to redirect KB sideways, then snaps back. Vanilla never looks away at the hit instant then returns.

Observer signature

On AttackEvent computes the minimum inside-error of attacker yaw vs the victim hitbox; if > threshold (30deg) records flickTick + victim. Over the next 2 ticks flags at level 1.0 if yaw returns inside the victim hitbox span (minInsideError <= 5.0deg).

False-positive guards

  • Attacker-in-vehicle exempt (vehicle rotations unreliable)
  • Fail-open throughout
  • Only flags the flick-and-return signature (off-then-back), not a sustained turn

Configuration

Defaults (editable in-game via the YACL config screen or /ius config):

FieldDefault
enabledtrue
setbackVL5.0
decay0.5
threshold30.0
flick-off angle30deg
return ticks2
return deviation5.0deg

Source

src/main/kotlin/dev/iustitia/checks/combat/HitFlickCheck.kt  ↗