diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-14 15:46:08 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-14 15:46:08 -0200 |
commit | 32ce252ddab84f3204b2ec74b6a3f0f9f3e13823 (patch) | |
tree | 4a613ae93f92fdca7610a9e9dd3c624718bec835 | |
parent | 63661e9fa0113e50b07a7fc81e0c13b46f708e1c (diff) | |
download | serverdata-32ce252ddab84f3204b2ec74b6a3f0f9f3e13823.tar.gz serverdata-32ce252ddab84f3204b2ec74b6a3f0f9f3e13823.tar.bz2 serverdata-32ce252ddab84f3204b2ec74b6a3f0f9f3e13823.tar.xz serverdata-32ce252ddab84f3204b2ec74b6a3f0f9f3e13823.zip |
Pet Sales - Price Refactored
-rw-r--r-- | npc/functions/petsales.txt | 2 |
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; |