summaryrefslogtreecommitdiff
path: root/npc/012-5
diff options
context:
space:
mode:
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;