diff options
Diffstat (limited to 'npc/024-16')
-rw-r--r-- | npc/024-16/craftsman.txt | 4 |
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; |