summaryrefslogtreecommitdiff
path: root/npc/events
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/events
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/events')
-rw-r--r--npc/events/RWC_2012.txt10
-rw-r--r--npc/events/StPatrick_2008.txt2
-rw-r--r--npc/events/christmas_2005.txt4
-rw-r--r--npc/events/easter_2010.txt6
-rw-r--r--npc/events/halloween_2006.txt2
5 files changed, 12 insertions, 12 deletions
diff --git a/npc/events/RWC_2012.txt b/npc/events/RWC_2012.txt
index 70d6c0d60..ae1ded057 100644
--- a/npc/events/RWC_2012.txt
+++ b/npc/events/RWC_2012.txt
@@ -89,12 +89,12 @@ prontera,147,61,3 script Driller#pron 4_M_BARBER,{
delequip .@part;
if (rand(1,10) > 5) {
getitem .@slotted,1;
- specialeffect2 EF_REPAIRWEAPON;
+ specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
mes "[Driller]";
mes "Yay! Success! Your "+.@name$+" now has a card slot. Check it out!";
close;
} else {
- specialeffect2 EF_LORD;
+ specialeffect(EF_LORD, AREA, playerattached());
mes "[Driller]";
mes "Awww... Damn weak "+.@str$+"... It broke during the procedure. I'm sorry.";
close;
@@ -293,7 +293,7 @@ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{
mes "[Goldberg]";
mes "Oh gosh!";
mes "The item was not strong enough to bear the enchantment and thus got destroyed. I am sorry.";
- specialeffect2 EF_LORD;
+ specialeffect(EF_LORD, AREA, playerattached());
close;
}
if (.@enchant == 0) { // Should never happen.
@@ -303,7 +303,7 @@ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{
mes "[Goldberg]";
mes "Great!";
mes "The enchantment is a success! It will be applied in socket No.^990000"+(.@slot+1)+"^000000.";
- specialeffect2 EF_REPAIRWEAPON;
+ specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
}
//GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3]
@@ -329,7 +329,7 @@ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{
mes "Hm... this equipment is clean. I cannot initialize it if there's nothing! Check it again.";
close;
}
- specialeffect2 EF_REPAIRWEAPON;
+ specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
mes "[Goldberg]";
mes "The enchant option in your item will be initialized.";
delitem RWC_Inicializer,1;
diff --git a/npc/events/StPatrick_2008.txt b/npc/events/StPatrick_2008.txt
index a47e7f661..323792344 100644
--- a/npc/events/StPatrick_2008.txt
+++ b/npc/events/StPatrick_2008.txt
@@ -239,7 +239,7 @@ OnTouch:
mes "You light the fuse.";
next;
mes "*BOOM!*";
- specialeffect2 EF_LORD;
+ specialeffect(EF_LORD, AREA, playerattached());
next;
mes "After A cloud of dust and smoke has dissipated,";
mes "You've found a box between the rocks and soil.";
diff --git a/npc/events/christmas_2005.txt b/npc/events/christmas_2005.txt
index 0a631cfb6..2d34dc258 100644
--- a/npc/events/christmas_2005.txt
+++ b/npc/events/christmas_2005.txt
@@ -299,7 +299,7 @@ prontera,155,285,3 script Enjoy#enjoy 4_M_MONK,{
mes "........................";
mes "Get lost,you devil!!!!!!";
specialeffect EF_BEGINASURA;
- specialeffect2 EF_HIT2;
+ specialeffect(EF_HIT2, AREA, playerattached());
Hp /= 2;
Hp /= 2;
close2;
@@ -1173,7 +1173,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "~and tomorrow you'll see~";
mes "~Every wish, one and all,~";
mes "~waiting under the tree.~";
- specialeffect2 EF_GLORIA;
+ specialeffect(EF_GLORIA, AREA, playerattached());
next;
mes "[Oholy]";
mes "Oh, my. You have a wonderful";
diff --git a/npc/events/easter_2010.txt b/npc/events/easter_2010.txt
index 0ccd987cf..154fb95c5 100644
--- a/npc/events/easter_2010.txt
+++ b/npc/events/easter_2010.txt
@@ -95,7 +95,7 @@ prontera,202,297,3 script Rina#Easter 4_F_JOB_HUNTER,{
mes " ";
mes "^787878( A mysterious atmosphere hangs in the air. )^000000";
next;
- specialeffect2 EF_COUPLECASTING;
+ specialeffect(EF_COUPLECASTING, AREA, playerattached());
next;
mes "[Rina]";
mes "Blah blah blah...";
@@ -104,7 +104,7 @@ prontera,202,297,3 script Rina#Easter 4_F_JOB_HUNTER,{
mes " ";
mes "^787878( ... This is a strange spell. )^000000";
next;
- specialeffect2 EF_SIGNUM;
+ specialeffect(EF_SIGNUM, AREA, playerattached());
mes "[Rina]";
mes "Haaaaah~";
mes "^800080Oath-taking ceremony^000000 is done enough now.";
@@ -319,7 +319,7 @@ OnRelease:
specialeffect EF_PATTACK;
mes "- I found ^0000FFthe strange mark^000000. -";
next;
- specialeffect2 EF_HOLYHIT;
+ specialeffect(EF_HOLYHIT, AREA, playerattached());
mes "- I can definitely feel that";
mes "- ^0000FFRina^000000 has been released";
mes "- from the curse.";
diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt
index 101434be3..940ffe30a 100644
--- a/npc/events/halloween_2006.txt
+++ b/npc/events/halloween_2006.txt
@@ -331,7 +331,7 @@ geffen,145,132,3 script Hoirin#06_hw 4_F_NOVICE,{
mes "[Hoirin]";
mes "You are right!";
mes "You brought all things right. Give it to me!!";
- specialeffect2 EF_HIT1;
+ specialeffect(EF_HIT1, AREA, playerattached());
next;
specialeffect EF_PIERCESELF;
mes "[Hoirin]";