summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-26 08:46:40 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-26 08:46:40 -0300
commit29be22da9a67918fa7fb8e00b292ac9999512ebe (patch)
tree1d7205c2a3925a4fa86abb51444c428b8601dadf
parent1e6f2a71b9eb01d48a99e186ebec5682e20d0f21 (diff)
downloadserverdata-29be22da9a67918fa7fb8e00b292ac9999512ebe.tar.gz
serverdata-29be22da9a67918fa7fb8e00b292ac9999512ebe.tar.bz2
serverdata-29be22da9a67918fa7fb8e00b292ac9999512ebe.tar.xz
serverdata-29be22da9a67918fa7fb8e00b292ac9999512ebe.zip
The new battleground wrappers are AMAZING.
I can now use BG System without the hurdle of waiting rooms.
-rw-r--r--npc/001-1/bgmaster.txt23
1 files changed, 22 insertions, 1 deletions
diff --git a/npc/001-1/bgmaster.txt b/npc/001-1/bgmaster.txt
index 2fe4f8b04..5087b7665 100644
--- a/npc/001-1/bgmaster.txt
+++ b/npc/001-1/bgmaster.txt
@@ -37,7 +37,8 @@ L_Control:
menu
l("Introduce"), L_Intro,
rif($@BGMaster1 != 1 && is_gm(),l("Enable BG")), L_On,
- l("Disable BG"), L_Off;
+ l("Disable BG"), L_Off,
+ rif(is_admin(), l("Solo Try")), L_Beta;
L_On:
mes "";
@@ -177,6 +178,26 @@ OnDoEvent:
bg_monster($@FK_Team2, "001-2",rand(142, 145), rand(37, 80), "Halinarzo Guard", FallenGuard2, "Cassia::OnSkip");
initnpctimer();
end;
+
+L_Beta:
+ $@BGMaster1 = 1;
+
+ $@FK_Team1 = bgnew("001-2",rand(105, 108), rand(37, 80),"start#bat_a02::OnSide1Quit","");
+ $@FK_Team2 = bgnew("001-2",rand(142, 145), rand(37, 80),"start#bat_a02::OnSide2Quit","");
+
+ debugmes "FK Team 1 (%d) Team 2 (%d)", $@FK_Team1, $@FK_Team2;
+ .@i = bgjoin($@FK_Team1, "001-2", rand(105, 108), rand(37, 80), getcharid(3));
+ debugmes "Result: %d", .@i;
+
+ setbgteam $@FK_Team1, 1;
+ setbgteam $@FK_Team2, 2;
+
+ //bg_warp $@FK_Team1,"001-2",rand(105, 108), rand(37, 80);
+ //bg_warp $@FK_Team2,"001-2",rand(142, 145), rand(37, 80);
+
+ donpcevent "Cassia::OnDoEvent";
+ //initnpctimer;
+ end;
}