summaryrefslogtreecommitdiff
path: root/npc/guild2/schg_cas03.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/guild2/schg_cas03.txt')
-rw-r--r--npc/guild2/schg_cas03.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/npc/guild2/schg_cas03.txt b/npc/guild2/schg_cas03.txt
index 385dfa3d2..7578fae05 100644
--- a/npc/guild2/schg_cas03.txt
+++ b/npc/guild2/schg_cas03.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.4
+//= 1.5
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -17,6 +17,7 @@
//= 1.3 Wrong variable used to store castle information. [L0ne_W0lf]
//= 1.4 Fixed double message in defense investing. [L0ne_W0lf]
//= Corrected a minor typo in the guild steward.
+//= 1.3 Fixed a guardian spawning NPCs. [L0ne_W0lf]
//============================================================
schg_cas03,1,1,0 script manager#sch03_02 111,{
@@ -399,22 +400,22 @@ schg_cas03,1,1,0 script #sch03_gard01 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas03",3);
guardian "schg_cas03",323,308,"Guardian",1899,"#sch03_gard01::OnGuardianDied"; //0;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas03",273,309,"Guardian",1899,"#sch03_gard01::OnGuardianDied"; //1;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas03",273,309,"Guardian",1899,"#sch03_gard01::OnGuardianDied"; //1;
guardian "schg_cas03",288,306,"Guardian",1899,"#sch03_gard01::OnGuardianDied"; //2;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas03",273,309,"Guardian",1899,"#sch03_gard01::OnGuardianDied"; //1;
guardian "schg_cas03",288,306,"Guardian",1899,"#sch03_gard01::OnGuardianDied"; //2;
guardian "schg_cas03",306,326,"Guardian",1899,"#sch03_gard01::OnGuardianDied"; //3;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas03",273,309,"Guardian",1899,"#sch03_gard01::OnGuardianDied"; //1;
guardian "schg_cas03",288,306,"Guardian",1899,"#sch03_gard01::OnGuardianDied"; //2;
@@ -477,22 +478,22 @@ schg_cas03,1,2,0 script #sch03_gard02 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas03",3);
guardian "schg_cas03",338,309,"Guardian",1899,"#sch03_gard02::OnGuardianDied"; //11;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas03",364,305,"Guardian",1899,"#sch03_gard02::OnGuardianDied"; //12;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas03",364,305,"Guardian",1899,"#sch03_gard02::OnGuardianDied"; //12;
guardian "schg_cas03",365,261,"Guardian",1899,"#sch03_gard02::OnGuardianDied"; //13;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas03",364,305,"Guardian",1899,"#sch03_gard02::OnGuardianDied"; //12;
guardian "schg_cas03",365,261,"Guardian",1899,"#sch03_gard02::OnGuardianDied"; //13;
guardian "schg_cas03",317,318,"Guardian",1899,"#sch03_gard02::OnGuardianDied"; //14;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas03",364,305,"Guardian",1899,"#sch03_gard02::OnGuardianDied"; //12;
guardian "schg_cas03",365,261,"Guardian",1899,"#sch03_gard02::OnGuardianDied"; //13;