summaryrefslogtreecommitdiff
path: root/npc/guild2/arug_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/arug_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/arug_cas02.txt')
-rw-r--r--npc/guild2/arug_cas02.txt57
1 files changed, 29 insertions, 28 deletions
diff --git a/npc/guild2/arug_cas02.txt b/npc/guild2/arug_cas02.txt
index d200f57ae..4cc3bea60 100644
--- a/npc/guild2/arug_cas02.txt
+++ b/npc/guild2/arug_cas02.txt
@@ -22,6 +22,7 @@
//= 1.7 Another two fixes [Yommy]
//= 1.8 Corrected copy/paste error. [L0ne_W0lf]
//= 1.9 Implemented new Wall System. [Zephyrus]
+//= 2.0 Replaced effect numerics with constants. [L0ne_W0lf]
//============================================================
arug_cas02,1,1,0 script Manager#aru02_02 111,{
@@ -695,7 +696,7 @@ arug_cas02,33,168,0 script 1st Guardian Stone#aru02 844,{
else {
switch(rand(1,3)) {
case 1:
- specialeffect 54; //"1st Guardian Stone#aru02" EF_BEGINSPELL2
+ specialeffect EF_BEGINSPELL2;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -718,13 +719,13 @@ arug_cas02,33,168,0 script 1st Guardian Stone#aru02 844,{
mes "^3355FFYou placed the Blue Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"1st Guardian Stone#aru02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
}
break;
case 2:
- specialeffect 225; //"1st Guardian Stone#aru02" EF_VOLCANO
+ specialeffect EF_VOLCANO;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -735,7 +736,7 @@ arug_cas02,33,168,0 script 1st Guardian Stone#aru02 844,{
mes "^3355FFYou placed the Red Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"1st Guardian Stone#aru02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 2:
@@ -753,7 +754,7 @@ arug_cas02,33,168,0 script 1st Guardian Stone#aru02 844,{
}
break;
case 3:
- specialeffect 56; //"1st Guardian Stone#aru02" EF_BEGINSPELL4
+ specialeffect EF_BEGINSPELL4;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -770,7 +771,7 @@ arug_cas02,33,168,0 script 1st Guardian Stone#aru02 844,{
mes "^3355FFYou placed the Yellow Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"1st Guardian Stone#aru02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 3:
@@ -810,7 +811,7 @@ arug_cas02,33,168,0 script 1st Guardian Stone#aru02 844,{
delitem 716,5; //Red_Gemstone
close2;
donpcevent "#aru02_df01::OnEnable";
- specialeffect 135; //"1st Guardian Stone#aru02" EF_ICECRASH
+ specialeffect EF_ICECRASH;
disablenpc "1st Guardian Stone#aru02";
setarray $agit_ar02[0],0;
set .@df_all,$agit_ar02[0]+$agit_ar02[1];
@@ -856,7 +857,7 @@ OnInit:
OnEnable:
enablenpc "1st Guardian Stone#aru02";
- specialeffect 247; //"1st Guardian Stone#aru02" EF_MAPPILLAR2
+ specialeffect EF_MAPPILLAR2;
end;
OnDisable:
@@ -1004,7 +1005,7 @@ arug_cas02,245,168,0 script 2nd Guardian Stone#aru02 844,{
else {
switch(rand(1,3)) {
case 1:
- specialeffect 54; //"2nd Guardian Stone#aru02" EF_BEGINSPELL2
+ specialeffect EF_BEGINSPELL2;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -1027,13 +1028,13 @@ arug_cas02,245,168,0 script 2nd Guardian Stone#aru02 844,{
mes "^3355FFYou placed the Blue Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"2nd Guardian Stone#aru02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
}
break;
case 2:
- specialeffect 225; //"2nd Guardian Stone#aru02" EF_VOLCANO
+ specialeffect EF_VOLCANO;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -1044,7 +1045,7 @@ arug_cas02,245,168,0 script 2nd Guardian Stone#aru02 844,{
mes "^3355FFYou placed the Red Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"2nd Guardian Stone#aru02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 2:
@@ -1062,7 +1063,7 @@ arug_cas02,245,168,0 script 2nd Guardian Stone#aru02 844,{
}
break;
case 3:
- specialeffect 56; //"2nd Guardian Stone#aru02" EF_BEGINSPELL4
+ specialeffect EF_BEGINSPELL4;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -1079,7 +1080,7 @@ arug_cas02,245,168,0 script 2nd Guardian Stone#aru02 844,{
mes "^3355FFYou placed the Yellow Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"2nd Guardian Stone#aru02" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 3:
@@ -1119,7 +1120,7 @@ arug_cas02,245,168,0 script 2nd Guardian Stone#aru02 844,{
delitem 716,5; //Red_Gemstone
close2;
donpcevent "#aru02_df02::OnEnable";
- specialeffect 135; //"2nd Guardian Stone#aru02" EF_ICECRASH
+ specialeffect EF_ICECRASH;
disablenpc "2nd Guardian Stone#aru02";
setarray $agit_ar02[1],0;
set .@df_all,$agit_ar02[0]+$agit_ar02[1];
@@ -1165,7 +1166,7 @@ OnInit:
OnEnable:
enablenpc "2nd Guardian Stone#aru02";
- specialeffect 247; //"2nd Guardian Stone#aru02" EF_MAPPILLAR2
+ specialeffect EF_MAPPILLAR2;
end;
OnDisable:
@@ -1313,7 +1314,7 @@ arug_cas02,143,228,0 script Control Device01#aru02 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:
@@ -1366,7 +1367,7 @@ arug_cas02,143,228,0 script Control Device01#aru02 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;
}
@@ -1390,7 +1391,7 @@ arug_cas02,143,228,0 script Control Device01#aru02 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:
@@ -1431,7 +1432,7 @@ arug_cas02,143,228,0 script Control Device01#aru02 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:
@@ -1550,7 +1551,7 @@ arug_cas02,118,356,0 script Control Device02#aru02 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:
@@ -1603,7 +1604,7 @@ arug_cas02,118,356,0 script Control Device02#aru02 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;
}
@@ -1627,7 +1628,7 @@ arug_cas02,118,356,0 script Control Device02#aru02 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:
@@ -1668,7 +1669,7 @@ arug_cas02,118,356,0 script Control Device02#aru02 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:
@@ -1789,7 +1790,7 @@ arug_cas02,56,308,0 script Control Device03#aru02 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:
@@ -1842,7 +1843,7 @@ arug_cas02,56,308,0 script Control Device03#aru02 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;
}
@@ -1866,7 +1867,7 @@ arug_cas02,56,308,0 script Control Device03#aru02 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:
@@ -1907,7 +1908,7 @@ arug_cas02,56,308,0 script Control Device03#aru02 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: