diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-15 22:45:51 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-15 22:45:51 -0300 |
commit | fc21579930e0012d6a74a176a30ac5c947ce8504 (patch) | |
tree | 595074856655fc2f28c40da01a472da189c330b5 | |
parent | aa1c4a2bc69095610a1d780b6d8de645a3b50eb3 (diff) | |
download | serverdata-fc21579930e0012d6a74a176a30ac5c947ce8504.tar.gz serverdata-fc21579930e0012d6a74a176a30ac5c947ce8504.tar.bz2 serverdata-fc21579930e0012d6a74a176a30ac5c947ce8504.tar.xz serverdata-fc21579930e0012d6a74a176a30ac5c947ce8504.zip |
Attempt to rewrite LIBDAY
-rw-r--r-- | npc/012-1/guards.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index f21ac8f70..5aa12d347 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -31,6 +31,7 @@ L_Admus: setmapflag("012-1", mf_battleground); enablenpc "Hurnsguard"; donpcevent "Hurnsguard::OnSet"; + donpcevent "Lieutenant Paul::OnSet"; addmapmask "012-1", 10; pvpon("012-1"); disablenpc "#012-1_22_62"; @@ -232,6 +233,15 @@ OnTimer630000: end; */ +OnSet: + waitingroom("Monster Army", 2, "start#hurns_lib::OnReadyCheck", 1); + end; + +OnEnterBG: + debugmes "OnEnterBG"; + $@FK_Team2 = waitingroom2bg("012-1",141, 65,"start#hurns_lib::OnPlayerQuit","start#hurns_lib::OnPlayerDeath"); + end; + OnInit: .sex = G_MALE; .distance = 4; @@ -386,8 +396,10 @@ OnTimer240000: default: // case 13: .@monsterId = Yeti ; break; } - areamonster("012-1", 52, 45, 127, 80, "Monster Soldier", .@monsterId, 1, "Hurnsguard::OnSkip"); + bg_monster($@FK_Team2, "012-1", rand(69, 136), rand(83, 74), "Monster Soldier", .@monsterId, "Hurnsguard::OnSkip"); } + bg_monster($@FK_Team2, "012-1", rand(69, 136), rand(83, 74), "Monster Soldier", SlimeBlast, "Hurnsguard::OnSkip"); + bg_monster($@FK_Team2, "012-1", rand(69, 136), rand(83, 74), "Monster Soldier", LavaSlime, "Hurnsguard::OnSkip"); bg_monster($@FK_Team1, "012-1", rand(131, 136), rand(64, 80), "Additional Guard", FallenGuard2, "Cassia::OnSkip"); end; @@ -486,6 +498,7 @@ OnReadyCheck: if ( .@Alliance < $@BG1_SIZE-1 ) end; donpcevent "Hurnsguard::OnEnterBG"; + donpcevent "Lieutenant Paul::OnEnterBG"; donpcevent "Hurnsguard::OnDoEvent"; debugmes "Prepare Warp"; bg_warp $@FK_Team1,"012-1",141, 65; |