mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-08 17:37:46 +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,
|
op_code: IPCOpCode::PlayerSpawn,
|
||||||
server_id: 0,
|
server_id: 0,
|
||||||
timestamp: timestamp_secs(),
|
timestamp: timestamp_secs(),
|
||||||
data: IPCStructData::PlayerSpawn(
|
data: IPCStructData::PlayerSpawn(PlayerSpawn {
|
||||||
PlayerSpawn::default(),
|
hp_curr: 100,
|
||||||
),
|
hp_max: 100,
|
||||||
|
mp_curr: 100,
|
||||||
|
mp_max: 100,
|
||||||
|
..Default::default()
|
||||||
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
let response_packet = PacketSegment {
|
let response_packet = PacketSegment {
|
||||||
|
|
Loading…
Add table
Reference in a new issue