summaryrefslogtreecommitdiff
path: root/npc/craft/smith.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/craft/smith.txt')
-rw-r--r--npc/craft/smith.txt6
1 files changed, 6 insertions, 0 deletions
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