summaryrefslogtreecommitdiff
path: root/npc/functions/crafting.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/crafting.txt')
-rw-r--r--npc/functions/crafting.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/functions/crafting.txt b/npc/functions/crafting.txt
index 05a9d9a6..fa5fa84e 100644
--- a/npc/functions/crafting.txt
+++ b/npc/functions/crafting.txt
@@ -1,6 +1,7 @@
// Moubootaur Legends Script
// Author:
// Jesusalva
+// Gumi
// Description:
// Smith System (Unified)
// Notes:
@@ -80,7 +81,8 @@ function script SmithSystem {
// I'm using the same EXP formula from Moubootaur Legends
// Which is based on the item sell price
.@xp=getiteminfo(.@it, ITEMINFO_SELLPRICE);
- getexp .@xp+BaseLevel, (.@xp/3)+BaseLevel+JobLevel;
+ quest_xp(.@lv+10, .@xp+BaseLevel);
+ quest_jxp(.@lv+10, (.@xp/3)+BaseLevel+JobLevel);
.success=true;
} else {
.success=false;