diff options
Diffstat (limited to 'npc/guild2/arug_cas03.txt')
-rw-r--r-- | npc/guild2/arug_cas03.txt | 59 |
1 files changed, 30 insertions, 29 deletions
diff --git a/npc/guild2/arug_cas03.txt b/npc/guild2/arug_cas03.txt index fc23941b8..2d7b4c7fb 100644 --- a/npc/guild2/arug_cas03.txt +++ b/npc/guild2/arug_cas03.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.7 +//= 1.8 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -21,6 +21,7 @@ //= 1.5 Fixed error with control devices. [L0ne_W0lf] //= 1.6 Corrected copy/paste error. [L0ne_W0lf] //= 1.7 Implemented new Wall System. [Zephyrus] +//= 1.8 Replaced effect numerics with constants. [L0ne_W0lf] //============================================================ arug_cas03,1,1,0 script Manager#aru03_02 111,{ @@ -694,7 +695,7 @@ arug_cas03,65,171,0 script 1st Guardian Stone#aru03 844,{ else { switch(rand(1,3)) { case 1: - specialeffect 54; //"1st Guardian Stone#aru03" EF_BEGINSPELL2 + specialeffect EF_BEGINSPELL2; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -717,13 +718,13 @@ arug_cas03,65,171,0 script 1st Guardian Stone#aru03 844,{ mes "^3355FFYou placed the Blue Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"1st Guardian Stone#aru03" EF_STEAL + specialeffect EF_STEAL; next; break; } break; case 2: - specialeffect 225; //"1st Guardian Stone#aru03" EF_VOLCANO + specialeffect EF_VOLCANO; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -734,7 +735,7 @@ arug_cas03,65,171,0 script 1st Guardian Stone#aru03 844,{ mes "^3355FFYou placed the Red Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"1st Guardian Stone#aru03" EF_STEAL + specialeffect EF_STEAL; next; break; case 2: @@ -752,7 +753,7 @@ arug_cas03,65,171,0 script 1st Guardian Stone#aru03 844,{ } break; case 3: - specialeffect 56; //"1st Guardian Stone#aru03" EF_BEGINSPELL4 + specialeffect EF_BEGINSPELL4; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -769,7 +770,7 @@ arug_cas03,65,171,0 script 1st Guardian Stone#aru03 844,{ mes "^3355FFYou placed the Yellow Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"1st Guardian Stone#aru03" EF_STEAL + specialeffect EF_STEAL; next; break; case 3: @@ -809,7 +810,7 @@ arug_cas03,65,171,0 script 1st Guardian Stone#aru03 844,{ delitem 716,5; //Red_Gemstone close2; donpcevent "#aru03_df01::OnEnable"; - specialeffect 135; //"1st Guardian Stone#aru03" EF_ICECRASH + specialeffect EF_ICECRASH; disablenpc "1st Guardian Stone#aru03"; setarray $agit_ar03[0],0; set .@df_all,$agit_ar03[0]+$agit_ar03[1]; @@ -855,7 +856,7 @@ OnInit: OnEnable: enablenpc "1st Guardian Stone#aru03"; - specialeffect 247; //"1st Guardian Stone#aru03" EF_MAPPILLAR2 + specialeffect EF_MAPPILLAR2; end; OnDisable: @@ -1003,7 +1004,7 @@ arug_cas03,212,149,0 script 2nd Guardian Stone#aru03 844,{ else { switch(rand(1,3)) { case 1: - specialeffect 54; //"2nd Guardian Stone#aru03" EF_BEGINSPELL2 + specialeffect EF_BEGINSPELL2; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -1026,13 +1027,13 @@ arug_cas03,212,149,0 script 2nd Guardian Stone#aru03 844,{ mes "^3355FFYou placed the Blue Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"2nd Guardian Stone#aru03" EF_STEAL + specialeffect EF_STEAL; next; break; } break; case 2: - specialeffect 225; //"2nd Guardian Stone#aru03" EF_VOLCANO + specialeffect EF_VOLCANO; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -1043,7 +1044,7 @@ arug_cas03,212,149,0 script 2nd Guardian Stone#aru03 844,{ mes "^3355FFYou placed the Red Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"2nd Guardian Stone#aru03" EF_STEAL + specialeffect EF_STEAL; next; break; case 2: @@ -1061,7 +1062,7 @@ arug_cas03,212,149,0 script 2nd Guardian Stone#aru03 844,{ } break; case 3: - specialeffect 56; //"2nd Guardian Stone#aru03" EF_BEGINSPELL4 + specialeffect EF_BEGINSPELL4; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -1078,7 +1079,7 @@ arug_cas03,212,149,0 script 2nd Guardian Stone#aru03 844,{ mes "^3355FFYou placed the Yellow Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"2nd Guardian Stone#aru03" EF_STEAL + specialeffect EF_STEAL; next; break; case 3: @@ -1118,7 +1119,7 @@ arug_cas03,212,149,0 script 2nd Guardian Stone#aru03 844,{ delitem 716,5; //Red_Gemstone close2; donpcevent "#aru03_df02::OnEnable"; - specialeffect 135; //"2nd Guardian Stone#aru03" EF_ICECRASH + specialeffect EF_ICECRASH; disablenpc "2nd Guardian Stone#aru03"; setarray $agit_ar03[1],0; set .@df_all,$agit_ar03[0]+$agit_ar03[1]; @@ -1164,7 +1165,7 @@ OnInit: OnEnable: enablenpc "2nd Guardian Stone#aru03"; - specialeffect 247; //"2nd Guardian Stone#aru03" EF_MAPPILLAR2 + specialeffect EF_MAPPILLAR2; end; OnDisable: @@ -1312,7 +1313,7 @@ arug_cas03,136,158,0 script Control Device01#aru03 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 @@ arug_cas03,136,158,0 script Control Device01#aru03 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 @@ arug_cas03,136,158,0 script Control Device01#aru03 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 @@ arug_cas03,136,158,0 script Control Device01#aru03 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 @@ arug_cas03,135,212,0 script Control Device02#aru03 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 @@ arug_cas03,135,212,0 script Control Device02#aru03 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 @@ arug_cas03,135,212,0 script Control Device02#aru03 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 @@ arug_cas03,135,212,0 script Control Device02#aru03 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 @@ arug_cas03,134,266,0 script Control Device03#aru03 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 @@ arug_cas03,134,266,0 script Control Device03#aru03 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 @@ arug_cas03,134,266,0 script Control Device03#aru03 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 @@ arug_cas03,134,266,0 script Control Device03#aru03 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: |