summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-27 09:31:40 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-27 09:31:40 -0300
commitdbcd36c52512219cf37452d9e9f0f7294c198ef7 (patch)
tree1119545a12ac4a1ba3297111a220dccbf7c84e0e
parent4b3d0ff9eca014a4eb850d55418ca4f7c3001ab4 (diff)
downloadserverdata-dbcd36c52512219cf37452d9e9f0f7294c198ef7.tar.gz
serverdata-dbcd36c52512219cf37452d9e9f0f7294c198ef7.tar.bz2
serverdata-dbcd36c52512219cf37452d9e9f0f7294c198ef7.tar.xz
serverdata-dbcd36c52512219cf37452d9e9f0f7294c198ef7.zip
Add EVTC overrides to Cindy Battle.
This includes an infinite run, and a way to start the battle w/o paying.
-rw-r--r--npc/031-4/cindyCave.txt22
1 files changed, 19 insertions, 3 deletions
diff --git a/npc/031-4/cindyCave.txt b/npc/031-4/cindyCave.txt
index c3db9b5d..0dd5ec6c 100644
--- a/npc/031-4/cindyCave.txt
+++ b/npc/031-4/cindyCave.txt
@@ -3,6 +3,19 @@
.@q = getq(KaizeiQuest_Cindy);
if ($@FIGHT_YETI_STATUS != 0) goto L_Yeti;
+ if (is_evtc()) {
+ mesc l("You are an Event Coordinator. Do you wish to...");
+ select
+ l("Continue normally"),
+ l("Initialize the fight"),
+ l("Make an infinite Cindy run");
+ mes "";
+ if (@menu == 3)
+ $@YETI_FOREVER = true;
+ if (@menu >= 2)
+ goto L_Skip_Cage;
+ }
+
if (.@q > 4) goto L_Please_Visit;
if (.@q == 3) goto L_Reward;
if (.@q == 2) goto L_Please_Help;
@@ -40,6 +53,7 @@ L_Try_Cage:
mes "As you try to open the door of the cage, there is a loud squeaking noise.";
next;
mes "You get an uncomfortable feeling and Cindy starts to shiver.";
+L_Skip_Cage:
if ($@FIGHT_YETI_STATUS != 0)
goto L_Yeti;
npctalk "Oh no, the Yetis...";
@@ -150,15 +164,16 @@ L_NextWave:
$@FIGHT_YETI_ROUND_TIMER = 0;
$@FIGHT_YETI_WAVE = $@FIGHT_YETI_WAVE + 1;
if ($@FIGHT_YETI_WAVE > 10
- && $@YETI_COUNT == 0)
+ && $@YETI_COUNT == 0 &&
+ !$@YETI_FOREVER)
goto L_CleanUp;
if ($@FIGHT_YETI_WAVE > 10
&& $@FIGHT_YETI_WAVE < 22)
goto L_Return_1;
- if ($@FIGHT_YETI_WAVE > 22)
+ if ($@FIGHT_YETI_WAVE > 22 && !$@YETI_FOREVER) {
areamonster "031-4", 0, 0, 95, 91, "Yeti", Yeti, $@FIGHT_YETI_WAVE*2 + $@FIGHT_YETI_PLAYER_COUNT*5, "Cindy::OnPetDeath";
- if ($@FIGHT_YETI_WAVE > 22)
$@YETI_COUNT = $@YETI_COUNT + $@FIGHT_YETI_WAVE*2 + $@FIGHT_YETI_PLAYER_COUNT*5;
+ }
$@FIGHT_YETI_NUMBER = (5 + (1 * $@FIGHT_YETI_WAVE) + (2 * $@FIGHT_YETI_PLAYER_COUNT))/4;
$@YETI_COUNT = $@YETI_COUNT + $@FIGHT_YETI_NUMBER;
@@ -190,6 +205,7 @@ L_CleanUp:
$@YETI_COUNT = 0;
$@FIGHT_YETI_ROUND_PEN = 0;
$@FIGHT_YETI_NUMBER = 0;
+ $@YETI_FOREVER = false;
killmonster "031-4", "Cindy::OnPetDeath";
stopnpctimer;
setnpctimer 0;