From 32ce252ddab84f3204b2ec74b6a3f0f9f3e13823 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 14 Dec 2018 15:46:08 -0200 Subject: Pet Sales - Price Refactored --- npc/functions/petsales.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/petsales.txt') diff --git a/npc/functions/petsales.txt b/npc/functions/petsales.txt index e1bf41d08..c23712be4 100644 --- a/npc/functions/petsales.txt +++ b/npc/functions/petsales.txt @@ -11,7 +11,7 @@ function script PDQ_InnerSwitch { .@iid=getarg(1); .@val=getarg(2, 30); - .@price=.@val**(PETMEMO[GHQ_GetQuestIDByMonsterID(.@mid)]+1); + .@price=.@val*(PETMEMO[GHQ_GetQuestIDByMonsterID(.@mid)]+1)+PETMEMO[GHQ_GetQuestIDByMonsterID(.@mid)]; mesn; mesq l("That'll cost you @@/@@ @@.", countitem(.@iid), .@price, getitemlink(.@iid)); next; -- cgit v1.2.3-60-g2f50