From 1d57ba2a397e9760045f0d5a1f6264df3d667db8 Mon Sep 17 00:00:00 2001 From: rakuja Date: Tue, 16 Jul 2024 11:06:44 +0200 Subject: [PATCH] chore: modify core level for variant --- src/models/creature/creature_struct.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/creature/creature_struct.rs b/src/models/creature/creature_struct.rs index a1931ac..ef8ba25 100644 --- a/src/models/creature/creature_struct.rs +++ b/src/models/creature/creature_struct.rs @@ -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 {