meseta!
This commit is contained in:
parent
c3f474e34d
commit
1f775661fa
@ -199,6 +199,8 @@ fn new_character<EG: EntityGateway>(entity_gateway: &mut EG, user: &UserAccountE
|
||||
_ => {}
|
||||
}
|
||||
|
||||
character.meseta = 300;
|
||||
|
||||
let character = entity_gateway.create_character(character).unwrap();
|
||||
|
||||
let new_weapon = match character.char_class {
|
||||
|
@ -69,6 +69,7 @@ impl<'a> CharacterBytesBuilder<'a> {
|
||||
prop_y: character.appearance.prop_y,
|
||||
config: character.config.as_bytes(),
|
||||
techniques: character.techs.as_bytes(),
|
||||
meseta: character.meseta,
|
||||
..character::Character::default()
|
||||
}
|
||||
}
|
||||
|
@ -310,6 +310,7 @@ impl ItemManager {
|
||||
},
|
||||
FloorItemType::Meseta(meseta) => {
|
||||
client.character.meseta += meseta.0;
|
||||
entity_gateway.save_character(&client.character);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user