summaryrefslogtreecommitdiff
path: root/npc/024-16
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-11-18 01:27:29 -0300
committerJesusaves <cpntb1@ymail.com>2020-11-18 01:27:29 -0300
commit68c243351e65fee2605979e895f4780c6fd4158c (patch)
treebfabd3d92e36da7c0093d8cb72b4e5e5dfd9e9a2 /npc/024-16
parentb7d33c8a3d551c3b16f083efca4b0f5982c10cc4 (diff)
downloadserverdata-68c243351e65fee2605979e895f4780c6fd4158c.tar.gz
serverdata-68c243351e65fee2605979e895f4780c6fd4158c.tar.bz2
serverdata-68c243351e65fee2605979e895f4780c6fd4158c.tar.xz
serverdata-68c243351e65fee2605979e895f4780c6fd4158c.zip
EPIC FAIL
Bug reported by Povo
Diffstat (limited to 'npc/024-16')
-rw-r--r--npc/024-16/craftsman.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/024-16/craftsman.txt b/npc/024-16/craftsman.txt
index 00171a42d..e8cceb82c 100644
--- a/npc/024-16/craftsman.txt
+++ b/npc/024-16/craftsman.txt
@@ -23,7 +23,7 @@
mesq l("...Unless, of course, if you're interested in learning this art. You'll not regret it, I assure you.");
next;
// Main Loop
- .@score=CRAFTING_SCORE_COMPLETE%40;
+ .@score=CRAFTING_SCORE_COMPLETE/40;
mesc l("Crafting Skill Level: @@", getskilllv(TMW2_CRAFT));
msObjective(.@score >= calcRequisites(),
l("Completed Crafts: @@/@@", .@score, calcRequisites()) );
@@ -122,7 +122,7 @@ function calcUpgrade {
.@cf=calcRequisites();
if (Zeny < .@gp)
return false;
- if (CRAFTING_SCORE_COMPLETE % 40 < .@cf)
+ if (CRAFTING_SCORE_COMPLETE / 40 < .@cf)
return false;
if (.@cf < 0 || .@gp < 0)
return false;