From 3caa9006c553603e1d28278da4c83991ac87bc7f Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Thu, 25 Sep 2008 22:41:48 +0000 Subject: * 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 --- npc/guild2/schg_cas03.txt | 59 ++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 29 deletions(-) (limited to 'npc/guild2/schg_cas03.txt') diff --git a/npc/guild2/schg_cas03.txt b/npc/guild2/schg_cas03.txt index 6717aeab4..9fd9a4dac 100644 --- a/npc/guild2/schg_cas03.txt +++ b/npc/guild2/schg_cas03.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.8 +//= 1.9 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -23,6 +23,7 @@ //= Treasure will now be killed before spawning. //= 1.7 Fixed a typo when disabling a control device. [L0ne_W0lf] //= 1.8 Changed the treasure box spawn from 1939 to 1940. [L0ne_W0lf] +//= 1.9 Replaced effect numerics with constants. [L0ne_W0lf] //============================================================ schg_cas03,1,1,0 script Manager#sch03_02 111,{ @@ -696,7 +697,7 @@ schg_cas03,242,309,0 script 1st Guardian Stone#sch03 844,{ else { switch(rand(1,3)) { case 1: - specialeffect 54; //"1st Guardian Stone#sch03" EF_BEGINSPELL2 + specialeffect EF_BEGINSPELL2; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -719,13 +720,13 @@ schg_cas03,242,309,0 script 1st Guardian Stone#sch03 844,{ mes "^3355FFYou placed the Blue Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"1st Guardian Stone#sch03" EF_STEAL + specialeffect EF_STEAL; next; break; } break; case 2: - specialeffect 225; //"1st Guardian Stone#sch03" EF_VOLCANO + specialeffect EF_VOLCANO; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -736,7 +737,7 @@ schg_cas03,242,309,0 script 1st Guardian Stone#sch03 844,{ mes "^3355FFYou placed the Red Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"1st Guardian Stone#sch03" EF_STEAL + specialeffect EF_STEAL; next; break; case 2: @@ -754,7 +755,7 @@ schg_cas03,242,309,0 script 1st Guardian Stone#sch03 844,{ } break; case 3: - specialeffect 56; //"1st Guardian Stone#sch03" EF_BEGINSPELL4 + specialeffect EF_BEGINSPELL4; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -771,7 +772,7 @@ schg_cas03,242,309,0 script 1st Guardian Stone#sch03 844,{ mes "^3355FFYou placed the Yellow Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"1st Guardian Stone#sch03" EF_STEAL + specialeffect EF_STEAL; next; break; case 3: @@ -811,7 +812,7 @@ schg_cas03,242,309,0 script 1st Guardian Stone#sch03 844,{ delitem 716,5; //Red_Gemstone close2; donpcevent "#sch03_df01::OnEnable"; - specialeffect 135; //"1st Guardian Stone#sch03" EF_ICECRASH + specialeffect EF_ICECRASH; disablenpc "1st Guardian Stone#sch03"; setarray $agit_sc03[0],0; set .@df_all,$agit_sc03[0]+$agit_sc03[1]; @@ -857,7 +858,7 @@ OnInit: OnEnable: enablenpc "1st Guardian Stone#sch03"; - specialeffect 247; //"1st Guardian Stone#sch03" EF_MAPPILLAR2 + specialeffect EF_MAPPILLAR2; end; OnDisable: @@ -1005,7 +1006,7 @@ schg_cas03,376,250,0 script 2nd Guardian Stone#sch03 844,{ else { switch(rand(1,3)) { case 1: - specialeffect 54; //"2nd Guardian Stone#sch03" EF_BEGINSPELL2 + specialeffect EF_BEGINSPELL2; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -1028,13 +1029,13 @@ schg_cas03,376,250,0 script 2nd Guardian Stone#sch03 844,{ mes "^3355FFYou placed the Blue Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"2nd Guardian Stone#sch03" EF_STEAL + specialeffect EF_STEAL; next; break; } break; case 2: - specialeffect 225; //"2nd Guardian Stone#sch03" EF_VOLCANO + specialeffect EF_VOLCANO; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -1045,7 +1046,7 @@ schg_cas03,376,250,0 script 2nd Guardian Stone#sch03 844,{ mes "^3355FFYou placed the Red Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"2nd Guardian Stone#sch03" EF_STEAL + specialeffect EF_STEAL; next; break; case 2: @@ -1063,7 +1064,7 @@ schg_cas03,376,250,0 script 2nd Guardian Stone#sch03 844,{ } break; case 3: - specialeffect 56; //"2nd Guardian Stone#sch03" EF_BEGINSPELL4 + specialeffect EF_BEGINSPELL4; mes "^3355FFThe Gemstones must"; mes "be arranged in the correct"; mes "order according to their"; @@ -1080,7 +1081,7 @@ schg_cas03,376,250,0 script 2nd Guardian Stone#sch03 844,{ mes "^3355FFYou placed the Yellow Gemstone.^000000"; set .@nice,.@nice+10; set .@roof0,.@roof0 + 1; - specialeffect 18; //"2nd Guardian Stone#sch03" EF_STEAL + specialeffect EF_STEAL; next; break; case 3: @@ -1120,7 +1121,7 @@ schg_cas03,376,250,0 script 2nd Guardian Stone#sch03 844,{ delitem 716,5; //Red_Gemstone close2; donpcevent "#sch03_df02::OnEnable"; - specialeffect 135; //"2nd Guardian Stone#sch03" EF_ICECRASH + specialeffect EF_ICECRASH; disablenpc "2nd Guardian Stone#sch03"; setarray $agit_sc03[1],0; set .@df_all,$agit_sc03[0]+$agit_sc03[1]; @@ -1166,7 +1167,7 @@ OnInit: OnEnable: enablenpc "2nd Guardian Stone#sch03"; - specialeffect 247; //"2nd Guardian Stone#sch03" EF_MAPPILLAR2 + specialeffect EF_MAPPILLAR2; end; OnDisable: @@ -1315,7 +1316,7 @@ schg_cas03,335,298,0 script Control Device01#sch03 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 @@ schg_cas03,335,298,0 script Control Device01#sch03 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 @@ schg_cas03,335,298,0 script Control Device01#sch03 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 @@ schg_cas03,335,298,0 script Control Device01#sch03 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 @@ schg_cas03,200,227,0 script Control Device02#sch03 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 @@ schg_cas03,200,227,0 script Control Device02#sch03 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 @@ schg_cas03,200,227,0 script Control Device02#sch03 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 @@ schg_cas03,200,227,0 script Control Device02#sch03 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 @@ schg_cas03,273,205,0 script Control Device03#sch03 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 @@ schg_cas03,273,205,0 script Control Device03#sch03 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 @@ schg_cas03,273,205,0 script Control Device03#sch03 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 @@ schg_cas03,273,205,0 script Control Device03#sch03 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: -- cgit v1.2.3-70-g09d2