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