summaryrefslogtreecommitdiff
path: root/npc/012-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-29 18:50:17 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-29 18:50:17 -0300
commit2ca1875767b0510ba7b5d26ec799a5c8a1fc561d (patch)
treef53c1fbe72b24d9d7c4dc5a35b5500850b171c3d /npc/012-5
parent71a12544aa2d43648021911a0f6011664966ab12 (diff)
downloadserverdata-2ca1875767b0510ba7b5d26ec799a5c8a1fc561d.tar.gz
serverdata-2ca1875767b0510ba7b5d26ec799a5c8a1fc561d.tar.bz2
serverdata-2ca1875767b0510ba7b5d26ec799a5c8a1fc561d.tar.xz
serverdata-2ca1875767b0510ba7b5d26ec799a5c8a1fc561d.zip
Gain experience when crafting with Nicholas.
Diffstat (limited to 'npc/012-5')
-rw-r--r--npc/012-5/nicholas.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt
index 280001085..bf93b9e58 100644
--- a/npc/012-5/nicholas.txt
+++ b/npc/012-5/nicholas.txt
@@ -58,6 +58,8 @@
delitem .@base2, .@amon2;
Zeny = Zeny - .@price;
getitem .@prize, 1;
+ .@xp=getiteminfo(.@base1, ITEMINFO_SELLPRICE)*.@amon1+getiteminfo(.@base2, ITEMINFO_SELLPRICE)*.@amon2;
+ getexp .@xp, rand(1,10);
mes "";
mesn;