From e20611a130b82bbafef1d5ccae3297de87b01e9b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 5 Jun 2018 08:23:41 -0300 Subject: Rewrite bgmaster to use only the small area I've left for it. --- npc/001-1/bgmaster.txt | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'npc') diff --git a/npc/001-1/bgmaster.txt b/npc/001-1/bgmaster.txt index f1aee9263..092934130 100644 --- a/npc/001-1/bgmaster.txt +++ b/npc/001-1/bgmaster.txt @@ -77,10 +77,10 @@ OnTimer60000: if (getmapusers("001-2") < 2 || .BGC > 10) goto L_Cancel; mapannounce("001-2", "Reinforcements raise!", bc_map); - $@FKing_T1 = bg_monster($@FK_Team1, "001-2", 125, 38, "Frostia Guard", 1081, "Cassia::OnSkip"); - bg_monster($@FK_Team1, "001-2", 126, 38, "Frostia Guard", 1081, "Cassia::OnSkip"); - $@FKing_T2 = bg_monster($@FK_Team2, "001-2",124, 213, "Halinarzo Guard", 1082, "Cassia::OnSkip"); - bg_monster($@FK_Team2, "001-2",125, 213, "Halinarzo Guard", 1082, "Cassia::OnSkip"); + //$@FKing_T1 = bg_monster($@FK_Team1, "001-2", 125, 38, "Frostia Guard", 1081, "Cassia::OnSkip"); + bg_monster($@FK_Team1, "001-2", rand(105, 108), rand(37, 80), "Frostia Guard", FallenGuard1, "Cassia::OnSkip"); + //$@FKing_T2 = bg_monster($@FK_Team2, "001-2",124, 213, "Halinarzo Guard", 1082, "Cassia::OnSkip"); + bg_monster($@FK_Team2, "001-2", rand(142, 145), rand(37, 80), "Halinarzo Guard", FallenGuard2, "Cassia::OnSkip"); .BGC+=1; stopnpctimer(); initnpctimer(); @@ -120,8 +120,8 @@ OnVictor1: stopnpctimer(); announce "Team 1 raises victorious at the Fallen Kings Duel!", bc_all; // TODO: Give players a reward killmonsterall "001-2"; - delcells "Wall_0012_left"; - delcells "Wall_0012_right"; + //delcells "Wall_0012_left"; + //delcells "Wall_0012_right"; mapwarp "001-2", "001-1", 117, 72; bg_destroy($@FK_Team1); @@ -134,8 +134,8 @@ OnVictor2: stopnpctimer(); announce "Team 2 raises victorious at the Fallen Kings Duel!", bc_all; killmonsterall "001-2"; - delcells "Wall_0012_left"; - delcells "Wall_0012_right"; + //delcells "Wall_0012_left"; + //delcells "Wall_0012_right"; mapwarp "001-2", "001-1", 117, 72; bg_destroy($@FK_Team1); @@ -163,14 +163,14 @@ OnInit: end; OnDoEvent: - setcells "001-2", 109, 37, 109, 213, 3, "Wall_0012_left"; - setcells "001-2", 141, 37, 141, 213, 3, "Wall_0012_right"; + //setcells "001-2", 109, 37, 109, 213, 3, "Wall_0012_left"; + //setcells "001-2", 141, 37, 141, 213, 3, "Wall_0012_right"; .BGC=0; mapannounce("001-2", "May the fight begin!", bc_map); - $@FKing_T1 = bg_monster($@FK_Team1, "001-2", 125, 38, "Frostia King", 1079, "Cassia::OnVictor2"); - $@FKing_T2 = bg_monster($@FK_Team2, "001-2", 124, 213, "Halinarzo King", 1080, "Cassia::OnVictor1"); - bg_monster($@FK_Team1, "001-2", 124, 38, "Frostia Guard", 1081, "Cassia::OnSkip"); - bg_monster($@FK_Team2, "001-2",123, 213, "Halinarzo Guard", 1082, "Cassia::OnSkip"); + $@FKing_T1 = bg_monster($@FK_Team1, "001-2", rand(105, 108), rand(37, 80), "Frostia King", FallenKing1, "Cassia::OnVictor2"); + $@FKing_T2 = bg_monster($@FK_Team2, "001-2", rand(142, 145), rand(37, 80), "Halinarzo King", FallenKing2, "Cassia::OnVictor1"); + bg_monster($@FK_Team1, "001-2", rand(105, 108), rand(37, 80), "Frostia Guard", FallenGuard1, "Cassia::OnSkip"); + bg_monster($@FK_Team2, "001-2",rand(142, 145), rand(37, 80), "Halinarzo Guard", FallenGuard2, "Cassia::OnSkip"); initnpctimer(); end; } @@ -255,7 +255,7 @@ OnInit: end; OnEnterBG: - $@FK_Team1 = waitingroom2bg("001-2",126, 38,"start#bat_a02::OnSide1Quit",""); + $@FK_Team1 = waitingroom2bg("001-2",rand(105, 108), rand(37, 80),"start#bat_a02::OnSide1Quit",""); end; } @@ -281,7 +281,7 @@ OnInit: end; OnEnterBG: - $@FK_Team2 = waitingroom2bg("001-2",124,213,"start#bat_a02::OnSide2Quit",""); + $@FK_Team2 = waitingroom2bg("001-2",rand(142, 145), rand(37, 80),"start#bat_a02::OnSide2Quit",""); end; } @@ -314,8 +314,8 @@ OnReadyCheck: donpcevent "Lt. Randy::OnEnterBG"; donpcevent "Lt. Gerry::OnEnterBG"; donpcevent "Cassia::OnDoEvent"; - bg_warp $@FK_Team1,"001-2",126,38; - bg_warp $@FK_Team2,"001-2",125,213; + bg_warp $@FK_Team1,"001-2",rand(105, 108), rand(37, 80); + bg_warp $@FK_Team2,"001-2",rand(142, 145), rand(37, 80); //initnpctimer; end; } -- cgit v1.2.3-60-g2f50