summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt2
-rw-r--r--npc/guild/agit_template.txt5
-rw-r--r--npc/guild2/arug_cas01.txt19
-rw-r--r--npc/guild2/arug_cas02.txt19
-rw-r--r--npc/guild2/arug_cas03.txt19
-rw-r--r--npc/guild2/arug_cas04.txt19
-rw-r--r--npc/guild2/arug_cas05.txt19
-rw-r--r--npc/guild2/schg_cas01.txt19
-rw-r--r--npc/guild2/schg_cas02.txt19
-rw-r--r--npc/guild2/schg_cas03.txt19
-rw-r--r--npc/guild2/schg_cas04.txt19
-rw-r--r--npc/guild2/schg_cas05.txt19
12 files changed, 105 insertions, 92 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index 93181105c..37b967c94 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -1,5 +1,7 @@
Date Added
======
+2008/05/16
+ * Rev. 12712 Fixed variable typo in guild scripts. (bugreport:1514) [L0ne_W0lf]
2008/05/13
* Rev. 12708 Fixed a loading flag emblem for Payon 1. [L0ne_W0lf]
- Also fixed two typos regarding Guild Steward name.
diff --git a/npc/guild/agit_template.txt b/npc/guild/agit_template.txt
index f38f5c291..89b6acf2f 100644
--- a/npc/guild/agit_template.txt
+++ b/npc/guild/agit_template.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.3
+//= 1.4
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -38,6 +38,7 @@
//= 1.2 Fixed Eco Invest option charging twice. [L0ne_W0lf]
//= 1.3 Fixed a loading flag emblem for Payon 1. [L0ne_W0lf]
//= Fixed two typos regarding Guild Steward name.
+//= 1.4 Fixed a typo in defense investment. [L0ne_W0lf]
//============================================================
// AGIT Manager Template
@@ -569,7 +570,7 @@ OnRecvCastle:
mes " ";
mes "Originally you can invest just once but if you pay more money, you can invest twice.";
mes " ";
- if (.@Defense == 100) {
+ if (.@Defence == 100) {
mes "^ff0000But the safeguard level of our castle is peaked at 100%. It doesn't need any more investment. As I expected you have a great acumen, Master.^000000";
close;
}
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;
diff --git a/npc/guild2/arug_cas02.txt b/npc/guild2/arug_cas02.txt
index d486833e4..2e8a6a75f 100644
--- a/npc/guild2/arug_cas02.txt
+++ b/npc/guild2/arug_cas02.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -13,6 +13,7 @@
//= 1.1 Swaped an end for a close in eco investing. [L0ne_W0lf]
//= 1.2 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]
//============================================================
arug_cas02,1,1,0 script Manager#aru02_02 111,{
@@ -395,22 +396,22 @@ arug_cas02,1,1,0 script #aru02_gard01 -1,{
OnEnable:
set .@Defence,GetCastleData("arug_cas02",3);
guardian "arug_cas02",104,32,"Guardian",1899,"#aru02_gard01::OnGuardianDied"; //0;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "arug_cas02",67,36,"Guardian",1899,"#aru02_gard01::OnGuardianDied"; //1;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "arug_cas02",67,36,"Guardian",1899,"#aru02_gard01::OnGuardianDied"; //1;
guardian "arug_cas02",67,85,"Guardian",1899,"#aru02_gard01::OnGuardianDied"; //2;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "arug_cas02",67,36,"Guardian",1899,"#aru02_gard01::OnGuardianDied"; //1;
guardian "arug_cas02",67,85,"Guardian",1899,"#aru02_gard01::OnGuardianDied"; //2;
guardian "arug_cas02",113,87,"Guardian",1899,"#aru02_gard01::OnGuardianDied"; //3;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "arug_cas02",67,36,"Guardian",1899,"#aru02_gard01::OnGuardianDied"; //1;
guardian "arug_cas02",67,85,"Guardian",1899,"#aru02_gard01::OnGuardianDied"; //2;
@@ -473,22 +474,22 @@ arug_cas02,1,2,0 script #aru02_gard02 -1,{
OnEnable:
set .@Defence,GetCastleData("arug_cas02",3);
guardian "arug_cas02",175,31,"Guardian",1899,"#aru02_gard02::OnGuardianDied"; //11;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "arug_cas02",204,32,"Guardian",1899,"#aru02_gard02::OnGuardianDied"; //12;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "arug_cas02",204,32,"Guardian",1899,"#aru02_gard02::OnGuardianDied"; //12;
guardian "arug_cas02",211,63,"Guardian",1899,"#aru02_gard02::OnGuardianDied"; //13;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "arug_cas02",204,32,"Guardian",1899,"#aru02_gard02::OnGuardianDied"; //12;
guardian "arug_cas02",211,63,"Guardian",1899,"#aru02_gard02::OnGuardianDied"; //13;
guardian "arug_cas02",209,88,"Guardian",1899,"#aru02_gard02::OnGuardianDied"; //14;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "arug_cas02",204,32,"Guardian",1899,"#aru02_gard02::OnGuardianDied"; //12;
guardian "arug_cas02",211,63,"Guardian",1899,"#aru02_gard02::OnGuardianDied"; //13;
diff --git a/npc/guild2/arug_cas03.txt b/npc/guild2/arug_cas03.txt
index 1102755fc..b2d83051a 100644
--- a/npc/guild2/arug_cas03.txt
+++ b/npc/guild2/arug_cas03.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -13,6 +13,7 @@
//= 1.1 Swaped an end for a close in eco investing. [L0ne_W0lf]
//= 1.2 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]
//============================================================
arug_cas03,1,1,0 script Manager#aru03_02 111,{
@@ -395,22 +396,22 @@ arug_cas03,1,1,0 script #aru03_gard01 -1,{
OnEnable:
set .@Defence,GetCastleData("arug_cas03",3);
guardian "arug_cas03",130,60,"Guardian",1899,"#aru03_gard01::OnGuardianDied"; //0;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "arug_cas03",128,77,"Guardian",1899,"#aru03_gard01::OnGuardianDied"; //1;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "arug_cas03",128,77,"Guardian",1899,"#aru03_gard01::OnGuardianDied"; //1;
guardian "arug_cas03",128,90,"Guardian",1899,"#aru03_gard01::OnGuardianDied"; //2;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "arug_cas03",128,77,"Guardian",1899,"#aru03_gard01::OnGuardianDied"; //1;
guardian "arug_cas03",128,90,"Guardian",1899,"#aru03_gard01::OnGuardianDied"; //2;
guardian "arug_cas03",128,100,"Guardian",1899,"#aru03_gard01::OnGuardianDied"; //3;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "arug_cas03",128,77,"Guardian",1899,"#aru03_gard01::OnGuardianDied"; //1;
guardian "arug_cas03",128,90,"Guardian",1899,"#aru03_gard01::OnGuardianDied"; //2;
@@ -473,22 +474,22 @@ arug_cas03,1,2,0 script #aru03_gard02 -1,{
OnEnable:
set .@Defence,GetCastleData("arug_cas03",3);
guardian "arug_cas03",156,101,"Guardian",1899,"#aru03_gard02::OnGuardianDied"; //11;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "arug_cas03",172,95,"Guardian",1899,"#aru03_gard02::OnGuardianDied"; //12;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "arug_cas03",172,95,"Guardian",1899,"#aru03_gard02::OnGuardianDied"; //12;
guardian "arug_cas03",154,90,"Guardian",1899,"#aru03_gard02::OnGuardianDied"; //13;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "arug_cas03",172,95,"Guardian",1899,"#aru03_gard02::OnGuardianDied"; //12;
guardian "arug_cas03",154,90,"Guardian",1899,"#aru03_gard02::OnGuardianDied"; //13;
guardian "arug_cas03",156,77,"Guardian",1899,"#aru03_gard02::OnGuardianDied"; //14;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "arug_cas03",172,95,"Guardian",1899,"#aru03_gard02::OnGuardianDied"; //12;
guardian "arug_cas03",154,90,"Guardian",1899,"#aru03_gard02::OnGuardianDied"; //13;
diff --git a/npc/guild2/arug_cas04.txt b/npc/guild2/arug_cas04.txt
index ece110bf4..bae367987 100644
--- a/npc/guild2/arug_cas04.txt
+++ b/npc/guild2/arug_cas04.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -13,6 +13,7 @@
//= 1.1 Swaped an end for a close in eco investing. [L0ne_W0lf]
//= 1.2 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]
//============================================================
arug_cas04,1,1,0 script Manager#aru04_02 111,{
@@ -395,22 +396,22 @@ arug_cas04,1,1,0 script #aru04_gard01 -1,{
OnEnable:
set .@Defence,GetCastleData("arug_cas04",3);
guardian "arug_cas04",130,60,"Guardian",1899,"#aru04_gard01::OnGuardianDied"; //0;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "arug_cas04",128,77,"Guardian",1899,"#aru04_gard01::OnGuardianDied"; //1;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "arug_cas04",128,77,"Guardian",1899,"#aru04_gard01::OnGuardianDied"; //1;
guardian "arug_cas04",128,90,"Guardian",1899,"#aru04_gard01::OnGuardianDied"; //2;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "arug_cas04",128,77,"Guardian",1899,"#aru04_gard01::OnGuardianDied"; //1;
guardian "arug_cas04",128,90,"Guardian",1899,"#aru04_gard01::OnGuardianDied"; //2;
guardian "arug_cas04",128,100,"Guardian",1899,"#aru04_gard01::OnGuardianDied"; //3;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "arug_cas04",128,77,"Guardian",1899,"#aru04_gard01::OnGuardianDied"; //1;
guardian "arug_cas04",128,90,"Guardian",1899,"#aru04_gard01::OnGuardianDied"; //2;
@@ -473,22 +474,22 @@ arug_cas04,1,2,0 script #aru04_gard02 -1,{
OnEnable:
set .@Defence,GetCastleData("arug_cas04",3);
guardian "arug_cas04",156,101,"Guardian",1899,"#aru04_gard02::OnGuardianDied"; //11;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "arug_cas04",172,95,"Guardian",1899,"#aru04_gard02::OnGuardianDied"; //12;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "arug_cas04",172,95,"Guardian",1899,"#aru04_gard02::OnGuardianDied"; //12;
guardian "arug_cas04",154,90,"Guardian",1899,"#aru04_gard02::OnGuardianDied"; //13;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "arug_cas04",172,95,"Guardian",1899,"#aru04_gard02::OnGuardianDied"; //12;
guardian "arug_cas04",154,90,"Guardian",1899,"#aru04_gard02::OnGuardianDied"; //13;
guardian "arug_cas04",156,77,"Guardian",1899,"#aru04_gard02::OnGuardianDied"; //14;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "arug_cas04",172,95,"Guardian",1899,"#aru04_gard02::OnGuardianDied"; //12;
guardian "arug_cas04",154,90,"Guardian",1899,"#aru04_gard02::OnGuardianDied"; //13;
diff --git a/npc/guild2/arug_cas05.txt b/npc/guild2/arug_cas05.txt
index 92a05104b..f5e867abb 100644
--- a/npc/guild2/arug_cas05.txt
+++ b/npc/guild2/arug_cas05.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -13,6 +13,7 @@
//= 1.1 Swaped an end for a close in eco investing. [L0ne_W0lf]
//= 1.2 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]
//============================================================
arug_cas05,1,1,0 script Manager#aru05_02 111,{
@@ -395,22 +396,22 @@ arug_cas05,1,1,0 script #aru05_gard01 -1,{
OnEnable:
set .@Defence,GetCastleData("arug_cas05",3);
guardian "arug_cas05",130,60,"Guardian",1899,"#aru05_gard01::OnGuardianDied"; //0;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "arug_cas05",128,77,"Guardian",1899,"#aru05_gard01::OnGuardianDied"; //1;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "arug_cas05",128,77,"Guardian",1899,"#aru05_gard01::OnGuardianDied"; //1;
guardian "arug_cas05",128,90,"Guardian",1899,"#aru05_gard01::OnGuardianDied"; //2;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "arug_cas05",128,77,"Guardian",1899,"#aru05_gard01::OnGuardianDied"; //1;
guardian "arug_cas05",128,90,"Guardian",1899,"#aru05_gard01::OnGuardianDied"; //2;
guardian "arug_cas05",128,100,"Guardian",1899,"#aru05_gard01::OnGuardianDied"; //3;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "arug_cas05",128,77,"Guardian",1899,"#aru05_gard01::OnGuardianDied"; //1;
guardian "arug_cas05",128,90,"Guardian",1899,"#aru05_gard01::OnGuardianDied"; //2;
@@ -473,22 +474,22 @@ arug_cas05,1,2,0 script #aru05_gard02 -1,{
OnEnable:
set .@Defence,GetCastleData("arug_cas05",3);
guardian "arug_cas05",156,101,"Guardian",1899,"#aru05_gard02::OnGuardianDied"; //11;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "arug_cas05",172,95,"Guardian",1899,"#aru05_gard02::OnGuardianDied"; //12;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "arug_cas05",172,95,"Guardian",1899,"#aru05_gard02::OnGuardianDied"; //12;
guardian "arug_cas05",154,90,"Guardian",1899,"#aru05_gard02::OnGuardianDied"; //13;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "arug_cas05",172,95,"Guardian",1899,"#aru05_gard02::OnGuardianDied"; //12;
guardian "arug_cas05",154,90,"Guardian",1899,"#aru05_gard02::OnGuardianDied"; //13;
guardian "arug_cas05",156,77,"Guardian",1899,"#aru05_gard02::OnGuardianDied"; //14;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "arug_cas05",172,95,"Guardian",1899,"#aru05_gard02::OnGuardianDied"; //12;
guardian "arug_cas05",154,90,"Guardian",1899,"#aru05_gard02::OnGuardianDied"; //13;
diff --git a/npc/guild2/schg_cas01.txt b/npc/guild2/schg_cas01.txt
index 77acd0227..789801535 100644
--- a/npc/guild2/schg_cas01.txt
+++ b/npc/guild2/schg_cas01.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.3
+//= 1.4
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -14,6 +14,7 @@
//= 1.2 Fixed take-over lowering schg_cas04's eco. [L0ne_W0lf]
//= 1.3 Fixed double message in defense investing. [L0ne_W0lf]
//= Corrected a minor typo in the guild steward.
+//= 1.4 Fixed a guardian spawning NPCs. [L0ne_W0lf]
//============================================================
schg_cas01,1,1,0 script Manager#sch01_02 111,{
@@ -396,22 +397,22 @@ schg_cas01,1,1,0 script #sch01_gard01 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas01",3);
guardian "schg_cas01",111,18,"Guardian Soldier",1899,"#sch01_gard01::OnGuardianDied"; //0;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas01",109,44,"Guardian Soldier",1899,"#sch01_gard01::OnGuardianDied"; //1;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas01",109,44,"Guardian Soldier",1899,"#sch01_gard01::OnGuardianDied"; //1;
guardian "schg_cas01",65,22,"Guardian Soldier",1899,"#sch01_gard01::OnGuardianDied"; //2;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas01",109,44,"Guardian Soldier",1899,"#sch01_gard01::OnGuardianDied"; //1;
guardian "schg_cas01",65,22,"Guardian Soldier",1899,"#sch01_gard01::OnGuardianDied"; //2;
guardian "schg_cas01",110,40,"Guardian Soldier",1899,"#sch01_gard01::OnGuardianDied"; //3;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas01",109,44,"Guardian Soldier",1899,"#sch01_gard01::OnGuardianDied"; //1;
guardian "schg_cas01",65,22,"Guardian Soldier",1899,"#sch01_gard01::OnGuardianDied"; //2;
@@ -474,22 +475,22 @@ schg_cas01,1,2,0 script #sch01_gard02 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas01",3);
guardian "schg_cas01",130,22,"Guardian Soldier",1899,"#sch01_gard02::OnGuardianDied"; //11;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas01",187,15,"Guardian Soldier",1899,"#sch01_gard02::OnGuardianDied"; //12;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas01",129,47,"Guardian Soldier",1899,"#sch01_gard02::OnGuardianDied"; //12;
guardian "schg_cas01",151,18,"Guardian Soldier",1899,"#sch01_gard02::OnGuardianDied"; //13;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas01",129,47,"Guardian Soldier",1899,"#sch01_gard02::OnGuardianDied"; //12;
guardian "schg_cas01",151,18,"Guardian Soldier",1899,"#sch01_gard02::OnGuardianDied"; //13;
guardian "schg_cas01",187,15,"Guardian Soldier",1899,"#sch01_gard02::OnGuardianDied"; //14;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas01",129,47,"Guardian Soldier",1899,"#sch01_gard02::OnGuardianDied"; //12;
guardian "schg_cas01",151,18,"Guardian Soldier",1899,"#sch01_gard02::OnGuardianDied"; //13;
diff --git a/npc/guild2/schg_cas02.txt b/npc/guild2/schg_cas02.txt
index 83554d79d..2b0224030 100644
--- a/npc/guild2/schg_cas02.txt
+++ b/npc/guild2/schg_cas02.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.5
+//= 1.6
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -16,6 +16,7 @@
//= 1.4 Fixed 3rd Control Device wasting supplies. [L0ne_W0lf]
//= 1.5 Fixed double message in defense investing. [L0ne_W0lf]
//= Corrected a minor typo in the guild steward.
+//= 1.6 Fixed a guardian spawning NPCs. [L0ne_W0lf]
//============================================================
schg_cas02,1,1,0 script Manager#sch02_02 111,{
@@ -398,22 +399,22 @@ schg_cas02,1,1,0 script #sch02_gard01 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas02",3);
guardian "schg_cas02",326,83,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //0;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas02",337,95,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //1;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas02",337,95,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //1;
guardian "schg_cas02",334,119,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //2;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas02",337,95,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //1;
guardian "schg_cas02",334,119,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //2;
guardian "schg_cas02",296,82,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //3;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas02",337,95,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //1;
guardian "schg_cas02",334,119,"Guardian Soldier",1899,"#sch02_gard01::OnGuardianDied"; //2;
@@ -476,22 +477,22 @@ schg_cas02,1,2,0 script #sch02_gard02 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas02",3);
guardian "schg_cas02",359,85,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //11;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas02",300,119,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //12;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas02",300,119,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //12;
guardian "schg_cas02",337,154,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //13;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas02",300,119,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //12;
guardian "schg_cas02",337,154,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //13;
guardian "schg_cas02",317,183,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //14;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas02",300,119,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //12;
guardian "schg_cas02",337,154,"Guardian Soldier",1899,"#sch02_gard02::OnGuardianDied"; //13;
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;
diff --git a/npc/guild2/schg_cas04.txt b/npc/guild2/schg_cas04.txt
index 40507b609..d1aaa9b91 100644
--- a/npc/guild2/schg_cas04.txt
+++ b/npc/guild2/schg_cas04.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -13,6 +13,7 @@
//= 1.1 Swaped an end for a close in eco investing. [L0ne_W0lf]
//= 1.2 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_cas04,1,1,0 script Manager#sch04_02 111,{
@@ -395,22 +396,22 @@ schg_cas04,1,1,0 script #sch04_gard01 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas04",3);
guardian "schg_cas04",111,18,"Guardian Soldier",1899,"#sch04_gard01::OnGuardianDied"; //0;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas04",109,44,"Guardian Soldier",1899,"#sch04_gard01::OnGuardianDied"; //1;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas04",109,44,"Guardian Soldier",1899,"#sch04_gard01::OnGuardianDied"; //1;
guardian "schg_cas04",65,22,"Guardian Soldier",1899,"#sch04_gard01::OnGuardianDied"; //2;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas04",109,44,"Guardian Soldier",1899,"#sch04_gard01::OnGuardianDied"; //1;
guardian "schg_cas04",65,22,"Guardian Soldier",1899,"#sch04_gard01::OnGuardianDied"; //2;
guardian "schg_cas04",110,40,"Guardian Soldier",1899,"#sch04_gard01::OnGuardianDied"; //3;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas04",109,44,"Guardian Soldier",1899,"#sch04_gard01::OnGuardianDied"; //1;
guardian "schg_cas04",65,22,"Guardian Soldier",1899,"#sch04_gard01::OnGuardianDied"; //2;
@@ -473,22 +474,22 @@ schg_cas04,1,2,0 script #sch04_gard02 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas04",3);
guardian "schg_cas04",130,22,"Guardian Soldier",1899,"#sch04_gard02::OnGuardianDied"; //11;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas04",187,15,"Guardian Soldier",1899,"#sch04_gard02::OnGuardianDied"; //12;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas04",129,47,"Guardian Soldier",1899,"#sch04_gard02::OnGuardianDied"; //12;
guardian "schg_cas04",151,18,"Guardian Soldier",1899,"#sch04_gard02::OnGuardianDied"; //13;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas04",129,47,"Guardian Soldier",1899,"#sch04_gard02::OnGuardianDied"; //12;
guardian "schg_cas04",151,18,"Guardian Soldier",1899,"#sch04_gard02::OnGuardianDied"; //13;
guardian "schg_cas04",187,15,"Guardian Soldier",1899,"#sch04_gard02::OnGuardianDied"; //14;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas04",129,47,"Guardian Soldier",1899,"#sch04_gard02::OnGuardianDied"; //12;
guardian "schg_cas04",151,18,"Guardian Soldier",1899,"#sch04_gard02::OnGuardianDied"; //13;
diff --git a/npc/guild2/schg_cas05.txt b/npc/guild2/schg_cas05.txt
index 03da2e257..41729f0d8 100644
--- a/npc/guild2/schg_cas05.txt
+++ b/npc/guild2/schg_cas05.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -13,6 +13,7 @@
//= 1.1 Swaped an end for a close in eco investing. [L0ne_W0lf]
//= 1.2 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_cas05,1,1,0 script Manager#sch05_02 111,{
@@ -395,22 +396,22 @@ schg_cas05,1,1,0 script #sch05_gard01 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas05",3);
guardian "schg_cas05",111,18,"Guardian Soldier",1899,"#sch05_gard01::OnGuardianDied"; //0;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas05",109,44,"Guardian Soldier",1899,"#sch05_gard01::OnGuardianDied"; //1;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas05",109,44,"Guardian Soldier",1899,"#sch05_gard01::OnGuardianDied"; //1;
guardian "schg_cas05",65,22,"Guardian Soldier",1899,"#sch05_gard01::OnGuardianDied"; //2;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas05",109,44,"Guardian Soldier",1899,"#sch05_gard01::OnGuardianDied"; //1;
guardian "schg_cas05",65,22,"Guardian Soldier",1899,"#sch05_gard01::OnGuardianDied"; //2;
guardian "schg_cas05",110,40,"Guardian Soldier",1899,"#sch05_gard01::OnGuardianDied"; //3;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas05",109,44,"Guardian Soldier",1899,"#sch05_gard01::OnGuardianDied"; //1;
guardian "schg_cas05",65,22,"Guardian Soldier",1899,"#sch05_gard01::OnGuardianDied"; //2;
@@ -473,22 +474,22 @@ schg_cas05,1,2,0 script #sch05_gard02 -1,{
OnEnable:
set .@Defence,GetCastleData("schg_cas05",3);
guardian "schg_cas05",130,22,"Guardian Soldier",1899,"#sch05_gard02::OnGuardianDied"; //11;
- if ((.@Defense > 10) && (.@Defense < 31)) {
+ if ((.@defence > 10) && (.@defence < 31)) {
set .MyMobCount,2;
guardian "schg_cas05",187,15,"Guardian Soldier",1899,"#sch05_gard02::OnGuardianDied"; //12;
}
- else if ((.@Defense > 30) && (.@Defense < 51)) {
+ else if ((.@defence > 30) && (.@defence < 51)) {
set .MyMobCount,3;
guardian "schg_cas05",129,47,"Guardian Soldier",1899,"#sch05_gard02::OnGuardianDied"; //12;
guardian "schg_cas05",151,18,"Guardian Soldier",1899,"#sch05_gard02::OnGuardianDied"; //13;
}
- else if ((.@Defense > 50) && (.@Defense < 71)) {
+ else if ((.@defence > 50) && (.@defence < 71)) {
set .MyMobCount,4;
guardian "schg_cas05",129,47,"Guardian Soldier",1899,"#sch05_gard02::OnGuardianDied"; //12;
guardian "schg_cas05",151,18,"Guardian Soldier",1899,"#sch05_gard02::OnGuardianDied"; //13;
guardian "schg_cas05",187,15,"Guardian Soldier",1899,"#sch05_gard02::OnGuardianDied"; //14;
}
- else if (.@Defense > 70) {
+ else if (.@defence > 70) {
set .MyMobCount,5;
guardian "schg_cas05",129,47,"Guardian Soldier",1899,"#sch05_gard02::OnGuardianDied"; //12;
guardian "schg_cas05",151,18,"Guardian Soldier",1899,"#sch05_gard02::OnGuardianDied"; //13;