diff options
Diffstat (limited to 'npc/custom/battleground/bg_flavius_02.txt')
-rw-r--r-- | npc/custom/battleground/bg_flavius_02.txt | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/npc/custom/battleground/bg_flavius_02.txt b/npc/custom/battleground/bg_flavius_02.txt index 255f96a0a..4dc180d14 100644 --- a/npc/custom/battleground/bg_flavius_02.txt +++ b/npc/custom/battleground/bg_flavius_02.txt @@ -98,16 +98,12 @@ OnRoundStart: set .Match, .Match + 1; // Crystal Spawn set .Guillaume_Crystal, bg_monster($@FlaviusBG2_id1,"bat_b02",328,150,"Crystal Guillaume",1914,"Flavius_BG2::OnGuillaumeBreak"); - setwall "bat_b02",327,149,2,6,0,"gui_wall2-1"; - setwall "bat_b02",329,149,2,0,0,"gui_wall2-2"; - setwall "bat_b02",329,151,2,2,0,"gui_wall2-3"; - setwall "bat_b02",327,151,2,4,0,"gui_wall2-4"; + setcell "bat_b02",327,151,329,149,cell_basilica,1; + setcell "bat_b02",327,151,329,149,cell_walkable,1; set .Croix_Crystal, bg_monster($@FlaviusBG2_id2,"bat_b02",62,150,"Crystal Croix",1915,"Flavius_BG2::OnCroixBreak"); - setwall "bat_b02",61,149,2,6,0,"cro_wall2-1"; - setwall "bat_b02",63,149,2,0,0,"cro_wall2-2"; - setwall "bat_b02",63,151,2,2,0,"cro_wall2-3"; - setwall "bat_b02",61,151,2,4,0,"cro_wall2-4"; + setcell "bat_b02",62,149,60,151,cell_basilica,1; + setcell "bat_b02",62,149,60,151,cell_walkable,1; // Guardian Spawns bg_monster $@FlaviusBG2_id1,"bat_b02",328,160,"Guillaume Guardian",1949,"Flavius_BG2::OnGuiGuardian"; @@ -124,25 +120,19 @@ OnRoundStop: // Remove Monsters killmonster "bat_b02","Flavius_BG2::OnGuiGuardian"; killmonster "bat_b02","Flavius_BG2::OnCroGuardian"; - delwall "gui_wall2-1"; - delwall "gui_wall2-2"; - delwall "gui_wall2-3"; - delwall "gui_wall2-4"; + setcell "bat_b02",327,151,329,149,cell_walkable,0; + setcell "bat_b02",327,151,329,149,cell_basilica,0; killmonster "bat_b02","Flavius_BG2::OnGuillaumeBreak"; - delwall "cro_wall2-1"; - delwall "cro_wall2-2"; - delwall "cro_wall2-3"; - delwall "cro_wall2-4"; + setcell "bat_b02",62,149,60,151,cell_walkable,0; + setcell "bat_b02",62,149,60,151,cell_basilica,0; killmonster "bat_b02","Flavius_BG2::OnCroixBreak"; end; OnGuiGuardian: if( set(.Guillaume_Guardian, .Guillaume_Guardian - 1) <= 0 ) { - delwall "gui_wall2-1"; - delwall "gui_wall2-2"; - delwall "gui_wall2-3"; - delwall "gui_wall2-4"; + setcell "bat_b02",327,151,329,149,cell_walkable,0; + setcell "bat_b02",327,151,329,149,cell_basilica,0; mapannounce "bat_b02","The Guillaume Crystal is vulnerable to attack!",1,0x0000FF; } end; @@ -150,10 +140,8 @@ OnGuiGuardian: OnCroGuardian: if( set(.Croix_Guardian, .Croix_Guardian - 1) <= 0 ) { - delwall "cro_wall2-1"; - delwall "cro_wall2-2"; - delwall "cro_wall2-3"; - delwall "cro_wall2-4"; + setcell "bat_b02",62,149,60,151,cell_walkable,0; + setcell "bat_b02",62,149,60,151,cell_basilica,0; mapannounce "bat_b02","The Croix Crystal is vulnerable to attack!",1,0xFF0000; } end; |