summaryrefslogtreecommitdiff
path: root/npc/021-4/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-01 18:05:39 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-01 18:05:39 -0300
commit82d862ee85bbacf76118b59bf707ab037771144b (patch)
treeff5c6a4c533e5af6ca2d283ec7aab3e75060ae80 /npc/021-4/main.txt
parent9a7eed8dfd8a79e8e4584943e636e1fe9b9337f9 (diff)
downloadserverdata-82d862ee85bbacf76118b59bf707ab037771144b.tar.gz
serverdata-82d862ee85bbacf76118b59bf707ab037771144b.tar.bz2
serverdata-82d862ee85bbacf76118b59bf707ab037771144b.tar.xz
serverdata-82d862ee85bbacf76118b59bf707ab037771144b.zip
Eternal Swamps main logic etc. + rebalance
Diffstat (limited to 'npc/021-4/main.txt')
-rw-r--r--npc/021-4/main.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/021-4/main.txt b/npc/021-4/main.txt
index cab80adf3..6c6ea7df2 100644
--- a/npc/021-4/main.txt
+++ b/npc/021-4/main.txt
@@ -72,6 +72,7 @@ L_Reset:
}
end;
+// Timeout
L_Reckless:
announce("People failed to rescue Cindy!"), bc_all|bc_npc;
areatimer "021-4", 20, 20, 100, 80, 10, "Cindy#Outside::OnFail";
@@ -98,6 +99,7 @@ L_Start:
}
close;
+// Begin
L_Begin:
initnpctimer;
enablenpc "#CindySwitch_06";
@@ -140,6 +142,7 @@ OnFail:
heal -1, -1;
end;
+// For all players finishing the quest
OnReward:
if (ispcdead()) {
recovery(getcharid(3));
@@ -170,8 +173,11 @@ L_CleanUp:
changemusic "021-4", "water_prelude.ogg";
end;
+// Main loop
OnTimer2500:
.@y=mobcount("021-4", "Cindy#Outside::OnPetDeath");
+
+ // This finishes the quest
if (.@y == 0 && .canfinish) {
$@CINDY_STATE=gettimetick(2)+60*rand(55,65)*rand(4,36); // It is way too random to I say how long it takes (220min ~ 39 hours)
mapannounce "021-4", "Nivalis: Cindy is now safe!",bc_all|bc_npc;