From c70b72f876c93ad8d6f5e38ea145dd4889a45448 Mon Sep 17 00:00:00 2001 From: Adonis Stavridis <adonis-ioannis.stavridis@etu.unistra.fr> Date: Thu, 26 Mar 2020 14:16:00 +0100 Subject: [PATCH] #112 longer punch attacks --- server/entities/characters/player.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/entities/characters/player.gd b/server/entities/characters/player.gd index 0396cf6..96bad2f 100644 --- a/server/entities/characters/player.gd +++ b/server/entities/characters/player.gd @@ -62,7 +62,7 @@ var idleTime:float = 0 # Stun when hit + prevent spam # Punch attack parameters onready var punchHitArea:Area = $punchHitArea var punchAttackDmg:float = 5.0 -var punchAttackDist:float = 1 +var punchAttackDist:float = 1.2 var punchAttackWait:float = 0.6 var punch1AttackDuration:float = 0.1 var punch2AttackDuration:float = 0.4 -- GitLab