summaryrefslogtreecommitdiff
path: root/npc/guild2/schg_cas02.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-25 22:41:48 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-25 22:41:48 +0000
commit3caa9006c553603e1d28278da4c83991ac87bc7f (patch)
treef7edf3cf98eabc634d3ec8883e662196d890a05c /npc/guild2/schg_cas02.txt
parent786e158717dec493ff9dfa573220b1084a557953 (diff)
downloadhercules-3caa9006c553603e1d28278da4c83991ac87bc7f.tar.gz
hercules-3caa9006c553603e1d28278da4c83991ac87bc7f.tar.bz2
hercules-3caa9006c553603e1d28278da4c83991ac87bc7f.tar.xz
hercules-3caa9006c553603e1d28278da4c83991ac87bc7f.zip
* Continues replacing of specialeffect/2 numerics with constants.
- A lot of files still remain, but they don't have the proper effect names in commented in beside the ID. ;P git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13238 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild2/schg_cas02.txt')
-rw-r--r--npc/guild2/schg_cas02.txt59
1 files changed, 30 insertions, 29 deletions
diff --git a/npc/guild2/schg_cas02.txt b/npc/guild2/schg_cas02.txt
index 8e835a743..6c1bff09e 100644
--- a/npc/guild2/schg_cas02.txt
+++ b/npc/guild2/schg_cas02.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.8
+//= 1.9
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -21,6 +21,7 @@
//= Made it so treasure won't spawn if castle is empty.
//= Treasure will now be killed before spawning.
//= 1.8 Fixed error with control devices. [L0ne_W0lf]
+//= 1.9 Replaced effect numerics with constants. [L0ne_W0lf]
//============================================================
schg_cas02,1,1,0 script Manager#sch02_02 111,{
@@ -694,7 +695,7 @@ schg_cas02,231,57,0 script 1st Guardian Stone#sch02 844,{
else {
switch(rand(1,3)) {
case 1:
- specialeffect 54; //"1st Guardian Stone#sch02" EF_BEGINSPELL2
+ specialeffect EF_BEGINSPELL2;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -717,13 +718,13 @@ schg_cas02,231,57,0 script 1st Guardian Stone#sch02 844,{
mes "^3355FFYou placed the Blue Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"1st Guardian Stone#sch02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
}
break;
case 2:
- specialeffect 225; //"1st Guardian Stone#sch02" EF_VOLCANO
+ specialeffect EF_VOLCANO;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -734,7 +735,7 @@ schg_cas02,231,57,0 script 1st Guardian Stone#sch02 844,{
mes "^3355FFYou placed the Red Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"1st Guardian Stone#sch02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 2:
@@ -752,7 +753,7 @@ schg_cas02,231,57,0 script 1st Guardian Stone#sch02 844,{
}
break;
case 3:
- specialeffect 56; //"1st Guardian Stone#sch02" EF_BEGINSPELL4
+ specialeffect EF_BEGINSPELL4;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -769,7 +770,7 @@ schg_cas02,231,57,0 script 1st Guardian Stone#sch02 844,{
mes "^3355FFYou placed the Yellow Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"1st Guardian Stone#sch02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 3:
@@ -809,7 +810,7 @@ schg_cas02,231,57,0 script 1st Guardian Stone#sch02 844,{
delitem 716,5; //Red_Gemstone
close2;
donpcevent "#sch02_df01::OnEnable";
- specialeffect 135; //"1st Guardian Stone#sch02" EF_ICECRASH
+ specialeffect EF_ICECRASH;
disablenpc "1st Guardian Stone#sch02";
setarray $agit_sc02[0],0;
set .@df_all,$agit_sc02[0]+$agit_sc02[1];
@@ -855,7 +856,7 @@ OnInit:
OnEnable:
enablenpc "1st Guardian Stone#sch02";
- specialeffect 247; //"1st Guardian Stone#sch02" EF_MAPPILLAR2
+ specialeffect EF_MAPPILLAR2;
end;
OnDisable:
@@ -1003,7 +1004,7 @@ schg_cas02,335,231,0 script 2nd Guardian Stone#sch02 844,{
else {
switch(rand(1,3)) {
case 1:
- specialeffect 54; //"2nd Guardian Stone#sch02" EF_BEGINSPELL2
+ specialeffect EF_BEGINSPELL2;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -1026,13 +1027,13 @@ schg_cas02,335,231,0 script 2nd Guardian Stone#sch02 844,{
mes "^3355FFYou placed the Blue Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"2nd Guardian Stone#sch02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
}
break;
case 2:
- specialeffect 225; //"2nd Guardian Stone#sch02" EF_VOLCANO
+ specialeffect EF_VOLCANO;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -1043,7 +1044,7 @@ schg_cas02,335,231,0 script 2nd Guardian Stone#sch02 844,{
mes "^3355FFYou placed the Red Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"2nd Guardian Stone#sch02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 2:
@@ -1061,7 +1062,7 @@ schg_cas02,335,231,0 script 2nd Guardian Stone#sch02 844,{
}
break;
case 3:
- specialeffect 56; //"2nd Guardian Stone#sch02" EF_BEGINSPELL4
+ specialeffect EF_BEGINSPELL4;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -1078,7 +1079,7 @@ schg_cas02,335,231,0 script 2nd Guardian Stone#sch02 844,{
mes "^3355FFYou placed the Yellow Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"2nd Guardian Stone#sch02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 3:
@@ -1118,7 +1119,7 @@ schg_cas02,335,231,0 script 2nd Guardian Stone#sch02 844,{
delitem 716,5; //Red_Gemstone
close2;
donpcevent "#sch02_df02::OnEnable";
- specialeffect 135; //"2nd Guardian Stone#sch02" EF_ICECRASH
+ specialeffect EF_ICECRASH;
disablenpc "2nd Guardian Stone#sch02";
setarray $agit_sc02[1],0;
set .@df_all,$agit_sc02[0]+$agit_sc02[1];
@@ -1164,7 +1165,7 @@ OnInit:
OnEnable:
enablenpc "2nd Guardian Stone#sch02";
- specialeffect 247; //"2nd Guardian Stone#sch02" EF_MAPPILLAR2
+ specialeffect EF_MAPPILLAR2;
end;
OnDisable:
@@ -1314,7 +1315,7 @@ schg_cas02,288,97,0 script Control Device01#sch02 111,{
mes "reinforced with wood.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 2:
@@ -1365,7 +1366,7 @@ schg_cas02,288,97,0 script Control Device01#sch02 111,{
mes "like this will work.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
}
@@ -1389,7 +1390,7 @@ schg_cas02,288,97,0 script Control Device01#sch02 111,{
mes "is starting to look more solid.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 3:
@@ -1430,7 +1431,7 @@ schg_cas02,288,97,0 script Control Device01#sch02 111,{
mes "much of the gate's damage.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 4:
@@ -1549,7 +1550,7 @@ schg_cas02,230,209,0 script Control Device02#sch02 111,{
mes "reinforced with wood.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 2:
@@ -1602,7 +1603,7 @@ schg_cas02,230,209,0 script Control Device02#sch02 111,{
mes "like this will work.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
}
@@ -1626,7 +1627,7 @@ schg_cas02,230,209,0 script Control Device02#sch02 111,{
mes "is starting to look more solid.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 3:
@@ -1667,7 +1668,7 @@ schg_cas02,230,209,0 script Control Device02#sch02 111,{
mes "much of the gate's damage.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 4:
@@ -1788,7 +1789,7 @@ schg_cas02,159,143,0 script Control Device03#sch02 111,{
mes "reinforced with wood.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 2:
@@ -1841,7 +1842,7 @@ schg_cas02,159,143,0 script Control Device03#sch02 111,{
mes "like this will work.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
}
@@ -1865,7 +1866,7 @@ schg_cas02,159,143,0 script Control Device03#sch02 111,{
mes "is starting to look more solid.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 3:
@@ -1906,7 +1907,7 @@ schg_cas02,159,143,0 script Control Device03#sch02 111,{
mes "much of the gate's damage.^000000";
set .@rp_temp,.@rp_temp + 1;
set .@ro_of02,.@ro_of02 + 1;
- specialeffect2 101; // EF_REPAIRWEAPON
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 4: