diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-07-29 09:10:51 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-07-29 09:10:51 +0000 |
commit | ec12f70e64fdd12235f74d9708332be0ff8c2683 (patch) | |
tree | aec85700e214fed923b3b0c5755a5fcf789193b4 /npc/guild2/schg_cas03.txt | |
parent | 94f3da9dd8cb31ab928b62c44e076080ade23b8b (diff) | |
download | hercules-ec12f70e64fdd12235f74d9708332be0ff8c2683.tar.gz hercules-ec12f70e64fdd12235f74d9708332be0ff8c2683.tar.bz2 hercules-ec12f70e64fdd12235f74d9708332be0ff8c2683.tar.xz hercules-ec12f70e64fdd12235f74d9708332be0ff8c2683.zip |
- Fixed a bug cleaning instance variable on party when instance is destroy.
- Fixed a bug on Yuno Castle 2 and 3, not killing guardians.
- Moved battleground team leave on unit remove map to prevent a crash on multimap servers.
- Fixed a bug on checking range with the wrong target. Fix a crash on Item 2002 at refine >= 9.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13979 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild2/schg_cas03.txt')
-rw-r--r-- | npc/guild2/schg_cas03.txt | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/npc/guild2/schg_cas03.txt b/npc/guild2/schg_cas03.txt index b5b0ef6b9..d67e25cae 100644 --- a/npc/guild2/schg_cas03.txt +++ b/npc/guild2/schg_cas03.txt @@ -567,7 +567,7 @@ OnGuardianDied: Onreset: stopnpctimer; - killmonster "schg_cas03","#sch03_gard03::OnGuardianDied"; + killmonster "schg_cas03","#sch03_gard02::OnGuardianDied"; end; } @@ -1191,16 +1191,14 @@ OnDisable: schg_cas03,2,1,0 script #sch03_RL00 -1,{ OnEnable: - setcell "schg_cas03",326,301,331,301,cell_walkable,0; - setcell "schg_cas03",326,301,331,301,cell_shootable,0; + setwall "schg_cas03",326,301,6,6,0,"sch03_RL00"; guardian "schg_cas03",326,300," ",1905,"#sch03_RL00::OnBarrierDestroyed"; //24; guardian "schg_cas03",328,300," ",1905,"#sch03_RL00::OnBarrierDestroyed"; //25; guardian "schg_cas03",330,300," ",1905,"#sch03_RL00::OnBarrierDestroyed"; //26; end; OnDisable: - setcell "schg_cas03",326,301,331,301,cell_walkable,1; - setcell "schg_cas03",326,301,331,301,cell_shootable,1; + delwall "sch03_RL00"; killmonster "schg_cas03","#sch03_RL00::OnBarrierDestroyed"; end; @@ -1211,7 +1209,7 @@ OnBarrierDestroyed: schg_cas03,2,2,0 script #sch03_RL01 -1,{ OnEnable: set .MyMobCount,6; - setcell "schg_cas03",325,277,332,277,cell_walkable,0; + setwall "schg_cas03",325,277,8,6,1,"sch03_RL01"; guardian "schg_cas03",326,278," ",1905,"#sch03_RL01::OnBarrierDestroyed"; //27; guardian "schg_cas03",328,278," ",1905,"#sch03_RL01::OnBarrierDestroyed"; //28; guardian "schg_cas03",330,278," ",1905,"#sch03_RL01::OnBarrierDestroyed"; //29; @@ -1225,12 +1223,12 @@ OnBarrierDestroyed: if (.MyMobCount == 0) { setarray $agit_sc03[2],1; mapannounce "schg_cas03","The 1st Fortress Gate is destroyed.",bc_map,"0x00ff00"; - setcell "schg_cas03",325,277,332,277,cell_walkable,1; + delwall "sch03_RL01"; } end; OnDisable: - setcell "schg_cas03",325,277,332,277,cell_walkable,1; + delwall "sch03_RL01"; killmonster "schg_cas03","#sch03_RL01::OnBarrierDestroyed"; end; } @@ -1238,7 +1236,7 @@ OnDisable: schg_cas03,2,3,0 script #sch03_RL02 -1,{ OnEnable: set .MyMobCount,6; - setcell "schg_cas03",200,230,200,237,cell_walkable,0; + setwall "schg_cas03",200,230,8,0,1,"sch03_RL02"; guardian "schg_cas03",201,231," ",1905,"#sch03_RL02::OnBarrierDestroyed"; //33; guardian "schg_cas03",201,233," ",1905,"#sch03_RL02::OnBarrierDestroyed"; //34; guardian "schg_cas03",201,235," ",1905,"#sch03_RL02::OnBarrierDestroyed"; //35; @@ -1252,12 +1250,12 @@ OnBarrierDestroyed: if (.MyMobCount == 0) { setarray $agit_sc03[3],1; mapannounce "schg_cas03","The 2nd Fortress Gate is destroyed.",bc_map,"0x00ff00"; - setcell "schg_cas03",200,230,200,237,cell_walkable,1; + delwall "sch03_RL02"; } end; OnDisable: - setcell "schg_cas03",200,230,200,237,cell_walkable,1; + delwall "sch03_RL02"; killmonster "schg_cas03","#sch03_RL02::OnBarrierDestroyed"; end; } @@ -1265,7 +1263,7 @@ OnDisable: schg_cas03,2,4,0 script #sch03_RL03 -1,{ OnEnable: set .MyMobCount,4; - setcell "schg_cas03",285,198,285,205,cell_walkable,0; + setwall "schg_cas03",285,198,8,0,1,"sch03_RL03"; guardian "schg_cas03",284,199," ",1905,"#sch03_RL03::OnBarrierDestroyed"; //39; guardian "schg_cas03",284,201," ",1905,"#sch03_RL03::OnBarrierDestroyed"; //40; guardian "schg_cas03",284,203," ",1905,"#sch03_RL03::OnBarrierDestroyed"; //41; @@ -1277,12 +1275,12 @@ OnBarrierDestroyed: if (.MyMobCount == 0) { setarray $agit_sc03[4],1; mapannounce "schg_cas03","The 3rd Fortress Gate is destroyed!",bc_map,"0x00ff00"; - setcell "schg_cas03",285,198,285,205,cell_walkable,1; + delwall "sch03_RL03"; } end; OnDisable: - setcell "schg_cas03",285,198,285,205,cell_walkable,1; + delwall "sch03_RL03"; killmonster "schg_cas03","#sch03_RL03::OnBarrierDestroyed"; end; } |