summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-09-04 20:33:45 -0300
committerJesusaves <cpntb1@ymail.com>2023-09-04 20:33:45 -0300
commit45b12ea1cb054850fb2c737a781cc3656c84c62c (patch)
tree6adc8e52d7e5efc5cf8cd8093fc3b8c3249f4fbe /npc/items
parent67e09ced7abb1c4945ccb486f7dc82e76f7ff076 (diff)
downloadserverdata-45b12ea1cb054850fb2c737a781cc3656c84c62c.tar.gz
serverdata-45b12ea1cb054850fb2c737a781cc3656c84c62c.tar.bz2
serverdata-45b12ea1cb054850fb2c737a781cc3656c84c62c.tar.xz
serverdata-45b12ea1cb054850fb2c737a781cc3656c84c62c.zip
Fix crafting % bug
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/books.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/books.txt b/npc/items/books.txt
index b13fde7c2..f8d974583 100644
--- a/npc/items/books.txt
+++ b/npc/items/books.txt
@@ -396,7 +396,7 @@ function myself {
attachrid(.@who);
.@skill = getskilllv(TMW2_CRAFT);
.@score = CRAFTING_SCORE_COMPLETE/40;
- .@milis = (CRAFTING_SCORE_COMPLETE%40)*100; // <- Not *100 as it is Base 40
+ .@milis = (CRAFTING_SCORE_COMPLETE%40)*25/10; // <- or * 2.5 because base
detachrid();
attachrid(.@why);