summaryrefslogtreecommitdiff
path: root/npc/craft/smith.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-05 12:35:47 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-05 12:35:47 -0300
commit35d73526d89d5999ec1ac4f0b31796a3ea8ee9da (patch)
tree31f2f89099662bd28655480d623fc385fefa0dd0 /npc/craft/smith.txt
parent3e8011b59d600386320a4ea006a7da8afff16aed (diff)
downloadserverdata-35d73526d89d5999ec1ac4f0b31796a3ea8ee9da.tar.gz
serverdata-35d73526d89d5999ec1ac4f0b31796a3ea8ee9da.tar.bz2
serverdata-35d73526d89d5999ec1ac4f0b31796a3ea8ee9da.tar.xz
serverdata-35d73526d89d5999ec1ac4f0b31796a3ea8ee9da.zip
Crazyfefe fix
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