diff --git a/src/items/functions/item/item_parse.cpp b/src/items/functions/item/item_parse.cpp index e4195c0aefb..ddee535d979 100644 --- a/src/items/functions/item/item_parse.cpp +++ b/src/items/functions/item/item_parse.cpp @@ -1165,6 +1165,7 @@ void ItemParse::createAndRegisterScript(ItemType &itemType, pugi::xml_node attri } else { g_logger().warn("[{}] - wandtype '{}' does not exist", __FUNCTION__, elementName); } + } else if (stringKey == "chain" && weapon) { if (auto value = subValueAttribute.as_double()) { weapon->setChainSkillValue(value); @@ -1182,6 +1183,7 @@ void ItemParse::createAndRegisterScript(ItemType &itemType, pugi::xml_node attri g_logger().trace("Added weapon damage from '{}', to '{}'", fromDamage, toDamage); weaponWand->setMinChange(fromDamage); weaponWand->setMaxChange(toDamage); + weaponWand->configureWeapon(itemType); } auto combat = weapon->getCombat();