diff options
Diffstat (limited to 'npc/guild2/arug_cas01.txt')
-rw-r--r-- | npc/guild2/arug_cas01.txt | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/npc/guild2/arug_cas01.txt b/npc/guild2/arug_cas01.txt index 54ebdea4f..b8712e521 100644 --- a/npc/guild2/arug_cas01.txt +++ b/npc/guild2/arug_cas01.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.1 +//= 1.3 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -13,6 +13,7 @@ //= 1.1 Swaped an end for a close in eco investing. [L0ne_W0lf] //= Fixed improper label used in guaridan stone. //= 1.2 Fixed double message in defense investing. [L0ne_W0lf] +//= 1.3 Fixed a guardian spawning NPCs. [L0ne_W0lf] //============================================================ arug_cas01,1,1,0 script Manager#aru01_02 111,{ @@ -395,22 +396,22 @@ arug_cas01,1,1,0 script #aru01_gard01 -1,{ OnEnable: set .@Defence,GetCastleData("arug_cas01",3); guardian "arug_cas01",233,83,"Guardian",1899,"#aru01_gard01::OnGuardianDied"; //0; - if ((.@Defense > 10) && (.@Defense < 31)) { + if ((.@Defence > 10) && (.@Defence < 31)) { set .MyMobCount,2; guardian "arug_cas01",252,81,"Guardian",1899,"#aru01_gard01::OnGuardianDied"; //1; } - else if ((.@Defense > 30) && (.@Defense < 51)) { + else if ((.@defence > 30) && (.@defence < 51)) { set .MyMobCount,3; guardian "arug_cas01",252,81,"Guardian",1899,"#aru01_gard01::OnGuardianDied"; //1; guardian "arug_cas01",232,108,"Guardian",1899,"#aru01_gard01::OnGuardianDied"; //2; } - else if ((.@Defense > 50) && (.@Defense < 71)) { + else if ((.@defence > 50) && (.@defence < 71)) { set .MyMobCount,4; guardian "arug_cas01",252,81,"Guardian",1899,"#aru01_gard01::OnGuardianDied"; //1; guardian "arug_cas01",232,108,"Guardian",1899,"#aru01_gard01::OnGuardianDied"; //2; guardian "arug_cas01",201,130,"Guardian",1899,"#aru01_gard01::OnGuardianDied"; //3; } - else if (.@Defense > 70) { + else if (.@defence > 70) { set .MyMobCount,5; guardian "arug_cas01",252,81,"Guardian",1899,"#aru01_gard01::OnGuardianDied"; //1; guardian "arug_cas01",232,108,"Guardian",1899,"#aru01_gard01::OnGuardianDied"; //2; @@ -473,22 +474,22 @@ arug_cas01,1,2,0 script #aru01_gard02 -1,{ OnEnable: set .@Defence,GetCastleData("arug_cas01",3); guardian "arug_cas01",294,210,"Guardian",1899,"#aru01_gard02::OnGuardianDied"; //11; - if ((.@Defense > 10) && (.@Defense < 31)) { + if ((.@defence > 10) && (.@defence < 31)) { set .MyMobCount,2; guardian "arug_cas01",256,203,"Guardian",1899,"#aru01_gard02::OnGuardianDied"; //12; } - else if ((.@Defense > 30) && (.@Defense < 51)) { + else if ((.@defence > 30) && (.@defence < 51)) { set .MyMobCount,3; guardian "arug_cas01",256,203,"Guardian",1899,"#aru01_gard02::OnGuardianDied"; //12; guardian "arug_cas01",240,133,"Guardian",1899,"#aru01_gard02::OnGuardianDied"; //13; } - else if ((.@Defense > 50) && (.@Defense < 71)) { + else if ((.@defence > 50) && (.@defence < 71)) { set .MyMobCount,4; guardian "arug_cas01",256,203,"Guardian",1899,"#aru01_gard02::OnGuardianDied"; //12; guardian "arug_cas01",240,133,"Guardian",1899,"#aru01_gard02::OnGuardianDied"; //13; guardian "arug_cas01",246,92,"Guardian",1899,"#aru01_gard02::OnGuardianDied"; //14; } - else if (.@Defense > 70) { + else if (.@defence > 70) { set .MyMobCount,5; guardian "arug_cas01",256,203,"Guardian",1899,"#aru01_gard02::OnGuardianDied"; //12; guardian "arug_cas01",240,133,"Guardian",1899,"#aru01_gard02::OnGuardianDied"; //13; |