summaryrefslogtreecommitdiff
path: root/npc/kafras/dts_warper.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/kafras/dts_warper.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/kafras/dts_warper.txt')
-rw-r--r--npc/kafras/dts_warper.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/npc/kafras/dts_warper.txt b/npc/kafras/dts_warper.txt
index 1547d4b0f..3a76e8259 100644
--- a/npc/kafras/dts_warper.txt
+++ b/npc/kafras/dts_warper.txt
@@ -534,7 +534,7 @@ function script F_VoteKafra {
case 1:
if (Zeny >= 4000) {
cutin "",255;
- Zeny -=4000;
+ set Zeny, Zeny-4000;
warp "xmas_dun02",130,123;
end;
}
@@ -558,7 +558,7 @@ function script F_VoteKafra {
switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "kafra_09",255;
warp "xmas_dun02",130,123;
end;
@@ -574,7 +574,7 @@ function script F_VoteKafra {
break;
case 2:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "kafra_09",255;
warp "alde_dun03",265,22;
end;
@@ -599,7 +599,7 @@ function script F_VoteKafra {
switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Lava Dungeon, Level 2 -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "kafra_09",255;
warp "xmas_dun02",130,123;
end;
@@ -615,7 +615,7 @@ function script F_VoteKafra {
break;
case 2:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "kafra_09",255;
warp "alde_dun03",265,22;
end;
@@ -631,7 +631,7 @@ function script F_VoteKafra {
break;
case 3:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "kafra_09",255;
warp "mag_dun02",47,40;
end;
@@ -933,7 +933,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "zonda_01",255;
warp "iz_dun02",234,206;
end;
@@ -961,7 +961,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "zonda_01",255;
warp "iz_dun02",234,206;
end;
@@ -976,7 +976,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
break;
case 2:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "zonda_01",255;
warp "c_tower3",64,143;
end;
@@ -1011,7 +1011,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Glast Heim Entrance -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "zonda_01",255;
warp "iz_dun02",234,206;
end;
@@ -1026,7 +1026,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
break;
case 2:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "zonda_01",255;
warp "c_tower3",64,143;
end;
@@ -1041,7 +1041,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
break;
case 3:
if (Zeny >= 4000) {
- Zeny -=4000;
+ set Zeny, Zeny-4000;
cutin "zonda_01",255;
warp "glast_01",368,303;
end;