Scale player health by 25 instead of 100 past 4 players.

This commit is contained in:
IQuant 2024-07-18 16:39:03 +03:00
parent a580c7045d
commit f1d38d56af
3 changed files with 6 additions and 3 deletions

View file

@ -3,7 +3,7 @@
- `ctx.hook.on_world_update()`
- `ctx.hook.on_world_update_client()`
- `ctx.hook.on_world_update_host()`
- `ctx.hook.on_new_player_seen(new_playerdata)` - called the first time player with this peer_id has entered the world
- `ctx.hook.on_new_player_seen(new_playerdata, player_count)` - called the first time player with this peer_id has entered the world
- `ctx.hook.on_local_player_spawn(my_player)`
- `ctx.hook.on_client_spawned(peer_id, new_playerdata)`
- `ctx.hook.on_should_send_updates()` - called either when we connect, or somebody else connects (and sends "welcome" message)