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/kiel_hyre_quest.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/kiel_hyre_quest.txt')
-rw-r--r-- | npc/quests/kiel_hyre_quest.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/quests/kiel_hyre_quest.txt b/npc/quests/kiel_hyre_quest.txt index 3a21bbfa0..4fe113d57 100644 --- a/npc/quests/kiel_hyre_quest.txt +++ b/npc/quests/kiel_hyre_quest.txt @@ -1967,7 +1967,7 @@ kh_vila,184,20,0 script Book#kh1::BookKHQ1 HIDDEN_NPC,{ mes "wall slides opens open"; mes "to reveal a secret path.^000000"; KielHyreQuest = 28; - specialeffect EF_READYPORTAL2,AREA,"Wall#kh"; + specialeffect(EF_READYPORTAL2, AREA, getnpcid(0, "Wall#kh")); close; } else { @@ -6393,11 +6393,11 @@ kh_kiehl02,50,52,4 script Kiehl#Original 4_M_KHKIEL,{ next; mes "[Mitchell]"; mes "Nooooo!"; - specialeffect PF_FOGWALL,AREA,"Mitchell#KiehlRoom"; - specialeffect PF_FOGWALL,AREA,"Agent#KHAgent1"; - specialeffect PF_FOGWALL,AREA,"Agent#KHAgent2"; - specialeffect PF_FOGWALL,AREA,"Agent#KHAgent3"; - specialeffect PF_FOGWALL,AREA,"Agent#KHAgent4"; + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Mitchell#KiehlRoom")); + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent1")); + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent2")); + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent3")); + specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent4")); next; cutin "kh_kiel03",2; mes "[Kiehl]"; |