feat: add Rocket Swarm, Mortar, and BouncingProjectile weapon types

This commit is contained in:
DottsGit
2026-06-04 18:17:34 -04:00
parent e6a2199777
commit 09103ce366
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -68,7 +68,8 @@ func _spawn_custom_projectile(origin: Vector3, fire_dir: Vector3) -> void:
proj.owner_player = player
# Mortar Bouncing logic
proj.fuse_time = 3.0 # Explodes 3 seconds after launch if it bounces
proj.fuse_time = -1.0 # Don't start ticking until it bounces
proj.bounce_fuse_delay = 3.0 # Explodes 3 seconds after first bounce
proj.impact_detonate_time = 2.0 # If flying > 2s, explode on impact instead
proj.bounciness = 0.4 # Heavy, loses momentum on bounce