From 265c8fcf8f2a7dc3d12ab253dfc0408e7e44bbf2 Mon Sep 17 00:00:00 2001 From: Local Atticus Date: Tue, 26 Apr 2022 20:45:37 -0400 Subject: [PATCH] Add nears --- scripts/gameplay.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/gameplay.lua b/scripts/gameplay.lua index 96b8105..ab78608 100644 --- a/scripts/gameplay.lua +++ b/scripts/gameplay.lua @@ -107,7 +107,11 @@ end function button_hit(button, rating, delta) if (showHitAnims) then - HitFX.TriggerAnimation("Crit", button + 1) + if (rating == 1) then + HitFX.TriggerAnimation("Near", button + 1) + else + HitFX.TriggerAnimation("Crit", button + 1) + end end end