summaryrefslogtreecommitdiff
path: root/npc/functions/petsales.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/petsales.txt')
-rw-r--r--npc/functions/petsales.txt2
1 files changed, 1 insertions, 1 deletions
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;