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/quests/quests_nameless.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/quests/quests_nameless.txt') diff --git a/npc/quests/quests_nameless.txt b/npc/quests/quests_nameless.txt index 0e0422530..9461461a5 100644 --- a/npc/quests/quests_nameless.txt +++ b/npc/quests/quests_nameless.txt @@ -3129,7 +3129,7 @@ OnTouch: mes "[Pope]"; mes "May Freya bless you..."; next; - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); mes "^3355FFThe pope prayed in earnest"; mes "for you, and you feel a strong"; mes "aura of warmth and kindness"; -- cgit v1.2.3-70-g09d2