diff options
Diffstat (limited to 'npc/guild2/arug_cas05.txt')
-rw-r--r-- | npc/guild2/arug_cas05.txt | 59 |
1 files changed, 30 insertions, 29 deletions
diff --git a/npc/guild2/arug_cas05.txt b/npc/guild2/arug_cas05.txt index 3f5c767b6..36bb499ca 100644 --- a/npc/guild2/arug_cas05.txt +++ b/npc/guild2/arug_cas05.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_cas05,1,1,0 script Manager#aru05_02 111,{ @@ -692,7 +693,7 @@ arug_cas05,65,171,0 script 1st Guardian Stone#aru05 844,{ else { switch(rand(1,3)) { case 1: - specialeffect 54; //"1st Guardian Stone#aru05" 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_cas05,65,171,0 script 1st Guardian Stone#aru05 844,{ mes "^3355FFYou placed the Blue Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"1st Guardian Stone#aru05" EF_STEAL + specialeffect EF_STEAL; next; break; } break; case 2: - specialeffect 225; //"1st Guardian Stone#aru05" 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_cas05,65,171,0 script 1st Guardian Stone#aru05 844,{ mes "^3355FFYou placed the Red Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"1st Guardian Stone#aru05" EF_STEAL + specialeffect EF_STEAL; next; break; case 2: @@ -750,7 +751,7 @@ arug_cas05,65,171,0 script 1st Guardian Stone#aru05 844,{ } break; case 3: - specialeffect 56; //"1st Guardian Stone#aru05" 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_cas05,65,171,0 script 1st Guardian Stone#aru05 844,{ mes "^3355FFYou placed the Yellow Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"1st Guardian Stone#aru05" EF_STEAL + specialeffect EF_STEAL; next; break; case 3: @@ -807,7 +808,7 @@ arug_cas05,65,171,0 script 1st Guardian Stone#aru05 844,{ delitem 716,5; //Red_Gemstone close2; donpcevent "#aru05_df01::OnEnable"; - specialeffect 135; //"1st Guardian Stone#aru05" EF_ICECRASH + specialeffect EF_ICECRASH; disablenpc "1st Guardian Stone#aru05"; setarray $agit_ar05[0],0; set .@df_all,$agit_ar05[0]+$agit_ar05[1]; @@ -853,7 +854,7 @@ OnInit: OnEnable: enablenpc "1st Guardian Stone#aru05"; - specialeffect 247; //"1st Guardian Stone#aru05" EF_MAPPILLAR2 + specialeffect EF_MAPPILLAR2; end; OnDisable: @@ -1001,7 +1002,7 @@ arug_cas05,212,149,0 script 2nd Guardian Stone#aru05 844,{ else { switch(rand(1,3)) { case 1: - specialeffect 54; //"2nd Guardian Stone#aru05" 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_cas05,212,149,0 script 2nd Guardian Stone#aru05 844,{ mes "^3355FFYou placed the Blue Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"2nd Guardian Stone#aru05" EF_STEAL + specialeffect EF_STEAL; next; break; } break; case 2: - specialeffect 225; //"2nd Guardian Stone#aru05" 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_cas05,212,149,0 script 2nd Guardian Stone#aru05 844,{ mes "^3355FFYou placed the Red Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"2nd Guardian Stone#aru05" EF_STEAL + specialeffect EF_STEAL; next; break; case 2: @@ -1059,7 +1060,7 @@ arug_cas05,212,149,0 script 2nd Guardian Stone#aru05 844,{ } break; case 3: - specialeffect 56; //"2nd Guardian Stone#aru05" 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_cas05,212,149,0 script 2nd Guardian Stone#aru05 844,{ mes "^3355FFYou placed the Yellow Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"2nd Guardian Stone#aru05" EF_STEAL + specialeffect EF_STEAL; next; break; case 3: @@ -1116,7 +1117,7 @@ arug_cas05,212,149,0 script 2nd Guardian Stone#aru05 844,{ delitem 716,5; //Red_Gemstone close2; donpcevent "#aru05_df02::OnEnable"; - specialeffect 135; //"2nd Guardian Stone#aru05" EF_ICECRASH + specialeffect EF_ICECRASH; disablenpc "2nd Guardian Stone#aru05"; setarray $agit_ar05[1],0; set .@df_all,$agit_ar05[0]+$agit_ar05[1]; @@ -1162,7 +1163,7 @@ OnInit: OnEnable: enablenpc "2nd Guardian Stone#aru05"; - specialeffect 247; //"2nd Guardian Stone#aru05" EF_MAPPILLAR2 + specialeffect EF_MAPPILLAR2; end; OnDisable: @@ -1313,7 +1314,7 @@ arug_cas05,136,158,0 script Control Device01#aru05 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_cas05,136,158,0 script Control Device01#aru05 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_cas05,136,158,0 script Control Device01#aru05 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_cas05,136,158,0 script Control Device01#aru05 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_cas05,135,212,0 script Control Device02#aru05 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_cas05,135,212,0 script Control Device02#aru05 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_cas05,135,212,0 script Control Device02#aru05 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_cas05,135,212,0 script Control Device02#aru05 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_cas05,134,266,0 script Control Device03#aru05 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_cas05,134,266,0 script Control Device03#aru05 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_cas05,134,266,0 script Control Device03#aru05 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_cas05,134,266,0 script Control Device03#aru05 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: |