printing is for turbo nerds
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
andy 2022-05-17 21:09:54 +00:00
parent f6cc869cdc
commit 7c3ff1bea1
2 changed files with 0 additions and 4 deletions

View File

@ -485,7 +485,6 @@ where
remaining_exp);
monster.steal_exp(exp_earned, area_client.local_client.id() as usize);
println!("monster info: {:?}", monster);
let clients_in_area = client_location.get_clients_in_room(room_id).map_err(|err| -> ClientLocationError { err.into() })?;
let gain_exp_pkt = builder::message::character_gained_exp(area_client, exp_earned);

View File

@ -441,7 +441,6 @@ async fn test_exp_steal_android_boost_in_ultimate() {
let c1 = ship.clients.get(&ClientId(1)).unwrap();
let c2 = ship.clients.get(&ClientId(2)).unwrap();
println!("c1 exp: {:?}, c2 exp: {:?}", c1.character.exp, c2.character.exp);
assert!(c1.character.exp == 80000080);
assert!(c2.character.exp == 80000032);
}
@ -556,7 +555,6 @@ async fn test_exp_steal_no_android_boost_in_vhard() {
let c1 = ship.clients.get(&ClientId(1)).unwrap();
let c2 = ship.clients.get(&ClientId(2)).unwrap();
println!("c1 exp: {:?}, c2 exp: {:?}", c1.character.exp, c2.character.exp);
assert!(c1.character.exp == 80000010);
assert!(c2.character.exp == 80000010);
}
@ -909,7 +907,6 @@ async fn test_each_client_can_steal_full_exp_from_same_enemy() {
let c1 = ship.clients.get(&ClientId(1)).unwrap();
let c2 = ship.clients.get(&ClientId(2)).unwrap();
println!("c1 exp: {:?}, c2 exp: {:?}", c1.character.exp, c2.character.exp);
assert!(c1.character.exp == 5);
assert!(c2.character.exp == 5);