From 176f3daa937f96242fffd45f50400e2e5dc60fa7 Mon Sep 17 00:00:00 2001 From: aleos89 Date: Thu, 26 Mar 2015 13:02:26 -0400 Subject: [PATCH] Follow up to ec4f1f8 * Adjusted the *unitdata parameter (changed in 2dc38e7) when making Guardians immune to attacks. --- npc/battleground/flavius/flavius01.txt | 8 ++++---- npc/battleground/flavius/flavius02.txt | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/npc/battleground/flavius/flavius01.txt b/npc/battleground/flavius/flavius01.txt index bb8f3b8485..9497254d56 100644 --- a/npc/battleground/flavius/flavius01.txt +++ b/npc/battleground/flavius/flavius01.txt @@ -154,7 +154,7 @@ OnTimer10000: bat_b01,1,1,3 script OBJ#bat_b01_a 844,{ OnEnable: $@FlavBG1_C1_ID = bg_monster($@FlaviusBG1_id1,"bat_b01",61,150,"Pink Crystal",1915,"OBJ#bat_b01_a::OnMyMobDead"); - setunitdata $@FlavBG1_C1_ID,31,1; // Make Crystal immune to damage until Guardians are defeated + setunitdata $@FlavBG1_C1_ID,30,1; // Make Crystal immune to damage until Guardians are defeated end; OnKill: @@ -188,7 +188,7 @@ OnMyMobDead: bat_b01,1,2,3 script OBJ#bat_b01_b 844,{ OnEnable: $@FlavBG1_C2_ID = bg_monster($@FlaviusBG1_id2,"bat_b01",328,150,"Blue Crystal",1914,"OBJ#bat_b01_b::OnMyMobDead"); - setunitdata $@FlavBG1_C2_ID,31,1; // Make Crystal immune to damage until Guardians are defeated + setunitdata $@FlavBG1_C2_ID,30,1; // Make Crystal immune to damage until Guardians are defeated end; OnKill: @@ -233,7 +233,7 @@ OnMyMobDead: if (mobcount("bat_b01","guardian#bat_b01_a::OnMyMobDead") < 1) { donpcevent "cell#bat_b01_a::OnGreen"; mapannounce "bat_b01", "The Guardian protecting Guillaume's Crystal has been slain.",bc_map,"0xFFCE00"; - setunitdata $@FlavBG1_C1_ID,31,0; // Make Crystal damageable again + setunitdata $@FlavBG1_C1_ID,30,0; // Make Crystal damageable again } end; } @@ -252,7 +252,7 @@ OnMyMobDead: if (mobcount("bat_b01","guardian#bat_b01_b::OnMyMobDead") < 1) { donpcevent "cell#bat_b01_b::OnGreen"; mapannounce "bat_b01", "The Guardian protecting Croix's Crystal has been slain.",bc_map,"0xFFCE00"; - setunitdata $@FlavBG1_C2_ID,31,0; // Make Crystal damageable again + setunitdata $@FlavBG1_C2_ID,30,0; // Make Crystal damageable again } end; } diff --git a/npc/battleground/flavius/flavius02.txt b/npc/battleground/flavius/flavius02.txt index 094889a1b2..18ede0ee3d 100644 --- a/npc/battleground/flavius/flavius02.txt +++ b/npc/battleground/flavius/flavius02.txt @@ -155,7 +155,7 @@ OnTimer10000: bat_b02,1,1,3 script OBJ#bat_b02_a 844,{ OnEnable: $@FlavBG2_C1_ID = bg_monster($@FlaviusBG2_id1,"bat_b02",61,150,"Pink Crystal",1915,"OBJ#bat_b02_a::OnMyMobDead"); - setunitdata $@FlavBG2_C1_ID,31,1; // Make Crystal immune to damage until Guardians are defeated + setunitdata $@FlavBG2_C1_ID,30,1; // Make Crystal immune to damage until Guardians are defeated end; OnKill: @@ -189,7 +189,7 @@ OnMyMobDead: bat_b02,1,2,3 script OBJ#bat_b02_b 844,{ OnEnable: $@FlavBG2_C2_ID = bg_monster($@FlaviusBG2_id2,"bat_b02",328,150,"Blue Crystal",1914,"OBJ#bat_b02_b::OnMyMobDead"); - setunitdata $@FlavBG2_C2_ID,31,1; // Make Crystal immune to damage until Guardians are defeated + setunitdata $@FlavBG2_C2_ID,30,1; // Make Crystal immune to damage until Guardians are defeated end; OnKill: @@ -234,7 +234,7 @@ OnMyMobDead: if (mobcount("bat_b02","guardian#bat_b02_a::OnMyMobDead") < 1) { donpcevent "cell#bat_b02_a::OnGreen"; mapannounce "bat_b02", "The Guardian protecting Guillaume's Crystal has been slain.",bc_map,"0xFFCE00"; - setunitdata $@FlavBG2_C1_ID,31,0; // Make Crystal damageable again + setunitdata $@FlavBG2_C1_ID,30,0; // Make Crystal damageable again } end; } @@ -253,7 +253,7 @@ OnMyMobDead: if (mobcount("bat_b02","guardian#bat_b02_b::OnMyMobDead") < 1) { donpcevent "cell#bat_b02_b::OnGreen"; mapannounce "bat_b02", "The Guardian protecting Croix's Crystal has been slain.",bc_map,"0xFFCE00"; - setunitdata $@FlavBG2_C2_ID,31,0; // Make Crystal damageable again + setunitdata $@FlavBG2_C2_ID,30,0; // Make Crystal damageable again } end; }