Skip to content

Commit

Permalink
chore: modify core level for variant
Browse files Browse the repository at this point in the history
  • Loading branch information
RakuJa committed Jul 16, 2024
1 parent 8bc156f commit 1d57ba2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models/creature/creature_struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ impl Creature {
creature_variant.get_variant_archive_link(core.derived.archive_link.clone());
let variant_level = creature_variant.get_variant_level(core.essential.level);
core.essential.hp = variant_hp;
core.essential.level = variant_level;
Self {
core_data: core,
variant_data: CreatureVariantData {
Expand Down

0 comments on commit 1d57ba2

Please sign in to comment.