mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-08 09:27:45 +00:00
Spawn the player with at least SOME health
This commit is contained in:
parent
60e4713b96
commit
181d127fb5
1 changed files with 7 additions and 3 deletions
|
@ -361,9 +361,13 @@ async fn main() {
|
|||
op_code: IPCOpCode::PlayerSpawn,
|
||||
server_id: 0,
|
||||
timestamp: timestamp_secs(),
|
||||
data: IPCStructData::PlayerSpawn(
|
||||
PlayerSpawn::default(),
|
||||
),
|
||||
data: IPCStructData::PlayerSpawn(PlayerSpawn {
|
||||
hp_curr: 100,
|
||||
hp_max: 100,
|
||||
mp_curr: 100,
|
||||
mp_max: 100,
|
||||
..Default::default()
|
||||
}),
|
||||
};
|
||||
|
||||
let response_packet = PacketSegment {
|
||||
|
|
Loading…
Add table
Reference in a new issue