From 2ca1875767b0510ba7b5d26ec799a5c8a1fc561d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 29 Jul 2018 18:50:17 -0300 Subject: Gain experience when crafting with Nicholas. --- npc/012-5/nicholas.txt | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3-70-g09d2