From 35d73526d89d5999ec1ac4f0b31796a3ea8ee9da Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 5 Sep 2019 12:35:47 -0300 Subject: Crazyfefe fix --- npc/craft/smith.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'npc/craft/smith.txt') diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt index 9d0739926..8cb76f568 100644 --- a/npc/craft/smith.txt +++ b/npc/craft/smith.txt @@ -46,6 +46,12 @@ function script SmithSystem { usecraft .@craft; .@it=getcraftcode(.@entry); + // Hotfix + if (CRAFTING_SCORE && !CRAFTING_SCORE_COMPLETE) { + CRAFTING_SCORE_COMPLETE=CRAFTING_SCORE*39; + Exception("Your char is corrupted, updater failed!"); + } + // Mark the crafting in your score variable CRAFTING_SCORE_COMPLETE+=getiteminfo(.@it, ITEMINFO_ELV); // Update your score book -- cgit v1.2.3-60-g2f50