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_cas02.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_cas02.txt')
-rw-r--r-- | npc/guild2/schg_cas02.txt | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/npc/guild2/schg_cas02.txt b/npc/guild2/schg_cas02.txt index fe87d89f4..a009ea410 100644 --- a/npc/guild2/schg_cas02.txt +++ b/npc/guild2/schg_cas02.txt @@ -486,7 +486,7 @@ OnGuardianDied: set .MyMobCount,.MyMobCount-1; if (.MyMobCount < 2) { set .MyMobCount,.MyMobCount+1; - guardian "schg_cas02",334,119,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //10; + guardian "schg_cas02",334,119,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //10; } end; @@ -1189,8 +1189,7 @@ OnDisable: schg_cas02,2,1,0 script #sch02_RL00 -1,{ OnEnable: - setcell "schg_cas02",290,98,290,105,cell_walkable,0; - setcell "schg_cas02",290,98,290,105,cell_shootable,0; + setwall "schg_cas02",290,98,8,0,0,"sch02_RL00"; guardian "schg_cas02",289,98," ",1905,"#sch02_RL00::OnBarrierDestroyed"; //24; guardian "schg_cas02",289,100," ",1905,"#sch02_RL00::OnBarrierDestroyed"; //25; guardian "schg_cas02",289,102," ",1905,"#sch02_RL00::OnBarrierDestroyed"; //26; @@ -1198,8 +1197,7 @@ OnEnable: end; OnDisable: - setcell "schg_cas02",290,98,290,105,cell_walkable,1; - setcell "schg_cas02",290,98,290,105,cell_shootable,1; + delwall "sch02_RL00"; killmonster "schg_cas02","#sch02_RL00::OnBarrierDestroyed"; end; @@ -1210,7 +1208,7 @@ OnBarrierDestroyed: schg_cas02,2,2,0 script #sch02_RL01 -1,{ OnEnable: set .MyMobCount,6; - setcell "schg_cas02",279,98,279,105,cell_walkable,0; + setwall "schg_cas02",279,98,8,0,1,"sch02_RL01"; guardian "schg_cas02",280,98," ",1905,"#sch02_RL01::OnBarrierDestroyed"; //28; guardian "schg_cas02",280,100," ",1905,"#sch02_RL01::OnBarrierDestroyed"; //29; guardian "schg_cas02",280,102," ",1905,"#sch02_RL01::OnBarrierDestroyed"; //30; @@ -1224,12 +1222,12 @@ OnBarrierDestroyed: if (.MyMobCount == 0) { setarray $agit_sc02[2],1; mapannounce "schg_cas02","The 1st Fortress Gate is destroyed.",bc_map,"0x00ff00"; - setcell "schg_cas02",279,98,279,105,cell_walkable,1; + delwall "sch02_RL01"; } end; OnDisable: - setcell "schg_cas02",279,98,279,105,cell_walkable,1; + delwall "sch02_RL01"; killmonster "schg_cas02","#sch02_RL01::OnBarrierDestroyed"; end; } @@ -1237,7 +1235,7 @@ OnDisable: schg_cas02,2,3,0 script #sch02_RL02 -1,{ OnEnable: set .MyMobCount,6; - setcell "schg_cas02",230,213,230,218,cell_walkable,0; + setwall "schg_cas02",230,213,6,0,1,"sch02_RL02"; guardian "schg_cas02",231,214," ",1905,"#sch02_RL02::OnBarrierDestroyed"; //34; guardian "schg_cas02",231,216," ",1905,"#sch02_RL02::OnBarrierDestroyed"; //35; guardian "schg_cas02",231,218," ",1905,"#sch02_RL02::OnBarrierDestroyed"; //36; @@ -1251,12 +1249,12 @@ OnBarrierDestroyed: if (.MyMobCount == 0) { setarray $agit_sc02[3],1; mapannounce "schg_cas02","The 2nd Fortress Gate is destroyed.",bc_map,"0x00ff00"; - setcell "schg_cas02",230,213,230,218,cell_walkable,1; + delwall "sch02_RL02"; } end; OnDisable: - setcell "schg_cas02",230,213,230,218,cell_walkable,1; + delwall "sch02_RL02"; killmonster "schg_cas02","#sch02_RL02::OnBarrierDestroyed"; end; } @@ -1264,7 +1262,7 @@ OnDisable: schg_cas02,2,4,0 script #sch02_RL03 -1,{ OnEnable: set .MyMobCount,4; - setcell "schg_cas02",160,141,165,141,cell_walkable,0; + setwall "schg_cas02",160,141,6,6,1,"sch02_RL03"; guardian "schg_cas02",160,140," ",1905,"#sch02_RL03::OnBarrierDestroyed"; //40; guardian "schg_cas02",162,140," ",1905,"#sch02_RL03::OnBarrierDestroyed"; //41; guardian "schg_cas02",164,140," ",1905,"#sch02_RL03::OnBarrierDestroyed"; //42; @@ -1276,12 +1274,12 @@ OnBarrierDestroyed: if (.MyMobCount == 0) { setarray $agit_sc02[4],1; mapannounce "schg_cas02","The 3rd Fortress Gate is destroyed!",bc_map,"0x00ff00"; - setcell "schg_cas02",160,141,165,141,cell_walkable,1; + delwall "sch02_RL03"; } end; OnDisable: - setcell "schg_cas02",160,141,165,141,cell_walkable,1; + delwall "sch02_RL03"; killmonster "schg_cas02","#sch02_RL03::OnBarrierDestroyed"; end; } |