summaryrefslogtreecommitdiff
path: root/npc/quests/quests_ayothaya.txt
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerHaru <haru@dotalux.com>2013-11-30 21:38:38 +0100
commit94ac9fe3303c4d604485a4784e8f5c99f5457863 (patch)
treee33f4d96453941392a1d9b721d4a179ba8f89941 /npc/quests/quests_ayothaya.txt
parentafb2ed27fcc12f86f2418425dd1e7c9b8234a1f2 (diff)
downloadhercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.gz
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.bz2
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.xz
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.zip
Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179
Cleaned up Zeny manipulation in scripts. - It is now finally safe to re-commit. - Removed some unwanted parts of the original commit, that broke the character set in some scripts. [Haru] - Corrected spacing in some edited lines. [Haru]
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 954c532a1..5a30866f7 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
- set Zeny, Zeny-50;
+ 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) {
- set Zeny, Zeny-11000;
+ 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) {
- set Zeny, Zeny-11000;
+ 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) {
- set Zeny, Zeny-2000;
+ 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) {
- set Zeny, Zeny-2000;
+ Zeny -= 2000;
getitem 7286,30; //Chilli
mes "[Merchant Thongdum]";
mes "Thank you,";