summaryrefslogtreecommitdiff
path: root/npc/kafras/cool_event_corp.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/cool_event_corp.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/cool_event_corp.txt')
-rw-r--r--npc/kafras/cool_event_corp.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/kafras/cool_event_corp.txt b/npc/kafras/cool_event_corp.txt
index 4f0f88329..e06f0dedc 100644
--- a/npc/kafras/cool_event_corp.txt
+++ b/npc/kafras/cool_event_corp.txt
@@ -56,7 +56,7 @@ hugel,88,168,4 script Cool Event Corp. Staff::CoolEventCorpStaffHugel 4_M_ZONDAM
close2;
break;
}
- Zeny -= 40;
+ set Zeny, Zeny - 40;
mes "Let me open your personal";
mes "storage for you right away.";
mes "Thanks for supporting Cool";
@@ -110,7 +110,7 @@ hugel,88,168,4 script Cool Event Corp. Staff::CoolEventCorpStaffHugel 4_M_ZONDAM
mes "Zeny to pay the Pushcart";
mes "rental fee of 800 Zeny.";
} else {
- Zeny -= 800;
+ set Zeny, Zeny - 800;
setcart;
}
}
@@ -172,7 +172,7 @@ rachel,109,138,5 script Cool Event Corp. Staff::CoolEventCorpStaffRachel 4_M_ZON
close2;
break;
}
- Zeny -= 40;
+ set Zeny, Zeny - 40;
mes "Let me open your personal";
mes "storage for you right away.";
mes "Thanks for supporting Cool";
@@ -192,7 +192,7 @@ rachel,109,138,5 script Cool Event Corp. Staff::CoolEventCorpStaffRachel 4_M_ZON
delitem 7060,1;
}
else {
- Zeny -=2200;
+ set Zeny,Zeny-2200;
}
warp "veins",205,101;
cutin "",255;
@@ -252,7 +252,7 @@ rachel,109,138,5 script Cool Event Corp. Staff::CoolEventCorpStaffRachel 4_M_ZON
mes "Zeny to pay the Pushcart";
mes "rental fee of 800 Zeny.";
} else {
- Zeny -= 800;
+ set Zeny, Zeny - 800;
setcart;
}
}
@@ -314,7 +314,7 @@ veins,208,128,5 script Cool Event Corp. Staff::CoolEventCorpStaffVeins 4_M_ZONDA
close2;
break;
}
- Zeny -= 40;
+ set Zeny, Zeny - 40;
mes "Let me open your personal";
mes "storage for you right away.";
mes "Thanks for supporting Cool";
@@ -334,7 +334,7 @@ veins,208,128,5 script Cool Event Corp. Staff::CoolEventCorpStaffVeins 4_M_ZONDA
delitem 7060,1;
}
else {
- Zeny -=2200;
+ set Zeny,Zeny-2200;
}
warp "rachel",115,125;
cutin "",255;
@@ -395,7 +395,7 @@ veins,208,128,5 script Cool Event Corp. Staff::CoolEventCorpStaffVeins 4_M_ZONDA
mes "rental fee of 800 Zeny.";
close2;
} else {
- Zeny -= 800;
+ set Zeny, Zeny - 800;
setcart;
}
}