From 19883c583e5e1471c87ae80e67f34882a7e75bc6 Mon Sep 17 00:00:00 2001 From: mekolat Date: Sat, 3 Jun 2017 15:34:53 -0400 Subject: Unify specialeffect, convert legacy scripts (#1746) * allow to use specialeffect() on any unit, and to send to any player * update the documentation for specialeffect() * remove specialeffect2 from databases * remove specialeffect2 from npcs * remove misceffect from npcs * convert specialeffect calls with strings to use GID * add missing constants to specialeffect calls * flag specialeffect2() as deprecated * flag misceffect() as deprecated --- npc/re/quests/quests_eclage.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/re/quests/quests_eclage.txt') diff --git a/npc/re/quests/quests_eclage.txt b/npc/re/quests/quests_eclage.txt index d669d0d46..ac6717529 100644 --- a/npc/re/quests/quests_eclage.txt +++ b/npc/re/quests/quests_eclage.txt @@ -5029,7 +5029,7 @@ OnTouch: mes "- Something hits you"; mes "over the head really hard."; mes "Your body loses its strength and your vision goes blurry -"; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); sc_start SC_BLIND,30000,0; next; mes "- Oh, I can't lose my consciousness like this -"; @@ -6496,7 +6496,7 @@ eclage,222,131,3 script Wandering Merchant#ecl 1_M_SIGNMCNT,{ } progressbar "0xFFFF00",3; .@nRand = rand(1,10); - specialeffect2 EF_ENHANCE; + specialeffect(EF_ENHANCE, AREA, playerattached()); Zeny -= 10000; if ((.@nRand > 0) && (.@nRand < 5)) { getitem Center_Potion,1; //Center_Potion @@ -17001,7 +17001,7 @@ ecl_in03,41,90,3 script Mayor Jun Kardui#tl01 4_M_FARIYKING,{ mes strcharinfo(PC_NAME) + "."; mes "This is a present for you."; mes "I hope my magical powers help you improve."; - specialeffect2 EF_FORESTLIGHT4; + specialeffect(EF_FORESTLIGHT4, AREA, playerattached()); delitem Avant_Research_Data,1; //Avant_Research_Data if (ep14_2_mylord == 23) { getexp 400000,300000; @@ -17444,7 +17444,7 @@ ecl_in03,41,90,3 script Mayor Jun Kardui#tl01 4_M_FARIYKING,{ mes "You've been a great help all this time."; mes "Will you stay as my friend now and forever?"; mes "May the blessing of Yggdrasil be upon you..."; - specialeffect2 EF_FORESTLIGHT4; + specialeffect(EF_FORESTLIGHT4, AREA, playerattached()); npcskill AL_BLESSING,1,0,0; ep14_2_mylord = 33; completequest 7453; -- cgit v1.2.3-70-g09d2