From 767f9e05ad66e0aede68476ccc74d9412cface3b Mon Sep 17 00:00:00 2001 From: painer15999 <50599143+painer15999@users.noreply.github.com> Date: Wed, 16 Feb 2022 12:57:18 -0300 Subject: [PATCH] Fix lion shield on unscripted equipments table (#435) * add lion-shield unscripted_weapons. * converti id and Register the lion shield unscripted weapons table * Fix lion shield on unscripted equipments Co-authored-by: Majesty <32709570+MajestyOTBR@users.noreply.github.com> --- .../equipment/unscripted_equipments.lua | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/data/scripts/movements/equipment/unscripted_equipments.lua b/data/scripts/movements/equipment/unscripted_equipments.lua index 8252560ec..aa5da9e42 100644 --- a/data/scripts/movements/equipment/unscripted_equipments.lua +++ b/data/scripts/movements/equipment/unscripted_equipments.lua @@ -805,6 +805,23 @@ local items = { type = "deequip", slot = "hand" }, + { + -- lion shield + itemid = 34154, + type = "equip", + slot = "hand", + level = 250, + vocation = { + {"Knight", true}, + {"Elite Knight"} + } + }, + { + -- lion shield + itemid = 34154, + type = "deequip", + slot = "hand" + }, { -- lion spellbook itemid = 34153, @@ -874,17 +891,7 @@ local items = { itemid = 34150, type = "deequip", slot = "hand" - }, -- lion shield - { - itemid = 38989, - type = "equip", - slot = "shield", - level = 250, - vocation = { - {"Knight", true}, - {"Elite Knight"} - } - }, -- lion shield + }, { -- soulbastion shield itemid = 34099,