summaryrefslogtreecommitdiff
path: root/npc/airports
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/airports
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/airports')
-rw-r--r--npc/airports/airships.txt4
-rw-r--r--npc/airports/einbroch.txt2
-rw-r--r--npc/airports/hugel.txt2
-rw-r--r--npc/airports/izlude.txt2
-rw-r--r--npc/airports/lighthalzen.txt2
-rw-r--r--npc/airports/rachel.txt2
-rw-r--r--npc/airports/yuno.txt2
7 files changed, 8 insertions, 8 deletions
diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt
index a4048cd5f..bf2a17acf 100644
--- a/npc/airports/airships.txt
+++ b/npc/airports/airships.txt
@@ -531,7 +531,7 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
close;
}
else {
- Zeny -= .@pay;
+ set Zeny, Zeny - .@pay;
getitem 512,.@input; //Apple
mes "[Fruitz]";
mes "Thanks for stopping by";
@@ -895,7 +895,7 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
close;
}
else {
- Zeny -= .@pay;
+ set Zeny, Zeny - .@pay;
getitem 512,.@input; //Apple
mes "[Meltz]";
mes "Thanks for stopping by";
diff --git a/npc/airports/einbroch.txt b/npc/airports/einbroch.txt
index 774bd14b3..bd6b72fcc 100644
--- a/npc/airports/einbroch.txt
+++ b/npc/airports/einbroch.txt
@@ -31,7 +31,7 @@ airport,143,43,5 script Airport Staff#airport1a::airport1 4_F_01,{
end;
}
if (Zeny >= 1200) {
- Zeny -= 1200;
+ set Zeny, Zeny - 1200;
warp "airport",148,51;
end;
}
diff --git a/npc/airports/hugel.txt b/npc/airports/hugel.txt
index 7d4b3f85a..015bf8efd 100644
--- a/npc/airports/hugel.txt
+++ b/npc/airports/hugel.txt
@@ -21,7 +21,7 @@ OnTouch:
end;
}
if (Zeny >= 1200) {
- Zeny -= 1200;
+ set Zeny, Zeny - 1200;
warp "airplane",244,58;
end;
}
diff --git a/npc/airports/izlude.txt b/npc/airports/izlude.txt
index aaf08b9a7..fe46c1169 100644
--- a/npc/airports/izlude.txt
+++ b/npc/airports/izlude.txt
@@ -30,7 +30,7 @@
end;
}
if (Zeny >= 1200) {
- Zeny -= 1200;
+ set Zeny, Zeny - 1200;
warp "airplane_01",244,58;
end;
}
diff --git a/npc/airports/lighthalzen.txt b/npc/airports/lighthalzen.txt
index de26fb0cc..e2c5f67b4 100644
--- a/npc/airports/lighthalzen.txt
+++ b/npc/airports/lighthalzen.txt
@@ -29,7 +29,7 @@ lhz_airport,143,43,5 script Airport Staff#lhz_air1a::lhz_airport1 4_F_01,{
end;
}
if (Zeny >= 1200) {
- Zeny -= 1200;
+ set Zeny, Zeny - 1200;
warp "lhz_airport",148,51;
end;
}
diff --git a/npc/airports/rachel.txt b/npc/airports/rachel.txt
index 65ea35425..f157f5f6b 100644
--- a/npc/airports/rachel.txt
+++ b/npc/airports/rachel.txt
@@ -21,7 +21,7 @@ OnTouch:
end;
}
if (Zeny >= 1200) {
- Zeny -= 1200;
+ set Zeny, Zeny - 1200;
warp "airplane_01",245,60;
end;
}
diff --git a/npc/airports/yuno.txt b/npc/airports/yuno.txt
index 2146dc671..4e697918b 100644
--- a/npc/airports/yuno.txt
+++ b/npc/airports/yuno.txt
@@ -28,7 +28,7 @@ y_airport,143,43,5 script Airport Staff#y_air1a::y_airport1 4_F_01,{
end;
}
if (Zeny >= 1200) {
- Zeny -= 1200;
+ set Zeny, Zeny - 1200;
warp "y_airport",148,51;
end;
}