summaryrefslogtreecommitdiff
path: root/npc/quests/quests_ayothaya.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-28 00:42:20 +0100
committerHaru <haru@dotalux.com>2013-11-28 00:43:49 +0100
commit4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 (patch)
treee2dd2640adb13411dee1982e3a7d13c12d4e04b3 /npc/quests/quests_ayothaya.txt
parentc069e2e9b89f712c6ad6ebba983460408f6da198 (diff)
downloadhercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.gz
hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.bz2
hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.xz
hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.zip
Revert "Cleaned up Zeny manipulation in scripts."
Reverted due to a serious regression. I'll commit this again once I fixed the issue in the script engine. Sorry for the inconvenience. This reverts commit 4faa0ec9df7067cee3eb1c1953fccc6c2f842179. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/quests_ayothaya.txt')
-rw-r--r--npc/quests/quests_ayothaya.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/quests/quests_ayothaya.txt b/npc/quests/quests_ayothaya.txt
index 39b5f0bbb..954c532a1 100644
--- a/npc/quests/quests_ayothaya.txt
+++ b/npc/quests/quests_ayothaya.txt
@@ -862,7 +862,7 @@ ayothaya,253,99,3 script Fisherman 4_M_THAIONGBAK,{
mes "^3355FFYou've hooked a Phen!^000000";
next;
delitem 528,1; //Monster's_Feed
- Zeny -=50;
+ set Zeny, Zeny-50;
set .@randfish,rand(1,100);
if (.@randfish > 0 && .@randfish < 40) {
mes "^3355FFWhile cooking the Phen, you";
@@ -2546,7 +2546,7 @@ ayothaya,153,86,5 script Thongpool#ayo 4_M_THAIONGBAK,{
if (select("I will take them.:I could get 100 Jellopies for that much!") == 1) {
if (Zeny > 10999) {
if (MaxWeight - Weight > 3999) {
- Zeny -=11000;
+ set Zeny, Zeny-11000;
set tomyumgoong,3;
getitem 567,20; //Prawn
emotion e_no1;
@@ -2590,7 +2590,7 @@ ayothaya,153,86,5 script Thongpool#ayo 4_M_THAIONGBAK,{
if (select("Yes!:No, thanks.") == 1) {
if (Zeny > 10999) {
if (MaxWeight - Weight > 3999) {
- Zeny -=11000;
+ set Zeny, Zeny-11000;
getitem 567,20; //Prawn
mes "[Thongpool]";
mes "There you go~";
@@ -2941,7 +2941,7 @@ ayothaya,213,94,7 script Merchant#ayo 4_M_THAIAYO,{
emotion e_thx;
if (Zeny > 1999) {
if (MaxWeight - Weight > 1199) {
- Zeny -=2000;
+ set Zeny, Zeny-2000;
set tomyumgoong,7;
getitem 7286,30; //Chilli
mes "[Merchant Thongdum]";
@@ -2997,7 +2997,7 @@ ayothaya,213,94,7 script Merchant#ayo 4_M_THAIAYO,{
}
if (Zeny > 1999) {
if (MaxWeight - Weight > 1199) {
- Zeny -=2000;
+ set Zeny, Zeny-2000;
getitem 7286,30; //Chilli
mes "[Merchant Thongdum]";
mes "Thank you,";