mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-16 08:55:33 +00:00
🐛 use 8-bit integer for synced health, damage scaling and display updates
This commit is contained in:
parent
f1df203a76
commit
547c97bfba
10 changed files with 107 additions and 101 deletions
|
|
@ -38,7 +38,7 @@ func _physics_process(delta : float) -> void:
|
|||
if collider is Player:
|
||||
if is_multiplayer_authority():
|
||||
assert(shooter)
|
||||
collider.health_component.damage.rpc(.1, shooter.player_id, shooter.team_id)
|
||||
collider.health_component.damage.rpc(25, shooter.player_id, shooter.team_id)
|
||||
queue_free()
|
||||
|
||||
## This method is a parameterized constructor for the [ChainGunProjectile] scene of the [ChainGun]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue