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/instances/NydhoggsNest.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/instances/NydhoggsNest.txt')
-rw-r--r-- | npc/instances/NydhoggsNest.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt index 2a64e13be..19627e6a0 100644 --- a/npc/instances/NydhoggsNest.txt +++ b/npc/instances/NydhoggsNest.txt @@ -41,7 +41,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ next; switch(select("Move closer to look more carefully.", "Step back.")) { case 1: - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); pushpc 3,3; if (ep13_1_edq == 14) ep13_1_edq = 15; @@ -73,7 +73,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ mes "You'll have to obtain the others trust in the expendition camp by working hard."; close; } else if (ins_nyd == 111 || ins_nyd == 112) { - specialeffect2 EF_CHANGECOLD; + specialeffect(EF_CHANGECOLD, AREA, playerattached()); mes "The strange sensation surrounding your body has disappeared"; next; mes "When you touch the stone gate, you hear a commanding voice."; @@ -89,7 +89,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ mes "[Yggdrasil Gatekeeper]"; mes "In the name of Yggdrasiliad, I will accept you as a servant of the Guardian."; next; - specialeffect2 EF_CHANGECOLD; + specialeffect(EF_CHANGECOLD, AREA, playerattached()); ins_nyd = 200; mes "[Yggdrasil Gatekeeper]"; mes "I accept your entrance through the Guardian's gate. You are now considered a faithful servant of the Guardian Nidhoggur."; @@ -207,7 +207,7 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{ next; switch(select("Move closer to look more carefully.", "Step back.")) { case 1: - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); pushpc 3,3; mes "A mysterious power prevents you from getting too close. It looks like there is something strong beyond the door..."; next; @@ -234,7 +234,7 @@ L_Enter: OnTouch_: if (ins_nyd == 0) { - specialeffect2 EF_CHANGECOLD; + specialeffect(EF_CHANGECOLD, AREA, playerattached()); specialeffect EF_CHANGECOLD; } end; @@ -1013,7 +1013,7 @@ spl_in01,104,56,3 script Aide Arioss#edq 4_F_FAIRYKID2,3,3,{ next; mes "[Aide Arioss]"; mes "I will give you my proof. Don't worry, I'm just temporarily marking you as a guardian's servant."; - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); next; mes "[Aide Arioss]"; mes "Also, remember this spell, it's needed to open the gate of the Guardian."; @@ -1455,7 +1455,7 @@ man_in01,291,62,3 script Laphine Prisoner#edq 4_F_FAIRYKID2,3,3,{ next; mes "[Laphine Prisoner]"; mes "I will give you my proof. Don't worry, I'm just temporarily marking you as a guardian's servant."; - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); next; mes "[Laphine Prisoner]"; mes "Also, remember this spell, it's needed to open the gate of the Guardian."; @@ -1850,7 +1850,7 @@ OnTimer18000: 2@nyd,199,178,0 script nyd_2f_ddr_control FAKE_NPC,6,6,{ OnTouch: - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); mes "From below the gorgeous stones, a strange breeze is forming."; next; mes "The strange power slowly surrounds your body, the dimension is starting to shift."; |