From 68c243351e65fee2605979e895f4780c6fd4158c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 18 Nov 2020 01:27:29 -0300 Subject: EPIC FAIL Bug reported by Povo --- npc/024-16/craftsman.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/024-16') 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; -- cgit v1.2.3-60-g2f50