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_malangdo.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/re/quests/quests_malangdo.txt') diff --git a/npc/re/quests/quests_malangdo.txt b/npc/re/quests/quests_malangdo.txt index 9a67c4af8..786aeccb1 100644 --- a/npc/re/quests/quests_malangdo.txt +++ b/npc/re/quests/quests_malangdo.txt @@ -9704,7 +9704,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{ if (.@cat_hand <= 5) { --.@pc_hp0; cutin "cat_g_05",4; - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); mes "Defending has failed."; mes "KungKung attacks the back of your hand with its sharp claw."; next; @@ -9729,7 +9729,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{ } else { .@pc_hp -= 10; cutin "cat_g_08",4; - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); mes "Defending has failed."; mes "KungKung attacks the back of your hand with its sharp claw."; next; @@ -10579,7 +10579,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{ mes "Ok! Take your time to consider!"; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",2; if (getequipisequiped(EQI_GARMENT) == 0) { mes "[Fallen Angel]"; @@ -10666,7 +10666,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{ mes "Ok! Take your time to consider!"; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",2; if (getequipisequiped(EQI_GARMENT) == 0) { mes "[Fallen Angel]"; -- cgit v1.2.3-70-g09d2