diff options
Diffstat (limited to 'npc/021-4')
-rw-r--r-- | npc/021-4/main.txt | 6 |
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; |