summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-25 00:12:19 -0300
committerJesusaves <cpntb1@ymail.com>2018-10-25 00:12:19 -0300
commit6f6726e24ed7309859a3068dcb1565bd57fa4300 (patch)
tree76169cad68a712d13256297b35ce418cc808b5e7
parentb799abd9159df670206a6a4f811f692323ca2f24 (diff)
downloadserverdata-6f6726e24ed7309859a3068dcb1565bd57fa4300.tar.gz
serverdata-6f6726e24ed7309859a3068dcb1565bd57fa4300.tar.bz2
serverdata-6f6726e24ed7309859a3068dcb1565bd57fa4300.tar.xz
serverdata-6f6726e24ed7309859a3068dcb1565bd57fa4300.zip
Playtest purpose
-rw-r--r--npc/021-4/main.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/npc/021-4/main.txt b/npc/021-4/main.txt
index 2a645ac4a..baa2e43d7 100644
--- a/npc/021-4/main.txt
+++ b/npc/021-4/main.txt
@@ -95,6 +95,15 @@ L_Begin:
OnPetDeath:
end;
+OnReward:
+ if (ispcdead()) {
+ recovery();
+ warp "Save", 0, 0;
+ end;
+ }
+ getexp 10000, 0;
+ end;
+
L_CleanUp:
.lifetime=0;
$@CINDY_HERO="";
@@ -106,6 +115,16 @@ L_CleanUp:
setnpcdisplay .name$, NPC_CINDY_CAGE;
end;
+OnTimer1000:
+ .@y=mobcount("021-4", "Cindy#Outside::OnPetDeath");
+ .@v=CindySwitch_Check_214();
+ if (.@y == 0 && .@v >= 5) {
+ mapannounce "021-4", "You won.",0;
+ areatimer "021-4", 20, 20, 100, 80, 10, "Cindy#Outside::OnReward";
+ goto L_CleanUp;
+ }
+ end;
+
OnInit:
.distance=5;
.lifetime=0; // Controls Yeti Wave