|
|
@ -142,6 +142,16 @@ impl<EG: EntityGateway> ShipServerState<EG> { |
|
|
|
|
|
|
|
let mut fc = character::FullCharacter::default();
|
|
|
|
fc.character = client.character.character;
|
|
|
|
let stats = self.level_table.get_stats_from_exp(character::Class::from(fc.character.ch_class), fc.character.exp);
|
|
|
|
fc.character.hp = stats.1.hp;
|
|
|
|
fc.character.atp = stats.1.atp;
|
|
|
|
fc.character.mst = stats.1.mst;
|
|
|
|
fc.character.evp = stats.1.evp;
|
|
|
|
fc.character.dfp = stats.1.dfp;
|
|
|
|
fc.character.ata = stats.1.ata;
|
|
|
|
fc.character.lck = stats.1.lck;
|
|
|
|
fc.character.level = stats.0 - 1;
|
|
|
|
|
|
|
|
fc.key_team_config.key_config = client.settings.settings.key_config;
|
|
|
|
fc.key_team_config.joystick_config = client.settings.settings.joystick_config;
|
|
|
|
|
|
|
|