summaryrefslogtreecommitdiff
path: root/npc/instances
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-05-27 16:04:52 -0400
committergumi <mekolat@users.noreply.github.com>2017-06-03 12:57:26 -0400
commit610ae47b9d0250ef9df5abd86c29f0f72c584910 (patch)
treeb23f335833732c22566c78f5211fbf34681fd59a /npc/instances
parent96e0a6ad736f4c31f7a722c20005e8ca3e991130 (diff)
downloadhercules-610ae47b9d0250ef9df5abd86c29f0f72c584910.tar.gz
hercules-610ae47b9d0250ef9df5abd86c29f0f72c584910.tar.bz2
hercules-610ae47b9d0250ef9df5abd86c29f0f72c584910.tar.xz
hercules-610ae47b9d0250ef9df5abd86c29f0f72c584910.zip
remove specialeffect2 from npcs
Diffstat (limited to 'npc/instances')
-rw-r--r--npc/instances/NydhoggsNest.txt16
-rw-r--r--npc/instances/SealedShrine.txt12
2 files changed, 14 insertions, 14 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.";
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt
index de59b7599..1b1022dcf 100644
--- a/npc/instances/SealedShrine.txt
+++ b/npc/instances/SealedShrine.txt
@@ -251,7 +251,7 @@ monk_test,306,151,3 script Grave of Baphomet#edq HIDDEN_NPC,{
next;
mes "[Friar Patrick]";
mes "Haaaaaaap... Wingardium Leviosa Expecto Patronum !!!!!";
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
erasequest 3040;
if (questprogress(3041)) erasequest 3041;
if (questprogress(3045)) erasequest 3045;
@@ -494,7 +494,7 @@ OnMyMobDead:
next;
mes "When touching the gravestone, I hear a voice.";
next;
- specialeffect2 EF_CONE;
+ specialeffect(EF_CONE, AREA, playerattached());
mes "[Voice of the Gravestone]";
mes "I have waited and waited for a brave adventurer like you who will come back here again...";
next;
@@ -664,7 +664,7 @@ OnInstanceInit: // Temporary fix for @reloadscript.
mes "[Ancient Hero's Soul]";
mes "Now I'll carve you the symbol which shows you're a inheritor of faith. Be aware that no one in your party but you can collect the Essence of Fire.";
next;
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
mes "[Ancient Hero's Soul]";
mes "You should also carry a ^0000FFToken of Apostle^000000, so find one for yourself too.";
next;
@@ -890,7 +890,7 @@ OnInstanceInit:
next;
mes "The grand appearance and heat of the fire makes me step back... But I pluck up my courage and reach out to pick up the torch.";
next;
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
getitem Essence_Of_Fire,1;
mes "The symbol of inheritor shines. Then a small crystal falls into my hand from the torch.";
disablenpc instance_npcname(strnpcinfo(NPC_NAME));
@@ -910,7 +910,7 @@ OnInstanceInit:
next;
mes "[Unknown Voice]";
mes "You are not a inheritor of faith. Do not desecrate the Essence of Fire with your disrespectful hands.";
- specialeffect2 EF_FIRESPLASHHIT;
+ specialeffect(EF_FIRESPLASHHIT, AREA, playerattached());
percentheal -50,0;
close;
}
@@ -1086,7 +1086,7 @@ OnTouch:
- script Magical Seal#SS FAKE_NPC,{
.@seal_check = questprogress(3041,PLAYTIME);
if (.@seal_check == 1) {
- specialeffect2 EF_SILENCEATTACK;
+ specialeffect(EF_SILENCEATTACK, AREA, playerattached());
percentheal -50,0;
sc_start Eff_Stone,30000,0;
mes "Your SP has not recovered yet. You lost your SP on the altar, but it seems the power of the seal has returned.";