summaryrefslogtreecommitdiff
path: root/npc/001-1/bgmaster.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-05 08:23:41 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-05 08:23:41 -0300
commite20611a130b82bbafef1d5ccae3297de87b01e9b (patch)
treef2308dc37bf3f5afd9492ecce24b685d91206678 /npc/001-1/bgmaster.txt
parent8958fe4fbe14b60b8801ec6187255453b74fbd1b (diff)
downloadserverdata-e20611a130b82bbafef1d5ccae3297de87b01e9b.tar.gz
serverdata-e20611a130b82bbafef1d5ccae3297de87b01e9b.tar.bz2
serverdata-e20611a130b82bbafef1d5ccae3297de87b01e9b.tar.xz
serverdata-e20611a130b82bbafef1d5ccae3297de87b01e9b.zip
Rewrite bgmaster to use only the small area I've left for it.
Diffstat (limited to 'npc/001-1/bgmaster.txt')
-rw-r--r--npc/001-1/bgmaster.txt36
1 files changed, 18 insertions, 18 deletions
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;
}