summaryrefslogtreecommitdiff
path: root/npc/guild2/arug_cas04.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/guild2/arug_cas04.txt')
-rw-r--r--npc/guild2/arug_cas04.txt57
1 files changed, 29 insertions, 28 deletions
diff --git a/npc/guild2/arug_cas04.txt b/npc/guild2/arug_cas04.txt
index c2c45f6a5..1ccda2634 100644
--- a/npc/guild2/arug_cas04.txt
+++ b/npc/guild2/arug_cas04.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.6
+//= 1.7
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -19,6 +19,7 @@
//= Treasure will now be killed before spawning.
//= 1.5 Fixed error with control devices. [L0ne_W0lf]
//= 1.6 Corrected copy/paste error. [L0ne_W0lf]
+//= 1.7 Replaced effect numerics with constants. [L0ne_W0lf]
//============================================================
arug_cas04,1,1,0 script Manager#aru04_02 111,{
@@ -692,7 +693,7 @@ arug_cas04,65,171,0 script 1st Guardian Stone#aru04 844,{
else {
switch(rand(1,3)) {
case 1:
- specialeffect 54; //"1st Guardian Stone#aru04" EF_BEGINSPELL2
+ specialeffect EF_BEGINSPELL2;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -715,13 +716,13 @@ arug_cas04,65,171,0 script 1st Guardian Stone#aru04 844,{
mes "^3355FFYou placed the Blue Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"1st Guardian Stone#aru04" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
}
break;
case 2:
- specialeffect 225; //"1st Guardian Stone#aru04" EF_VOLCANO
+ specialeffect EF_VOLCANO;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -732,7 +733,7 @@ arug_cas04,65,171,0 script 1st Guardian Stone#aru04 844,{
mes "^3355FFYou placed the Red Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"1st Guardian Stone#aru04" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 2:
@@ -750,7 +751,7 @@ arug_cas04,65,171,0 script 1st Guardian Stone#aru04 844,{
}
break;
case 3:
- specialeffect 56; //"1st Guardian Stone#aru04" EF_BEGINSPELL4
+ specialeffect EF_BEGINSPELL4;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -767,7 +768,7 @@ arug_cas04,65,171,0 script 1st Guardian Stone#aru04 844,{
mes "^3355FFYou placed the Yellow Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"1st Guardian Stone#aru04" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 3:
@@ -807,7 +808,7 @@ arug_cas04,65,171,0 script 1st Guardian Stone#aru04 844,{
delitem 716,5; //Red_Gemstone
close2;
donpcevent "#aru04_df01::OnEnable";
- specialeffect 135; //"1st Guardian Stone#aru04" EF_ICECRASH
+ specialeffect EF_ICECRASH;
disablenpc "1st Guardian Stone#aru04";
setarray $agit_ar04[0],0;
set .@df_all,$agit_ar04[0]+$agit_ar04[1];
@@ -853,7 +854,7 @@ OnInit:
OnEnable:
enablenpc "1st Guardian Stone#aru04";
- specialeffect 247; //"1st Guardian Stone#aru04" EF_MAPPILLAR2
+ specialeffect EF_MAPPILLAR2;
end;
OnDisable:
@@ -1001,7 +1002,7 @@ arug_cas04,212,149,0 script 2nd Guardian Stone#aru04 844,{
else {
switch(rand(1,3)) {
case 1:
- specialeffect 54; //"2nd Guardian Stone#aru04" EF_BEGINSPELL2
+ specialeffect EF_BEGINSPELL2;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -1024,13 +1025,13 @@ arug_cas04,212,149,0 script 2nd Guardian Stone#aru04 844,{
mes "^3355FFYou placed the Blue Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"2nd Guardian Stone#aru04" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
}
break;
case 2:
- specialeffect 225; //"2nd Guardian Stone#aru04" EF_VOLCANO
+ specialeffect EF_VOLCANO;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -1041,7 +1042,7 @@ arug_cas04,212,149,0 script 2nd Guardian Stone#aru04 844,{
mes "^3355FFYou placed the Red Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"2nd Guardian Stone#aru04" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 2:
@@ -1059,7 +1060,7 @@ arug_cas04,212,149,0 script 2nd Guardian Stone#aru04 844,{
}
break;
case 3:
- specialeffect 56; //"2nd Guardian Stone#aru04" EF_BEGINSPELL4
+ specialeffect EF_BEGINSPELL4;
mes "^3355FFThe Gemstones must";
mes "be arranged in the correct";
mes "order according to their";
@@ -1076,7 +1077,7 @@ arug_cas04,212,149,0 script 2nd Guardian Stone#aru04 844,{
mes "^3355FFYou placed the Yellow Gemstone.^000000";
set .@nice,.@nice+10;
set .@roof0,.@roof0 + 1;
- specialeffect 18; //"2nd Guardian Stone#aru04" EF_STEAL
+ specialeffect EF_STEAL;
next;
break;
case 3:
@@ -1116,7 +1117,7 @@ arug_cas04,212,149,0 script 2nd Guardian Stone#aru04 844,{
delitem 716,5; //Red_Gemstone
close2;
donpcevent "#aru04_df02::OnEnable";
- specialeffect 135; //"2nd Guardian Stone#aru04" EF_ICECRASH
+ specialeffect EF_ICECRASH;
disablenpc "2nd Guardian Stone#aru04";
setarray $agit_ar04[1],0;
set .@df_all,$agit_ar04[0]+$agit_ar04[1];
@@ -1313,7 +1314,7 @@ arug_cas04,143,158,0 script Control Device01#aru04 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_cas04,143,158,0 script Control Device01#aru04 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_cas04,143,158,0 script Control Device01#aru04 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_cas04,143,158,0 script Control Device01#aru04 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_cas04,135,212,0 script Control Device02#aru04 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_cas04,135,212,0 script Control Device02#aru04 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_cas04,135,212,0 script Control Device02#aru04 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_cas04,135,212,0 script Control Device02#aru04 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_cas04,134,266,0 script Control Device03#aru04 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_cas04,134,266,0 script Control Device03#aru04 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_cas04,134,266,0 script Control Device03#aru04 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_cas04,134,266,0 script Control Device03#aru04 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: