Reworked weapons and projectiles

This commit is contained in:
2025-12-20 18:35:27 +03:00
parent 2ecc53416a
commit 8227e8bcf3
312 changed files with 2466 additions and 1376 deletions
@@ -0,0 +1,12 @@
class_name AbstractRailgunProjectile
extends AbstractDirectHitProjectile
@export_range(1, 10) var piercing: int = 1
func _process_hit_for_projectile(_collided_body: Node2D) -> void:
if piercing == 0:
queue_free()
else:
piercing -= 1