mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-03-25 19:40:27 +00:00
tweak
This commit is contained in:
parent
2bcc0292de
commit
2b9bcd4fbb
|
@ -132,8 +132,7 @@ impl Inventory {
|
|||
weapon.experience = lvl_table[2];
|
||||
result = AddExperienceResult::AddStar;
|
||||
}
|
||||
} else {
|
||||
if weapon.experience > lvl_table[curr_level_idx] {
|
||||
} else if weapon.experience > lvl_table[curr_level_idx] {
|
||||
weapon.level = weapon.level.next();
|
||||
weapon.experience = 0;
|
||||
|
||||
|
@ -142,7 +141,6 @@ impl Inventory {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
result
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue