Added basic player health and damage taking timeout

This commit is contained in:
2026-02-20 19:19:17 +01:00
parent 6482dab9b6
commit f2b58d7314
2 changed files with 36 additions and 15 deletions

View File

@@ -59,6 +59,10 @@ one_shot = true
[node name="AttackCooldownTimer" type="Timer" parent="." unique_id=1056439284]
one_shot = true
[node name="InvulnerableCooldownTimer" type="Timer" parent="." unique_id=311411582]
one_shot = true
[connection signal="body_entered" from="AttackArea" to="." method="_on_attack_hit"]
[connection signal="timeout" from="AttackTimer" to="." method="_on_attack_timeout"]
[connection signal="timeout" from="AttackCooldownTimer" to="." method="_on_cooldown_timeout"]
[connection signal="timeout" from="AttackCooldownTimer" to="." method="_on_attack_cooldown_timeout"]
[connection signal="timeout" from="InvulnerableCooldownTimer" to="." method="_on_invulnerable_cooldown_timeout"]