diff options
author | mekolat <mekolat@users.noreply.github.com> | 2017-06-03 15:34:53 -0400 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-06-03 21:34:53 +0200 |
commit | 19883c583e5e1471c87ae80e67f34882a7e75bc6 (patch) | |
tree | 7d7e1a7a04081ce9725f771402a88a09d859f5e6 /npc/quests/quests_lighthalzen.txt | |
parent | 9d28c5187812e496b10d6fbaf62c642a69916021 (diff) | |
download | hercules-19883c583e5e1471c87ae80e67f34882a7e75bc6.tar.gz hercules-19883c583e5e1471c87ae80e67f34882a7e75bc6.tar.bz2 hercules-19883c583e5e1471c87ae80e67f34882a7e75bc6.tar.xz hercules-19883c583e5e1471c87ae80e67f34882a7e75bc6.zip |
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
Diffstat (limited to 'npc/quests/quests_lighthalzen.txt')
-rw-r--r-- | npc/quests/quests_lighthalzen.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt index 26b7de092..8709629b0 100644 --- a/npc/quests/quests_lighthalzen.txt +++ b/npc/quests/quests_lighthalzen.txt @@ -4428,13 +4428,13 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{ mes "You must remember the"; mes "locations that I am about"; mes "to show you. Get ready..."; - specialeffect2 EF_SIGHT; + specialeffect(EF_SIGHT, AREA, playerattached()); next; mes "[Elder]"; mes "Yaaaaappp ---!"; - specialeffect2 EF_SIGHTRASHER; - specialeffect2 EF_VOLCANO; - specialeffect2 EF_MAPPILLAR; + specialeffect(EF_SIGHTRASHER, AREA, playerattached()); + specialeffect(EF_VOLCANO, AREA, playerattached()); + specialeffect(EF_MAPPILLAR, AREA, playerattached()); next; mes "[Elder]"; mes "There! The locations"; @@ -4546,11 +4546,11 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{ mes "......"; mes "........."; mes "Hooooooo..."; - specialeffect2 EF_BENEDICTIO; + specialeffect(EF_BENEDICTIO, AREA, playerattached()); next; mes "[Elder]"; mes "Yaaaaapp ---!"; - specialeffect2 EF_ASPERSIO; + specialeffect(EF_ASPERSIO, AREA, playerattached()); next; mes "[Elder]"; mes "Whew! I've managed"; @@ -4837,7 +4837,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{ mes "old pendant"; mes "into her hands.^000000"; next; - specialeffect2 EF_FORESTLIGHT4; + specialeffect(EF_FORESTLIGHT4, AREA, playerattached()); mes "..............."; next; mes "["+strcharinfo(PC_NAME)+"]"; @@ -5033,7 +5033,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{ mes "old pendant"; mes "into her hands.^000000"; next; - specialeffect2 EF_FORESTLIGHT4; + specialeffect(EF_FORESTLIGHT4, AREA, playerattached()); mes "......"; next; mes "["+strcharinfo(PC_NAME)+"]"; @@ -5203,7 +5203,7 @@ OnTouch_: mes "............."; next; mes "*Shhhzzzzzzz!*"; - specialeffect2 EF_MAPPILLAR; + specialeffect(EF_MAPPILLAR, AREA, playerattached()); next; mes "[????]"; mes "..........."; |