diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-08 21:59:56 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-08 21:59:56 -0200 |
commit | 47f6fad94cdb287805992192ed3553751a3307d6 (patch) | |
tree | 1b8ac3be5258b82268a6f220c3cd9915caf4af00 /npc/001-10/scripts.txt | |
parent | 9777343e4371e660d79f24e023130d1bb4e2cda8 (diff) | |
download | serverdata-47f6fad94cdb287805992192ed3553751a3307d6.tar.gz serverdata-47f6fad94cdb287805992192ed3553751a3307d6.tar.bz2 serverdata-47f6fad94cdb287805992192ed3553751a3307d6.tar.xz serverdata-47f6fad94cdb287805992192ed3553751a3307d6.zip |
CoD
Diffstat (limited to 'npc/001-10/scripts.txt')
-rw-r--r-- | npc/001-10/scripts.txt | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/npc/001-10/scripts.txt b/npc/001-10/scripts.txt index b144fe178..09bb4f0c9 100644 --- a/npc/001-10/scripts.txt +++ b/npc/001-10/scripts.txt @@ -5,19 +5,33 @@ // Description: // Scripts for 001-10: Snipers, Bottles and Warps +// Boss room 001-10,89,43,0 script #COD_BossRoomCheck NPC_NO_SPRITE,0,0,{ end; OnTouch: if (!@COD_CHECKPOINT) { dispbottom l("Magic Barrier is active. You must give a whole circle on the desert to break it."); } else { - // warp + deltimer("#COD_BossRoomCheck::OnTimeDefeat"); + addtimer(300000,"#COD_BossManager::OnTimeDefeat"); + // You can't return now! + warp "001-10-1", any(57, 58, 59), any(74, 75); dispbottom l("A dangerous boss room, keep your guard up!"); } end; + +OnTimeDefeat: + @COD_CHECKPOINT=0; + if (getmap() ~= "001-10") { + warp "018-2-1", 24, 29; + dispbottom l("COD: Ran out of time!"); + } + end; + } -001-10,132,106,0 script #COD_Checkpoint106 NPC_NO_SPRITE,0,0,{ +// Magic Barrier +001-10,132,106,0 script #COD_Checkpoint106 NPC_NO_SPRITE,0,7,{ end; OnTouch: @COD_CHECKPOINT=1; |