diff options
112 files changed, 619 insertions, 619 deletions
diff --git a/npc/battleground/flavius/flavius01.txt b/npc/battleground/flavius/flavius01.txt index 8370f1e53..ee8ac5cb3 100644 --- a/npc/battleground/flavius/flavius01.txt +++ b/npc/battleground/flavius/flavius01.txt @@ -301,7 +301,7 @@ OnStop: } bat_b01,10,294,3 script Battle Therapist#b01_a 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Battle Therapist]"); mes("Just close your eyes,\r" "and take a deep breath."); @@ -346,7 +346,7 @@ OnTouch: } bat_b01,389,14,3 script Battle Therapist#b01_b 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Battle Therapist]"); mes("Just close your eyes,\r" "and take a deep breath."); diff --git a/npc/battleground/flavius/flavius02.txt b/npc/battleground/flavius/flavius02.txt index 232dd7e39..69a54017b 100644 --- a/npc/battleground/flavius/flavius02.txt +++ b/npc/battleground/flavius/flavius02.txt @@ -301,7 +301,7 @@ OnStop: } bat_b02,10,294,3 script Battle Therapist#b02_a 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Battle Therapist]"); mes("Just close your eyes,\r" "and take a deep breath."); @@ -346,7 +346,7 @@ OnTouch: } bat_b02,389,14,3 script Battle Therapist#b02_b 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Battle Therapist]"); mes("Just close your eyes,\r" "and take a deep breath."); diff --git a/npc/battleground/tierra/tierra01.txt b/npc/battleground/tierra/tierra01.txt index 22a612c81..bdf41b0bd 100644 --- a/npc/battleground/tierra/tierra01.txt +++ b/npc/battleground/tierra/tierra01.txt @@ -481,7 +481,7 @@ OnInit: } bat_a01,53,377,3 script Battle Therapist#a01_a 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Battle Therapist]"); mes("Just close your eyes,\r" "and take a deep breath."); @@ -531,7 +531,7 @@ OnTouch_: } bat_a01,45,19,3 script Battle Therapist#a01_b 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Battle Therapist]"); mes("Just close your eyes,\r" "and take a deep breath."); @@ -581,7 +581,7 @@ OnTouch: } bat_a01,60,216,3 script Valley Ghost#bat_a01_n 4_GHOSTRING,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Valley Ghost]"); mes("Boo...Boo..."); close; diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt index a54935089..abdb50a3f 100644 --- a/npc/battleground/tierra/tierra02.txt +++ b/npc/battleground/tierra/tierra02.txt @@ -481,7 +481,7 @@ OnInit: } bat_a02,53,377,3 script Battle Therapist#a02_a 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Battle Therapist]"); mes("Just close your eyes,\r" "and take a deep breath."); @@ -531,7 +531,7 @@ OnTouch_: } bat_a02,45,19,3 script Battle Therapist#a02_b 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Battle Therapist]"); mes("Just close your eyes,\r" "and take a deep breath."); @@ -581,7 +581,7 @@ OnTouch: } bat_a02,60,216,3 script Valley Ghost#bat_a02_n 4_GHOSTRING,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes("[Valley Ghost]"); mes("Boo...Boo..."); close; diff --git a/npc/cities/jawaii.txt b/npc/cities/jawaii.txt index e308d9f73..c77972ef7 100644 --- a/npc/cities/jawaii.txt +++ b/npc/cities/jawaii.txt @@ -921,7 +921,7 @@ jawaii_in,28,124,0 script Bartender#jaw 1_ETC_01,{ mes "throat is burning."; next; mes "^3355FFYou gulped it down.^000000"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); percentheal -20,0; next; break; @@ -943,7 +943,7 @@ jawaii_in,28,124,0 script Bartender#jaw 1_ETC_01,{ mes "^3355FFYou drank it sip by sip,"; mes "savoring its rich,"; mes "robust flavor.^000000"; - specialeffect2 EF_FIREIVY; + specialeffect(EF_FIREIVY, AREA, playerattached()); percentheal -20,0; next; break; @@ -967,7 +967,7 @@ jawaii_in,28,124,0 script Bartender#jaw 1_ETC_01,{ mes "Lick the sugar before taking a sip. That will make it taste a little sweeter and will soften the taste."; next; mes "^3355FFYou carefully took a sip.^000000"; - specialeffect2 EF_DECAGILITY; + specialeffect(EF_DECAGILITY, AREA, playerattached()); percentheal -20,0; next; break; @@ -993,7 +993,7 @@ jawaii_in,28,124,0 script Bartender#jaw 1_ETC_01,{ next; mes "^3355FFYou gulp the delicious"; mes "Margarita down in one sip.^000000"; - specialeffect2 EF_MAGNUMBREAK; + specialeffect(EF_MAGNUMBREAK, AREA, playerattached()); percentheal -20,0; next; } @@ -1015,7 +1015,7 @@ jawaii_in,28,124,0 script Bartender#jaw 1_ETC_01,{ mes "I'm a cowboy hero!"; mes "Bang Bang Bang!"; next; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); percentheal -10,0; next; break; @@ -1039,7 +1039,7 @@ jawaii_in,28,124,0 script Bartender#jaw 1_ETC_01,{ mes "["+strcharinfo(PC_NAME)+"]"; mes "Aaaaaahhhhhh~!"; mes "This drink is really good!"; - specialeffect2 EF_SANCTUARY; + specialeffect(EF_SANCTUARY, AREA, playerattached()); percentheal -10,0; next; break; @@ -1059,7 +1059,7 @@ jawaii_in,28,124,0 script Bartender#jaw 1_ETC_01,{ mes "gulped it down.^000000"; next; mes "^3355FFYou feel pretty hammered.^000000"; - specialeffect2 EF_BLASTMINEBOMB; + specialeffect(EF_BLASTMINEBOMB, AREA, playerattached()); percentheal -10,0; next; break; @@ -1081,7 +1081,7 @@ jawaii_in,28,124,0 script Bartender#jaw 1_ETC_01,{ mes "^3355FFYou took a sip of it and sighed.^000000"; next; mes "^3355FFAnd promised yourself that you would never drink it ever again.^000000"; - specialeffect2 EF_HIT6; + specialeffect(EF_HIT6, AREA, playerattached()); percentheal -10,0; next; break; diff --git a/npc/cities/rachel.txt b/npc/cities/rachel.txt index ecd410ab1..2fbb92f05 100644 --- a/npc/cities/rachel.txt +++ b/npc/cities/rachel.txt @@ -309,7 +309,7 @@ rachel,206,30,3 script Freya's Priest#play 4_F_TRAINEE,{ mes "^3355FFYou told her the first"; mes "funny story that you"; mes "could think of.^000000"; - specialeffect2 EF_TALK_FROSTJOKE; + specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached()); next; mes "[Freya's Priest]"; mes "That's supposed to"; diff --git a/npc/custom/battleground/bg_flavius_01.txt b/npc/custom/battleground/bg_flavius_01.txt index 0520902ba..e4d1ee0b9 100644 --- a/npc/custom/battleground/bg_flavius_01.txt +++ b/npc/custom/battleground/bg_flavius_01.txt @@ -333,7 +333,7 @@ bat_b01,390,13,5 script Therapist in battle#fl12 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } @@ -341,7 +341,7 @@ bat_b01,10,293,5 script Therapist in battle#fl11 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } diff --git a/npc/custom/battleground/bg_flavius_02.txt b/npc/custom/battleground/bg_flavius_02.txt index da6c9cfef..6a364aed6 100644 --- a/npc/custom/battleground/bg_flavius_02.txt +++ b/npc/custom/battleground/bg_flavius_02.txt @@ -333,7 +333,7 @@ bat_b02,390,13,5 script Therapist in battle#fl22 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } @@ -341,7 +341,7 @@ bat_b02,10,293,5 script Therapist in battle#fl21 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } diff --git a/npc/custom/battleground/bg_kvm01.txt b/npc/custom/battleground/bg_kvm01.txt index c27e042a2..6e2e222b2 100644 --- a/npc/custom/battleground/bg_kvm01.txt +++ b/npc/custom/battleground/bg_kvm01.txt @@ -286,7 +286,7 @@ bat_c01,51,130,5 script Therapist in battle::TherapistKvM01a 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } @@ -294,7 +294,7 @@ bat_c01,148,53,1 script Therapist in battle::TherapistKvM01b 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } diff --git a/npc/custom/battleground/bg_kvm02.txt b/npc/custom/battleground/bg_kvm02.txt index cd13241cb..c07dee616 100644 --- a/npc/custom/battleground/bg_kvm02.txt +++ b/npc/custom/battleground/bg_kvm02.txt @@ -286,7 +286,7 @@ bat_c02,51,130,5 script Therapist in battle::TherapistKvM02a 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } @@ -294,7 +294,7 @@ bat_c02,148,53,1 script Therapist in battle::TherapistKvM02b 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } diff --git a/npc/custom/battleground/bg_kvm03.txt b/npc/custom/battleground/bg_kvm03.txt index 3ec87355e..8e127835c 100644 --- a/npc/custom/battleground/bg_kvm03.txt +++ b/npc/custom/battleground/bg_kvm03.txt @@ -286,7 +286,7 @@ bat_c03,51,130,5 script Therapist in battle::TherapistKvM03a 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } @@ -294,7 +294,7 @@ bat_c03,148,53,1 script Therapist in battle::TherapistKvM03b 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } diff --git a/npc/custom/battleground/bg_tierra_01.txt b/npc/custom/battleground/bg_tierra_01.txt index 56a505356..0a7500d5b 100644 --- a/npc/custom/battleground/bg_tierra_01.txt +++ b/npc/custom/battleground/bg_tierra_01.txt @@ -381,7 +381,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#tv1 4_M_KY_HEAD,{ bat_a01,60,216,3 script Ghost#tv13 4_GHOSTRING,{ mes "[Ghost in valley]"; mes "Boo...Boo..."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } @@ -389,7 +389,7 @@ bat_a01,53,377,3 script Therapist in battle#tv12 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } @@ -397,7 +397,7 @@ bat_a01,45,18,3 script Therapist in battle#tv11 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } diff --git a/npc/custom/battleground/bg_tierra_02.txt b/npc/custom/battleground/bg_tierra_02.txt index e0f1b402a..efd95a782 100644 --- a/npc/custom/battleground/bg_tierra_02.txt +++ b/npc/custom/battleground/bg_tierra_02.txt @@ -381,7 +381,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#tv2 4_M_KY_HEAD,{ bat_a02,60,216,3 script Ghost#tv23 4_GHOSTRING,{ mes "[Ghost in valley]"; mes "Boo...Boo..."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } @@ -389,7 +389,7 @@ bat_a02,53,377,3 script Therapist in battle#tv22 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } @@ -397,7 +397,7 @@ bat_a02,45,18,3 script Therapist in battle#tv21 4_F_SISTER,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; - specialeffect2 312; + specialeffect(312, AREA, playerattached()); close; } diff --git a/npc/custom/bgqueue/flavius.txt b/npc/custom/bgqueue/flavius.txt index d959253f3..21c79f48f 100644 --- a/npc/custom/bgqueue/flavius.txt +++ b/npc/custom/bgqueue/flavius.txt @@ -333,7 +333,7 @@ OnStop: } bat_b01,10,294,3 script Battle Therapist#b01_a 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes "[Battle Therapist]"; mes "Just close your eyes,"; mes "and take a deep breath."; @@ -378,7 +378,7 @@ OnTouch: } bat_b01,389,14,3 script Battle Therapist#b01_b 4_F_SISTER,{ - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); mes "[Battle Therapist]"; mes "Just close your eyes,"; mes "and take a deep breath."; diff --git a/npc/custom/breeder.txt b/npc/custom/breeder.txt index 555fd4c93..9efb73ac6 100644 --- a/npc/custom/breeder.txt +++ b/npc/custom/breeder.txt @@ -22,7 +22,7 @@ prontera,124,201,1 script Universal Rental NPC 4_F_JOB_BLACKSMITH,{ setfalcon; else getitem Wolfs_Flute, 1; - specialeffect2 EF_TEIHIT3; + specialeffect(EF_TEIHIT3, AREA, playerattached()); close; } else { getitem Wolfs_Flute,1; @@ -34,7 +34,7 @@ prontera,124,201,1 script Universal Rental NPC 4_F_JOB_BLACKSMITH,{ } else { setmount(MOUNT_MADO); } - specialeffect2 EF_TEIHIT3; + specialeffect(EF_TEIHIT3, AREA, playerattached()); close; } else { setcart; @@ -51,7 +51,7 @@ prontera,124,201,1 script Universal Rental NPC 4_F_JOB_BLACKSMITH,{ message strcharinfo(PC_NAME),"You do not meet requirements to rent."; end; } - specialeffect2 EF_TEIHIT3; + specialeffect(EF_TEIHIT3, AREA, playerattached()); end; } diff --git a/npc/custom/etc/airplane.txt b/npc/custom/etc/airplane.txt index 6fd500a41..6644756de 100644 --- a/npc/custom/etc/airplane.txt +++ b/npc/custom/etc/airplane.txt @@ -244,7 +244,7 @@ Board: L_Yes: if($destination!=getarg(0))goto Notime; warp "airplane", 105, 72; - specialeffect2 501; + specialeffect(501, AREA, playerattached()); L_Nope: mes "^FF0000[Porter]^000000"; mes "Have a good day. Thank you for traveling with Airship."; @@ -356,7 +356,7 @@ Lyes: if($destination == 250)goto Notime; if($destination != @dockky)goto Notime; warp $locationsmap$[$destination], $locationsx[$destination], $locationsy[$destination]; - specialeffect2 501; + specialeffect(501, AREA, playerattached()); Lnope: mes "^FF0000[Airplane Attendant]^000000"; diff --git a/npc/custom/etc/monster_arena.txt b/npc/custom/etc/monster_arena.txt index db4c37b73..8420cd544 100644 --- a/npc/custom/etc/monster_arena.txt +++ b/npc/custom/etc/monster_arena.txt @@ -736,7 +736,7 @@ gon_test,55,103,6 script Nurse 4_F_01,{ set @fighting,0; set #heal,0; set @healing,0; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); announce "Your monster has healed.",19; end; diff --git a/npc/custom/etc/mvp_arena.txt b/npc/custom/etc/mvp_arena.txt index d4205456e..ddf075bde 100644 --- a/npc/custom/etc/mvp_arena.txt +++ b/npc/custom/etc/mvp_arena.txt @@ -36,7 +36,7 @@ quiz_00,49,31,4 script MVP Arena Guide 4_M_TWTEAMAN,{ mes "There are eight rooms per Keeper, and sixteen MVPs in total."; close; case 2: - specialeffect2 313; + specialeffect(313, AREA, playerattached()); percentheal 100,100; close; case 3: @@ -77,7 +77,7 @@ function script Protector { warp getarg(0),102,102; end; case 2: - specialeffect2 313; + specialeffect(313, AREA, playerattached()); percentheal 100,100; close; case 3: diff --git a/npc/custom/events/cluckers.txt b/npc/custom/events/cluckers.txt index fbdbbed3f..a249c8a40 100644 --- a/npc/custom/events/cluckers.txt +++ b/npc/custom/events/cluckers.txt @@ -21,7 +21,7 @@ prontera,156,219,4 script Cluckers 4_NFCOCK,{ set .@GMAccess,80; // GM level required to access NPC if (.startcluck) { - specialeffect2 2; + specialeffect(2, AREA, playerattached()); switch(rand(15)) { case 0: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(CHAR_ID_ACCOUNT),"NPC_SELFDESTRUCTION",1; emotion 23; break; case 1: npctalk "Cluuuuuck!~"; break; @@ -40,7 +40,7 @@ prontera,156,219,4 script Cluckers 4_NFCOCK,{ default: if (rand(50) < 4) { npctalk "WOOF!..........."; - specialeffect2 72; + specialeffect(72, AREA, playerattached()); announce "[Cluck! Cluck! Boom!] " + strcharinfo(PC_NAME) + " squeezed out the prize! Well done!",0; getitem $cluck_item_id,$cluck_item_amount; set .startcluck,0; diff --git a/npc/custom/healer.txt b/npc/custom/healer.txt index 97c4e7284..9e0d4abe4 100644 --- a/npc/custom/healer.txt +++ b/npc/custom/healer.txt @@ -25,10 +25,10 @@ if(select("^0055FFHeal^000000", "^777777Cancel^000000") == 2) close; Zeny -= .@price; } - specialeffect2 EF_HEAL2; percentheal 100,100; + specialeffect(EF_HEAL2, AREA, playerattached()); percentheal 100,100; if (.@Buffs) { - specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10; - specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; + specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10; + specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10; } if (.@Delay) @HD = gettimetick(2)+.@Delay; end; diff --git a/npc/custom/jobmaster.txt b/npc/custom/jobmaster.txt index cc09055a4..4b56a36e5 100644 --- a/npc/custom/jobmaster.txt +++ b/npc/custom/jobmaster.txt @@ -162,8 +162,8 @@ function Job_Menu { resetlvl(4); SkillPoint = 0; } - specialeffect2 EF_ANGEL2; - specialeffect2 EF_ELECTRIC; + specialeffect(EF_ANGEL2, AREA, playerattached()); + specialeffect(EF_ELECTRIC, AREA, playerattached()); if (.platinum) callsub Get_Platinum; close; diff --git a/npc/custom/quests/hunting_missions.txt b/npc/custom/quests/hunting_missions.txt index 611bdd480..5ba860ed4 100644 --- a/npc/custom/quests/hunting_missions.txt +++ b/npc/custom/quests/hunting_missions.txt @@ -115,7 +115,7 @@ function Chk; function Cm; mes "[Hunting Missions]"; mes "Alright, I've dropped"; mes "your current mission."; - specialeffect2 EF_STORMKICK4; + specialeffect(EF_STORMKICK4, AREA, playerattached()); for(set .@i,0; .@i<.Quests; set .@i,.@i+1) { setd "Mission"+.@i,0; setd "Mission"+.@i+"_",0; @@ -185,8 +185,8 @@ Mission_Status: mes "Good work."; mes "Here's your reward."; emotion e_no1; - specialeffect2 EF_ANGEL; - specialeffect2 EF_TRUESIGHT; + specialeffect(EF_ANGEL, AREA, playerattached()); + specialeffect(EF_TRUESIGHT, AREA, playerattached()); set #Mission_Points, #Mission_Points+.@Mission_Points; set BaseExp, BaseExp+.@Base_Exp; set JobExp, JobExp+.@Job_Exp; diff --git a/npc/custom/quests/quest_shop.txt b/npc/custom/quests/quest_shop.txt index f96b4cb75..6805220f7 100644 --- a/npc/custom/quests/quest_shop.txt +++ b/npc/custom/quests/quest_shop.txt @@ -144,7 +144,7 @@ OnBuyItem: delitem .@q[.@i],.@q[.@i+1]*.@q[1]; getitem .@q[0],.@q[2]; if (.Announce) announce strcharinfo(PC_NAME)+" has created "+((.@q[2] > 1)?.@q[2]+"x "+getitemname(.@q[0]):A_An(getitemname(.@q[0])))+"!",0; - specialeffect2 EF_FLOWERLEAF; + specialeffect(EF_FLOWERLEAF, AREA, playerattached()); close; case 2: setarray @qe[3], getlook(LOOK_HEAD_BOTTOM), getlook(LOOK_HEAD_TOP), getlook(LOOK_HEAD_MID), getlook(LOOK_ROBE), 1; 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]"; 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."; diff --git a/npc/merchants/enchan_arm.txt b/npc/merchants/enchan_arm.txt index 5b4cac2dc..434fabdb5 100644 --- a/npc/merchants/enchan_arm.txt +++ b/npc/merchants/enchan_arm.txt @@ -105,7 +105,7 @@ S_EnchantArmor: mes "[Apprentice Craftsman]"; mes "Quite of an adventurer huh? Well, shall we?"; close2; - specialeffect2 EF_MAPPILLAR; + specialeffect(EF_MAPPILLAR, AREA, playerattached()); if (Zeny < 400000) { mes "[Apprentice Craftsman]"; mes "Sorry, but you don't have enough zeny."; @@ -152,7 +152,7 @@ S_EnchantArmor: case 35: case 36: .@addpart = 4750;break; default: - specialeffect2 EF_PHARMACY_FAIL; + specialeffect(EF_PHARMACY_FAIL, AREA, playerattached()); mes "[Apprentice Craftsman]"; mes "Well that's too bad."; mes "The requested equipment has failed to enchant."; diff --git a/npc/other/acolyte_warp.txt b/npc/other/acolyte_warp.txt index 1b5404a78..256c2d802 100644 --- a/npc/other/acolyte_warp.txt +++ b/npc/other/acolyte_warp.txt @@ -75,9 +75,9 @@ prontera,98,121,4 script Acolyte#Prtclear 4_F_01,{ mes "to "+.@towns$[.@i]+" is "+.@cost[.@i]+" zeny."; close; } - specialeffect2 EF_READYPORTAL; - specialeffect2 EF_TELEPORTATION; - specialeffect2 EF_PORTAL; + specialeffect(EF_READYPORTAL, AREA, playerattached()); + specialeffect(EF_TELEPORTATION, AREA, playerattached()); + specialeffect(EF_PORTAL, AREA, playerattached()); next; Zeny -= .@cost[.@i]; switch(.@i) { @@ -138,9 +138,9 @@ yuno,142,184,6 script Acolyte#Junoclear 4_F_01,{ mes "to "+.@towns$[.@i]+" is "+.@cost[.@i]+" zeny."; close; } - specialeffect2 EF_READYPORTAL; - specialeffect2 EF_TELEPORTATION; - specialeffect2 EF_PORTAL; + specialeffect(EF_READYPORTAL, AREA, playerattached()); + specialeffect(EF_TELEPORTATION, AREA, playerattached()); + specialeffect(EF_PORTAL, AREA, playerattached()); next; Zeny -= .@cost[.@i]; switch(.@i) { diff --git a/npc/other/arena/arena_aco.txt b/npc/other/arena/arena_aco.txt index 0c46eea21..99971eecd 100644 --- a/npc/other/arena/arena_aco.txt +++ b/npc/other/arena/arena_aco.txt @@ -1089,7 +1089,7 @@ prt_are_in,181,83,3 script Staff#aco-1 1_F_02,{ mes "I hope you enjoyed"; mes "your battle in the area~"; close2; - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); warp "arena_room",100,75; end; } @@ -1289,7 +1289,7 @@ prt_are_in,25,31,3 script Staff#aco-2 1_F_02,{ close2; arena_point += 50; } - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); warp "arena_room",100,75; donpcevent "#arn_timer_aco::OnStop"; donpcevent "allkill#aco::OnEnable"; @@ -1353,7 +1353,7 @@ prt_are_in,25,31,3 script Staff#aco-2 1_F_02,{ close2; arena_point += 20; } - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); warp "arena_room",100,75; donpcevent "#arn_timer_aco::OnStop"; donpcevent "allkill#aco::OnEnable"; @@ -1451,7 +1451,7 @@ prt_are_in,25,31,3 script Staff#aco-2 1_F_02,{ close2; arena_point += 20; } - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); warp "arena_room",100,75; donpcevent "#arn_timer_aco::OnStop"; donpcevent "allkill#aco::OnEnable"; diff --git a/npc/other/arena/arena_lvl50.txt b/npc/other/arena/arena_lvl50.txt index fbd2ba193..32bd12178 100644 --- a/npc/other/arena/arena_lvl50.txt +++ b/npc/other/arena/arena_lvl50.txt @@ -818,7 +818,7 @@ prt_are_in,129,188,3 script Staff#50-1 1_F_02,{ mes "[Staff]"; mes "Let me guide you outside. I hope you had a good time."; close2; - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); warp "arena_room",100,75; end; } @@ -884,7 +884,7 @@ prt_are_in,25,188,3 script Staff#50-2 1_F_02,{ mes "See you later~"; close2; } - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); donpcevent "cast#50::OnNomal1"; warp "arena_room",100,75; donpcevent "#arn_timer_50::OnStop"; @@ -931,7 +931,7 @@ prt_are_in,25,188,3 script Staff#50-2 1_F_02,{ mes "See you later~"; close2; } - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); donpcevent "cast#50::OnNomal2"; warp "arena_room",100,75; donpcevent "#arn_timer_50::OnStop"; diff --git a/npc/other/arena/arena_lvl60.txt b/npc/other/arena/arena_lvl60.txt index b81831345..30734f043 100644 --- a/npc/other/arena/arena_lvl60.txt +++ b/npc/other/arena/arena_lvl60.txt @@ -828,7 +828,7 @@ prt_are_in,129,135,3 script Staff#60-1 1_F_02,{ mes "[Staff]"; mes "Let me guide you outside. I hope you had a good time."; close2; - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); warp "arena_room",100,75; end; } @@ -894,7 +894,7 @@ prt_are_in,25,135,3 script Staff#60-2 1_F_02,{ mes "See you later~"; close2; } - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); donpcevent "cast#60::OnNomal1"; warp "arena_room",100,75; donpcevent "#arn_timer_60::OnStop"; @@ -941,7 +941,7 @@ prt_are_in,25,135,3 script Staff#60-2 1_F_02,{ mes "See you later~"; close2; } - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); donpcevent "cast#60::OnNomal2"; warp "arena_room",100,75; donpcevent "#arn_timer_60::OnStop"; diff --git a/npc/other/arena/arena_lvl70.txt b/npc/other/arena/arena_lvl70.txt index c862585aa..9a0c26aa3 100644 --- a/npc/other/arena/arena_lvl70.txt +++ b/npc/other/arena/arena_lvl70.txt @@ -793,7 +793,7 @@ prt_are_in,129,83,3 script Staff#70-1 1_F_02,{ mes "[Staff]"; mes "Let me guide you outside. I hope you had a good time."; close2; - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); warp "arena_room",100,75; end; } @@ -859,7 +859,7 @@ prt_are_in,25,84,3 script Staff#70-2 1_F_02,{ mes "See you later~"; close2; } - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); donpcevent "cast#70::OnNomal1"; warp "arena_room",100,75; donpcevent "#arn_timer_70::OnStop"; @@ -906,7 +906,7 @@ prt_are_in,25,84,3 script Staff#70-2 1_F_02,{ mes "See you later~"; close2; } - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); donpcevent "cast#70::OnNomal2"; warp "arena_room",100,75; donpcevent "#arn_timer_70::OnStop"; diff --git a/npc/other/arena/arena_lvl80.txt b/npc/other/arena/arena_lvl80.txt index 044b1eb31..3bb1cf43a 100644 --- a/npc/other/arena/arena_lvl80.txt +++ b/npc/other/arena/arena_lvl80.txt @@ -774,7 +774,7 @@ prt_are_in,181,188,3 script Staff#80-1 1_F_02,{ mes "[Staff]"; mes "Let me guide you outside. I hope you had a good time."; close2; - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); warp "arena_room",100,75; end; } @@ -840,7 +840,7 @@ prt_are_in,77,187,3 script Staff#80-2 1_F_02,{ mes "See you later~"; close2; } - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); donpcevent "cast#80::OnNomal1"; warp "arena_room",100,75; donpcevent "#arn_timer_80::OnStop"; @@ -887,7 +887,7 @@ prt_are_in,77,187,3 script Staff#80-2 1_F_02,{ mes "See you later~"; close2; } - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); donpcevent "cast#80::OnNomal2"; warp "arena_room",100,75; donpcevent "#arn_timer_80::OnStop"; diff --git a/npc/other/arena/arena_party.txt b/npc/other/arena/arena_party.txt index d7865d441..c3133af30 100644 --- a/npc/other/arena/arena_party.txt +++ b/npc/other/arena/arena_party.txt @@ -986,7 +986,7 @@ prt_are_in,181,135,3 script Staff#party-1 1_F_02,{ mes "[Staff]"; mes "Let me guide you outside. I hope you had a good time."; close2; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); warp "arena_room",100,75; end; } @@ -1058,7 +1058,7 @@ prt_are_in,77,135,3 script Staff#party-2 1_F_02,{ donpcevent "alloff#pt::OnEnable"; donpcevent "Ponox::OnStart"; } - specialeffect2 EH_HIT5; + specialeffect(EH_HIT5, AREA, playerattached()); donpcevent "cast#pt::OnNomal1"; warp "arena_room",100,75; end; @@ -1136,7 +1136,7 @@ prt_are_in,77,135,3 script Staff#party-2 1_F_02,{ donpcevent "alloff#pt::OnEnable"; donpcevent "Ponox::OnStart"; } - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); warp "arena_room",100,75; end; } diff --git a/npc/other/divorce.txt b/npc/other/divorce.txt index e3d6f5ee7..f490df2f9 100644 --- a/npc/other/divorce.txt +++ b/npc/other/divorce.txt @@ -208,7 +208,7 @@ nif_in,190,112,5 script Deviruchi#divorce 4_DEVIRUCHI,{ mes "^FF0000for the rest of your life.^000000"; next; specialeffect EF_MAGICROD; - specialeffect2 EF_DEVIL; + specialeffect(EF_DEVIL, AREA, playerattached()); wedding_sign = 0; Zeny -= 2500000; Sp = 0; diff --git a/npc/other/gympass.txt b/npc/other/gympass.txt index d30fafeb8..50f7b18f7 100644 --- a/npc/other/gympass.txt +++ b/npc/other/gympass.txt @@ -80,13 +80,13 @@ payon,173,141,4 script Ripped Cabus#GymPass 4_M_HUMAN_02,{ mes "and try to feel the burn."; mes "Ready? Let's do this."; next; - specialeffect2 EF_EARTHSPIKE; + specialeffect(EF_EARTHSPIKE, AREA, playerattached()); next; - specialeffect2 EF_DEVIL; + specialeffect(EF_DEVIL, AREA, playerattached()); next; - specialeffect2 EF_COIN; + specialeffect(EF_COIN, AREA, playerattached()); next; - specialeffect2 EF_SIGHTRASHER; + specialeffect(EF_SIGHTRASHER, AREA, playerattached()); next; mes "[Ripped]"; mes "There, you should be able"; @@ -139,13 +139,13 @@ payon,173,141,4 script Ripped Cabus#GymPass 4_M_HUMAN_02,{ mes "as muscle memory. It's won't take"; mes "as long to build 'em back up..."; next; - specialeffect2 EF_EARTHSPIKE; + specialeffect(EF_EARTHSPIKE, AREA, playerattached()); next; - specialeffect2 EF_DEVIL; + specialeffect(EF_DEVIL, AREA, playerattached()); next; - specialeffect2 EF_COIN; + specialeffect(EF_COIN, AREA, playerattached()); next; - specialeffect2 EF_SIGHTRASHER; + specialeffect(EF_SIGHTRASHER, AREA, playerattached()); next; mes "[Ripped]"; mes "How about that?"; diff --git a/npc/quests/bard_quest.txt b/npc/quests/bard_quest.txt index 79eca7720..173efeca8 100644 --- a/npc/quests/bard_quest.txt +++ b/npc/quests/bard_quest.txt @@ -92,7 +92,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{ mes "Goddess, Idun."; mes "Keeper of the apples of youth"; mes "Goddess of immortality.^000000"; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); next; mes "^483D8BEvery god never grows old."; mes "Idun, the wife of Bragi,"; @@ -114,7 +114,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{ mes "Loki was careless once,"; mes "and made her lost to the gods."; mes "He was forced to get her back.^000000"; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); next; mes "^483D8BMy goddess stands"; mes "In the field of Asgard"; @@ -132,7 +132,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{ mes "You will be blessed"; mes "By every god...^000000"; next; - specialeffect2 EF_RESURRECTION; + specialeffect(EF_RESURRECTION, AREA, playerattached()); mes "^3355FFWhile listening to his song, you feel at ease, and your thoughts become clearer. You believe that you see the vision of an angel, and you gain some experience points.^000000"; gef_bard_q += 16; //30,31 if (RENEWAL_EXP) { @@ -200,7 +200,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{ mes "Now, let me cast a spell..."; mes "*Mumble mumble...*"; next; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); mes "^3355FFOn your left wrist, a crescent shaped mark glowing with a silver light appeared. It's only noticeable when you concentrate on finding it, but it might clearly appear under the moonlight.^000000"; next; mes "[Errende]"; @@ -1721,7 +1721,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{ mes "Are one. 12 petals, our"; mes "Love finally blossoms.^000000"; next; - specialeffect2 EF_POISONREACT2; + specialeffect(EF_POISONREACT2, AREA, playerattached()); mes "^3355FFAfter the song, Kino smiles at you. You feel a sharp pain on your wrist. On the spot where the silver crescent was, you see a tiny black cross.^000000"; next; mes "[Kino Kitty]"; diff --git a/npc/quests/cooking_quest.txt b/npc/quests/cooking_quest.txt index 048201063..ad0306b2c 100644 --- a/npc/quests/cooking_quest.txt +++ b/npc/quests/cooking_quest.txt @@ -885,7 +885,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{ next; cutin "nyuang_4",2; emotion e_an,0,"Child with Cat#cook"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -10,0; mes "[Child with Cat]"; mes "Grrrrrrr!"; diff --git a/npc/quests/eye_of_hellion.txt b/npc/quests/eye_of_hellion.txt index f785023fe..a070bf8df 100644 --- a/npc/quests/eye_of_hellion.txt +++ b/npc/quests/eye_of_hellion.txt @@ -358,7 +358,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{ mes "this piece I found here in"; mes "Morroc, and the pieces you"; mes "found in Prontera and Payon. There's one more left in Geffen."; - specialeffect2 EF_HEAL2; + specialeffect(EF_HEAL2, AREA, playerattached()); specialeffect EF_HEAL2; next; mes "[Sir Chilias'Tyus]"; @@ -679,7 +679,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{ OnTouch: if (HELLIONQ == 57 && countitem(Piece_Of_Slate_2) > 0) { - specialeffect2 EF_HEAL2; + specialeffect(EF_HEAL2, AREA, playerattached()); specialeffect EF_HEAL2; mes "^3355FFOne of the Tablet Pieces"; mes "that you have is beginning to"; @@ -1896,7 +1896,7 @@ pay_arche,142,28,0 script Buddha Statue#paypuzz6 HIDDEN_NPC,5,5,{ OnTouch: if (HELLIONQ == 56 && countitem(Piece_Of_Slate_1) > 0) { - specialeffect2 EF_HEAL2; + specialeffect(EF_HEAL2, AREA, playerattached()); specialeffect EF_HEAL2; mes "^3355FFThe piece of tablet"; mes "that you have is shining"; @@ -1924,7 +1924,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{ close; } else if (HELLIONQ == 58) { - specialeffect2 EF_HEAL2; + specialeffect(EF_HEAL2, AREA, playerattached()); specialeffect EF_HEAL2; mes "[Welshyun]"; mes "That..."; @@ -2265,7 +2265,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{ OnTouch: if (HELLIONQ == 58 && countitem(Piece_Of_Slate_3) > 0) { - specialeffect2 EF_HEAL2; + specialeffect(EF_HEAL2, AREA, playerattached()); specialeffect EF_HEAL2; mes "^3355FFThe piece of tablet"; mes "that you have is shining"; @@ -2444,7 +2444,7 @@ gef_fild09,296,59,0 script Hidden Cave#hellion HIDDEN_NPC,3,3,{ OnTouch: if (HELLIONQ == 68 && countitem(Slate) > 0) { - specialeffect2 EF_HEAL2; + specialeffect(EF_HEAL2, AREA, playerattached()); specialeffect EF_HEAL2; mes "^3355FFThe tablet in your"; mes "hands begins to shine"; diff --git a/npc/quests/first_class/tu_acolyte.txt b/npc/quests/first_class/tu_acolyte.txt index 2762325cb..69cfb3cbf 100644 --- a/npc/quests/first_class/tu_acolyte.txt +++ b/npc/quests/first_class/tu_acolyte.txt @@ -310,7 +310,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{ tu_acolyte01 = 3; if(getskilllv("AL_HEAL") == 0){ getexp 0,100; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); } close; case 3: @@ -399,11 +399,11 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{ delitem Mace, 1; if(Class == Job_Acolyte_High) { getexp 2000,1000; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); close; } else { getexp 1000,500; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); close; } } else { @@ -654,7 +654,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{ mes "[Asthe]"; mes "Pneuma shields characters"; mes "within a 3*3 block, or a 9 cell area, from ^FF0000long range attacks^000000. If you party with Archers or other Bow users, be careful since you might accidentally block their attacks."; - specialeffect2 EF_PNEUMA; + specialeffect(EF_PNEUMA, AREA, playerattached()); next; mes "[Asthe]"; mes "There are some Undead monsters"; @@ -795,7 +795,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{ getexp 1000,1000; else getexp 5000,3000; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); close; } mes "If you get into an"; @@ -873,7 +873,7 @@ monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{ getexp 1000,1000; else getexp 2000,2000; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); //getitem Blue_Potion,1; close; } else { @@ -1145,7 +1145,7 @@ prt_monk,226,257,6 script Ill Girl#tu 4_F_04,{ getexp 0,500; else getexp 0,1000; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; break; } else { diff --git a/npc/quests/first_class/tu_archer.txt b/npc/quests/first_class/tu_archer.txt index 479e71e67..834323086 100644 --- a/npc/quests/first_class/tu_archer.txt +++ b/npc/quests/first_class/tu_archer.txt @@ -78,7 +78,7 @@ payon_in02,67,65,3 script Bard Jet#tu 1_M_BARD,{ next; if (Sex == SEX_MALE) { select("A joke, eh?"); - specialeffect2 EF_TALK_FROSTJOKE; + specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached()); mes "[Jet]"; mes "Oh..."; mes "My..."; @@ -92,7 +92,7 @@ payon_in02,67,65,3 script Bard Jet#tu 1_M_BARD,{ mes "just have to become a Bard!"; } else { select("Scream!"); - specialeffect2 EF_TALK_SCREAM; + specialeffect(EF_TALK_SCREAM, AREA, playerattached()); mes "[Jet]"; mes "W-Wow..."; mes "I don't know why, but that was truly amazing. You must have"; @@ -118,7 +118,7 @@ payon_in02,67,65,3 script Bard Jet#tu 1_M_BARD,{ mes "Ooh...!"; mes "You're...!"; next; - specialeffect2 EF_TALK_FROSTJOKE; + specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached()); //specialeffect EF_TALK_FROSTJOKE,"Bard Jet#tu"; emotion e_no1; mes "[Jet]"; @@ -657,7 +657,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{ mes "[Reidin Corse]"; mes "Ah, but your eyes look a lot sharper than they used to be."; mes "Here, this is a small, special reward for you."; - specialeffect2 EF_WIND; + specialeffect(EF_WIND, AREA, playerattached()); tu_archer01 = 7; getexp 500,0; next; @@ -884,7 +884,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{ mes "enough and you'll get used to it!"; next; if(.@eagle == 0){ - specialeffect2 EF_WIND; + specialeffect(EF_WIND, AREA, playerattached()); tu_archer01 = 10; getexp 0,500; } @@ -962,7 +962,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{ mes "[Reidin Corse]"; mes "Good! You pass."; mes "Don't forget that you gotta keep training and improve your skills. Before you know it, you'll be an expert almost as good as me!"; - specialeffect2 EF_WIND; + specialeffect(EF_WIND, AREA, playerattached()); tu_archer01 = 12; if (RENEWAL) delitem Grasshoppers_Leg,10; @@ -1095,7 +1095,7 @@ pay_arche,103,165,5 script Reidin Corse#tu 4_M_REIDIN_KURS,{ mes "you that you've passed"; mes "my final exam! Here, take"; mes "this little reward!"; - specialeffect2 EF_WIND; + specialeffect(EF_WIND, AREA, playerattached()); tu_archer01 = 16; if (RENEWAL_EXP) getexp 1000,1000; @@ -1383,7 +1383,7 @@ pay_arche,84,139,3 script Seisner 4_F_JOB_HUNTER,{ mes "[Seisner]"; mes "If you feel comfortable enough with the knowledge I've taught you, you should go back to Master Kavaruk. But if you still have questions, you can always come and ask me."; close2; - specialeffect2 EF_WIND; + specialeffect(EF_WIND, AREA, playerattached()); tu_archer01 = 3; if(JobLevel == 1){ getexp 0,30; diff --git a/npc/quests/first_class/tu_magician01.txt b/npc/quests/first_class/tu_magician01.txt index 73a3007f3..198913b83 100644 --- a/npc/quests/first_class/tu_magician01.txt +++ b/npc/quests/first_class/tu_magician01.txt @@ -155,7 +155,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ getexp BaseLevel*3,BaseLevel*2; else getexp BaseLevel*30,BaseLevel*15; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; case 1: mes "Are you ready"; @@ -389,7 +389,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "move on to the next"; mes "subject then. Ho ho ho~!"; tu_magician01 = 2; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); if(.@eread_1) getexp 150,70; if(.@eread_2) getexp 150,70; if(.@eread_3) getexp 150,70; @@ -415,7 +415,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "Napalm Beat. Learning these"; mes "enables Mages to learn their"; mes "more advanced skills."; - specialeffect2 EF_NAPALMBEAT; + specialeffect(EF_NAPALMBEAT, AREA, playerattached()); next; mes "[Mana]"; mes "Increasing the levels of"; @@ -423,7 +423,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "access to other spells, but"; mes "the damage of those basic"; mes "attack skills is also increased."; - specialeffect2 EF_LIGHTBOLT; + specialeffect(EF_LIGHTBOLT, AREA, playerattached()); next; mes "[Mana]"; mes "Other skills that are"; @@ -432,7 +432,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "Increase SP Recovery. They're"; mes "not really attack spells, but are useful in certain situations."; next; - specialeffect2 EF_SIGHT; + specialeffect(EF_SIGHT, AREA, playerattached()); mes "[Mana]"; mes "Sight is used to"; mes "reveal enemies that"; @@ -440,7 +440,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "mind that this skill's"; mes "range doesn't go too far."; next; - specialeffect2 EF_STONECURSE; + specialeffect(EF_STONECURSE, AREA, playerattached()); mes "[Mana]"; mes "Stone Curse has the chance"; mes "to curse a target, temporarily"; @@ -477,7 +477,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "Then bring them to me, okay?"; tu_magician01 = 3; getexp 400,200; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; case 3: mes "Ah, you're back?"; @@ -505,7 +505,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "Anyway, let me know when you're ready for the next lesson, okay?"; tu_magician01 = 5; getexp 400,200; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; } case 4: @@ -533,7 +533,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "Anyway, let me know when you're ready for the next lesson, okay?"; tu_magician01 = 5; getexp 400,200; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; } case 5: @@ -554,7 +554,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "a certain level. It attacks"; mes "with ancient spiritual power~"; next; - specialeffect2 EF_SOULSTRIKE; + specialeffect(EF_SOULSTRIKE, AREA, playerattached()); next; mes "[Mana]"; mes "As you train in the use"; @@ -572,7 +572,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "Safety Wall protects against"; mes "most close range attacks."; next; - specialeffect2 EF_GLASSWALL; + specialeffect(EF_GLASSWALL, AREA, playerattached()); next; mes "[Mana]"; mes "However, Safety Wall"; @@ -591,7 +591,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "can learn after training"; mes "in the use of Fire Bolt."; next; - specialeffect2 EF_FIREBALL; + specialeffect(EF_FIREBALL, AREA, playerattached()); next; mes "[Mana]"; mes "Fire Ball can actually"; @@ -610,9 +610,9 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "learned after increasing"; mes "the Cold Bolt skill to"; mes "a certain level."; - specialeffect2 EF_FROSTDIVER; + specialeffect(EF_FROSTDIVER, AREA, playerattached()); next; - specialeffect2 EF_FROSTDIVER2; + specialeffect(EF_FROSTDIVER2, AREA, playerattached()); mes "[Mana]"; mes "Frost Diver will damage"; mes "enemies and has the chance"; @@ -638,7 +638,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "increasing the Lightning"; mes "Bolt skill to a certain level."; next; - specialeffect2 EF_THUNDERSTORM; + specialeffect(EF_THUNDERSTORM, AREA, playerattached()); mes "[Mana]"; mes "Thunderstorm is similar"; mes "to Fire Ball in that it can"; @@ -658,7 +658,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "Sight. Unlike other skills,"; mes "Fire Wall targets an area."; next; - specialeffect2 EF_FIREWALL; + specialeffect(EF_FIREWALL, AREA, playerattached()); mes "[Mana]"; mes "So you can place"; mes "a Fire Wall in locations"; @@ -684,7 +684,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "inside the Mage Guild to"; mes "teach you how to use it."; next; - specialeffect2 EF_ENERGYCOAT; + specialeffect(EF_ENERGYCOAT, AREA, playerattached()); next; mes "[Mana]"; mes "If you do decide to"; @@ -711,7 +711,7 @@ geffen,67,180,4 script New Mage Manager#M 8_F,{ mes "in handy when fighting..."; tu_magician01 = 6; getitem Wand,1; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); if(.@skill_e1) getexp 300,100; if(.@skill_e2) getexp 300,100; if(.@skill_e3) getexp 300,100; diff --git a/npc/quests/first_class/tu_thief01.txt b/npc/quests/first_class/tu_thief01.txt index 13f251d71..58e654122 100644 --- a/npc/quests/first_class/tu_thief01.txt +++ b/npc/quests/first_class/tu_thief01.txt @@ -108,7 +108,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "So if you're feeling like the damage you're making is pretty weak, you might want more stat points in ^2F4F2FSTR^000000. How high your raise your own STR is really up to you."; tu_thief01 = 1; getexp 200,100; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; case 2: mes "[Yierhan]"; @@ -124,7 +124,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "also increase your attack damage, but they're insignificant compared to STR. I repeat: ^660000insignificant^000000."; tu_thief01 = 1; getexp 400,200; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; case 3: mes "[Yierhan]"; @@ -139,7 +139,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "So if you're feeling like the damage you're making is pretty weak, you might want more stat points in ^2F4F2FSTR^000000. How high your raise your own STR is really up to you."; tu_thief01 = 1; getexp 200,100; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; } } else if(tu_thief01 == 1){ @@ -249,7 +249,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "I can explain real quick."; tu_thief01 = 3; getexp BaseLevel*30,BaseLevel*15; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; } else if(tu_thief01 == 3){ mes "So..."; @@ -291,7 +291,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "Steal is an Active Skill that has the chance of nabbing you some"; mes "free items! You can't use it against other people, though."; next; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); mes "[Yierhan]"; mes "But you can use Steal to take items from monsters! If you're lucky, you can get some good items that way. Oh, and Steal doesn't affect monster drop rates."; .@read_s = 1; @@ -334,7 +334,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "after you learn the Envenom skill. Detoxify allows you to counteract the effects of poison on a target."; .@read_r = 1; next; - specialeffect2 EF_DETOXICATION; + specialeffect(EF_DETOXICATION, AREA, playerattached()); next; break; case 7: @@ -346,7 +346,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "[Yierhan]"; mes "Now that you're such an expert on skills, I want you to level up your skills and come back, got it?"; tu_thief01 = 4; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); if(.@read_d) getexp 300,100; if(.@read_f) getexp 300,100; if(.@read_s) getexp 300,100; @@ -370,7 +370,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ savepoint "moc_ruins",80,164; getitem Wing_Of_Butterfly,1; getexp 100,50; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close2; warp "moc_fild12",158,373; end; @@ -428,7 +428,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ tu_thief01 = 8; getitem Main_Gauche,1; getexp 1000,500; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; case 2: mes "[Yierhan]"; @@ -438,7 +438,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ tu_thief01 = 7; getitem Main_Gauche,1; getexp 500,200; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; } } else { @@ -465,7 +465,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ tu_thief01 = 7; getitem Main_Gauche,1; getexp 500,200; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; } } @@ -508,7 +508,7 @@ moc_ruins,66,164,4 script Thief Trainer#T 4_M_02,{ mes "other there, okay?"; tu_thief01 = 8; getexp 200,100; - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); close; } else if(tu_thief01 == 8){ mes "Heya pal."; diff --git a/npc/quests/newgears/2010_headgears.txt b/npc/quests/newgears/2010_headgears.txt index 7fb5178b8..16d76d5e6 100644 --- a/npc/quests/newgears/2010_headgears.txt +++ b/npc/quests/newgears/2010_headgears.txt @@ -778,8 +778,8 @@ gef_fild07,108,161,4 script Roda Frog#Frog_Cap RODA_FROG,1,1,{ next; mes "[King Froggie Vll]"; mes "I hearby give " + strcharinfo(PC_NAME) + ", our hero, this Frog Hat."; - specialeffect2 EF_MAPPILLAR2; - specialeffect2 EF_BLESSING; + specialeffect(EF_MAPPILLAR2, AREA, playerattached()); + specialeffect(EF_BLESSING, AREA, playerattached()); erasequest 5004; 2009_hat = 6; getitem Frog_Cap,1; //Frog_Cap diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt index 562609d31..8a355ce79 100644 --- a/npc/quests/quests_13_1.txt +++ b/npc/quests/quests_13_1.txt @@ -5401,7 +5401,7 @@ OnTouch: mes "This is a really special drink I preserved. Please, drink it while it's nice and hot."; next; mes "- You feel so refreshed and light, as you drink the tea that the Official offered. -"; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); ep13_1_rhea = 100; if (RENEWAL_EXP) getexp 80000,3000; @@ -8264,8 +8264,8 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{ spl_fild02,314,165,0 script School of Fish#1::Fishinghole CLEAR_NPC,{ if (!questprogress(12060,PLAYTIME) && countitem(Piece_Of_Fish) < 20) { - specialeffect2 EF_BUBBLE; - specialeffect2 EF_INVENOM; + specialeffect(EF_BUBBLE, AREA, playerattached()); + specialeffect(EF_INVENOM, AREA, playerattached()); .@fcast = 15; if (isequipped(2550)) //Fishers_Muffler .@fcast -= 2; @@ -8431,7 +8431,7 @@ mid_camp,88,100,7 script Cat Hand Mining Agent 4_CAT,{ - script Mysterious Rock#0::manukrock FAKE_NPC,{ if (countitem(Unidentified_Mineral) < 3 && !questprogress(12062,PLAYTIME)) { - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",10; .@rhea_ran = rand(1,20); if (.@rhea_ran < 13) getitem Stone,1; @@ -9882,8 +9882,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{ mes "[???]"; mes "No... Noooo!"; next; - specialeffect2 EF_SOULBREAKER; - specialeffect2 EF_SONICBLOWHIT; + specialeffect(EF_SOULBREAKER, AREA, playerattached()); + specialeffect(EF_SONICBLOWHIT, AREA, playerattached()); mes "[Expedition Messenger]"; mes "Argh... " + strcharinfo(PC_NAME) + ", are you alright? The report... The report..."; next; @@ -9935,8 +9935,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{ mes "[???]"; mes "No... Noooo!"; next; - specialeffect2 EF_SOULBREAKER; - specialeffect2 EF_SONICBLOWHIT; + specialeffect(EF_SOULBREAKER, AREA, playerattached()); + specialeffect(EF_SONICBLOWHIT, AREA, playerattached()); mes "[Expedition Messenger]"; mes "Argh... " + strcharinfo(PC_NAME) + ", are you alright? The report... The report..."; next; @@ -11729,14 +11729,14 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{ mes "[Defaria]"; mes "What th--! How dare you fool an old man!"; mes "You little punk!"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -10,0; next; mes "[Defaria]"; mes "I may be old,"; mes "but I'm a representative of great Arunafeltz's scholars!"; mes "It's a mistake to trifle with me like that!"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -10,0; next; mes "[Defaria]"; diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt index 0dfd16d23..e64e1c84a 100644 --- a/npc/quests/quests_13_2.txt +++ b/npc/quests/quests_13_2.txt @@ -415,7 +415,7 @@ man_fild02,132,47,4 duplicate(Cat Hand Agent#spl) Cat Hand Agent#man 4_M_BOSSCAT - script Mysterious Rock#30::manukrock2 FAKE_NPC,{ if (countitem(Unidentified_Mineral) < 3 && !questprogress(12062,PLAYTIME)) { - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",10; .@rhea_ran = rand(1,20); if (.@rhea_ran < 13) getitem Stone,1; @@ -455,8 +455,8 @@ man_fild02,241,227,0 duplicate(manukrock2) Mysterious Rock#40 CLEAR_NPC spl_fild03,226,151,0 script School of Fish#5::FishingHole_spl3 CLEAR_NPC,{ if (!questprogress(12060,PLAYTIME) && countitem(Piece_Of_Fish) < 20) { - specialeffect2 EF_BUBBLE; - specialeffect2 EF_INVENOM; + specialeffect(EF_BUBBLE, AREA, playerattached()); + specialeffect(EF_INVENOM, AREA, playerattached()); .@fcast = 15; if (isequipped(2550)) //Fishers_Muffler .@fcast -= 2; @@ -475,7 +475,7 @@ spl_fild03,226,151,0 script School of Fish#5::FishingHole_spl3 CLEAR_NPC,{ if (rand(1,20) == 2) { getitem Rough_File,1; ep13_1_rhea = 14; - specialeffect2 EF_BUBBLE; + specialeffect(EF_BUBBLE, AREA, playerattached()); mapannounce strcharinfo(PC_MAP),strcharinfo(PC_NAME) + " has caught a Loose File.",bc_map,"0xff77ff"; } } @@ -5757,7 +5757,7 @@ spl_in02,139,65,3 script Middle-Ranked Laphine#la 4_F_FAIRYKID3,{ mes "as Grenouille told you. -"; next; mes "- Booowoong -"; - specialeffect2 EF_HEALSP; + specialeffect(EF_HEALSP, AREA, playerattached()); next; mes "- When the lights gone,"; mes "a big flower of Alfheim was lied"; diff --git a/npc/quests/quests_airship.txt b/npc/quests/quests_airship.txt index 8c743d99a..3772d7164 100644 --- a/npc/quests/quests_airship.txt +++ b/npc/quests/quests_airship.txt @@ -694,7 +694,7 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{ mes "Touching another"; mes "man's wife...?!"; next; - specialeffect2 EF_PIERCE; + specialeffect(EF_PIERCE, AREA, playerattached()); percentheal -30,0; close; case 2: @@ -748,7 +748,7 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{ mes "Touching another"; mes "man's wife...?!"; next; - specialeffect2 EF_PIERCE; + specialeffect(EF_PIERCE, AREA, playerattached()); percentheal -20,0; close; case 4: @@ -760,7 +760,7 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{ mes "Touching another"; mes "man's wife...?!"; next; - specialeffect2 EF_PIERCE; + specialeffect(EF_PIERCE, AREA, playerattached()); percentheal -10,0; close; } @@ -1814,7 +1814,7 @@ airplane_01,238,154,3 script Airship Captain#01 4_M_REINDEER,{ mes "exaggeration."; mes "It has really a strong power."; next; - specialeffect2 EF_MAPPILLAR; + specialeffect(EF_MAPPILLAR, AREA, playerattached()); mes "[Tarlock]"; mes "Did you understand?"; mes "I'll rest a little."; @@ -2137,7 +2137,7 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{ mes "Rune Stones? Hmm. Well, this"; mes "is goodbye for now, adventurer."; close2; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); completequest 8043; lhz_heart = 13; if (RENEWAL_EXP) diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt index 1ac300153..c96f50e27 100644 --- a/npc/quests/quests_hugel.txt +++ b/npc/quests/quests_hugel.txt @@ -2443,17 +2443,17 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{ mes "[Herico]"; mes "Then...SPIT THEM OUT!"; percentheal -5,0; - specialeffect2 EF_HIT4; + specialeffect(EF_HIT4, AREA, playerattached()); next; mes "[Herico]"; mes "SPIT THEM OUT!"; percentheal -5,0; - specialeffect2 EF_HIT4; + specialeffect(EF_HIT4, AREA, playerattached()); next; mes "[Herico]"; mes "I SAID, SPIT THEM OUUUUUT!"; percentheal -5,0; - specialeffect2 EF_HIT4; + specialeffect(EF_HIT4, AREA, playerattached()); next; mes "["+strcharinfo(PC_NAME)+"]"; mes "Err...I was just kidding..."; @@ -3504,15 +3504,15 @@ hu_fild06,168,359,3 script Moks Mushrooms#Mush1 HIDDEN_NPC,{ mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered mushrooms. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 11) mes "Collected Moks Mushroom Solution: 1ea "; @@ -3559,15 +3559,15 @@ hu_fild06,194,341,3 script Moks Mushrooms#Mush2 HIDDEN_NPC,{ mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered mushrooms. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 11) mes "Collected Moks Mushroom Solution: 1ea "; @@ -3614,15 +3614,15 @@ hu_fild06,198,339,3 script Moks Mushrooms#Mush3 HIDDEN_NPC,{ mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered mushrooms. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 11) mes "Collected Moks Mushroom Solution: 1ea "; @@ -3669,15 +3669,15 @@ hugel,209,163,3 script Clam#C1 HIDDEN_NPC,{ mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered Clam Flesh. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 21) mes "Collected Clam Flesh: 1ea "; @@ -3724,7 +3724,7 @@ hugel,203,166,3 script Clam#C2 HIDDEN_NPC,{ mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -"; @@ -3732,7 +3732,7 @@ hugel,203,166,3 script Clam#C2 HIDDEN_NPC,{ close; } mes "- You have successfully gathered Clam Flesh. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 21) mes "Collected Clam Flesh: 1ea "; @@ -3779,15 +3779,15 @@ hugel,217,158,3 script Clam#C3 HIDDEN_NPC,{ mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered Clam Flesh. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 21) mes "Collected Clam Flesh: 1ea "; @@ -3834,15 +3834,15 @@ hugel,204,150,3 script Clam#C4 HIDDEN_NPC,{ mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; mes "- *Snip Snip* -"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered Clam Flesh. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 21) mes "Collected Clam Flesh: 1ea "; @@ -3889,15 +3889,15 @@ hu_fild06,155,309,1 script Moks Bugs#Bug1 THIEF_BUG_,{ mes "- *Whizz Whizz Bzzzz* -"; mes "- *Whizz Whizz*-"; mes "- *Whizz Whizz*-"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- The bugs quickly ran away. You have failed to gather their shells. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered Moks Bugs Shells. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 31) mes "Collected Moks Bugs Shells: 1ea "; @@ -3944,15 +3944,15 @@ hu_fild06,218,320,1 script Moks Bugs#Bug2 THIEF_BUG_,{ mes "- *Whizz Whizz Bzzzz* -"; mes "- *Whizz Whizz*-"; mes "- *Whizz Whizz*-"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- The bugs quickly ran away. You have failed to gather their shells. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered Moks Bugs Shells. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 31) mes "Collected Moks Bugs Shells: 1ea "; @@ -3999,15 +3999,15 @@ hu_fild06,249,329,1 script Moks Bugs#Bug3 THIEF_BUG_,{ mes "- *Whizz Whizz Bzzzz* -"; mes "- *Whizz Whizz*-"; mes "- *Whizz Whizz*-"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- The bugs quickly ran away. You have failed to gather their shells. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered Moks Bugs Shells. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 31) mes "Collected Moks Bugs Shells: 1ea "; @@ -4054,15 +4054,15 @@ hu_fild06,218,373,1 script Moks Bugs#Bug4 THIEF_BUG_,{ mes "- *Whizz Whizz Bzzzz* -"; mes "- *Whizz Whizz*-"; mes "- *Whizz Whizz*-"; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; if (rand(1,5) > 4) { mes "- The bugs quickly ran away. You have failed to gather their shells. -"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); close; } mes "- You have successfully gathered Moks Bugs Shells. -"; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); ++hg_tre; if (hg_tre == 31) mes "Collected Moks Bugs Shells: 1ea "; @@ -4140,7 +4140,7 @@ lhz_dun02,244,226,0 script Unethical Machine HIDDEN_NPC,{ mes "- You threw a Marine Sphere Bottle toward the machine. -"; next; mes "BOOM!"; - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); enablenpc "HiddenExplosion"; mapannounce "lhz_dun02","Beep------------------ ",1,0x99CCFF; delitem Mini_Bottle,1; //Marine sphere bottle @@ -4202,7 +4202,7 @@ hugel,198,169,0 script #HugelTree HIDDEN_WARP_NPC,2,2,{ mes "of overwhelming comfort.^000000"; close; } else if (hg_memory == 6) { - specialeffect2 EF_BEGINSPELL5; + specialeffect(EF_BEGINSPELL5, AREA, playerattached()); mes "^3355FFWhat's this strange"; mes "feeling of dread?"; mes "This peculiar chill..."; @@ -4858,7 +4858,7 @@ hugel,196,164,3 script El Schatt 1_M_04,{ mes "It's... I'm Manainne..."; mes "^333333*Sniff*^000000 She had to go back..."; next; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); hg_memory = 12; getexp RENEWAL_EXP?8000:50000,0; completequest 8063; @@ -5153,7 +5153,7 @@ hu_fild06,190,367,3 script Torpy's Mom 4_F_GODEMOM,{ mes "it's not much, but I hope"; mes "you accept this as our thanks."; mes "Goodbye for now, adventurer~"; - specialeffect2 (hg_ubu01 == 6)?EF_CONE:EF_MVP; + specialeffect((hg_ubu01 == 6)?EF_CONE:EF_MVP, AREA, playerattached()); hg_ubu01 = 8; completequest 12048; getitem Dex_Dish05,3; //Green Salad @@ -6982,7 +6982,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{ close; } hg_milk = 9; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); getexp RENEWAL_EXP?10000:100000,0; getitem 12063,3; erasequest 12043; diff --git a/npc/quests/quests_juperos.txt b/npc/quests/quests_juperos.txt index 558c80860..de7bccb43 100644 --- a/npc/quests/quests_juperos.txt +++ b/npc/quests/quests_juperos.txt @@ -1656,7 +1656,7 @@ OnTouch: mes "Ahhhh..."; mes "It feels like"; mes "I'm floating..."; - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); close2; stopnpctimer; warp "juperos_02",128,278; @@ -1733,7 +1733,7 @@ OnMyMobDead: mapannounce "juperos_02","Have you come seeking Juperos?! It no longer exists...",bc_map,"0xFF0000"; else if (.MyMobs == 0) { mapannounce "juperos_02","Have you come to see me? Fine! Find me first!",bc_map,"0xFF0000"; - specialeffect2 563; + specialeffect(563, AREA, playerattached()); soundeffectall "earth_quake.wav",0; disablenpc "3F Gate Switch#jupe"; donpcevent "Restricted Area#jupe::OnEnable"; @@ -4303,7 +4303,7 @@ jupe_ele_r,51,98,0 script Switch#ufe CLEAR_NPC,{ disablenpc "Switch#ufe"; enablenpc "Switch On#ufe"; initnpctimer; - specialeffect2 563; + specialeffect(563, AREA, playerattached()); soundeffectall "earth_quake.wav",0; close2; cutin "5-1",255; @@ -4912,7 +4912,7 @@ OnTouch: next; switch(select("Use it.", "Ignore it.")) { case 1: - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); close2; stopnpctimer; warp "juperos_02",130,142; 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 "..........."; diff --git a/npc/quests/quests_morocc.txt b/npc/quests/quests_morocc.txt index 0d509b2d4..e786e3580 100644 --- a/npc/quests/quests_morocc.txt +++ b/npc/quests/quests_morocc.txt @@ -2265,7 +2265,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 1_M_02,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ahchoo! Thanks to you, I couldn't find it from the library. So I travelled all the way up to Schwaltzvalt... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "^660000Feeling angry at him, you exaggerated a fit of sneezing which you have had for quite a while.^000000"; next; @@ -2621,7 +2621,7 @@ yuno,333,210,5 script Library Master#garas 1_M_LIBRARYMASTER,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "...Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "[Library Master]"; mes "God bless you. Oh, did you catch cold?"; @@ -2720,7 +2720,7 @@ OnTouch: next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "...Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "[Library Master]"; mes "God bless you. Oh, did you catch cold?"; @@ -2762,7 +2762,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{ mes "["+ strcharinfo(PC_NAME) +"]"; mes "I'm looking for a book called <The Crow of the Fate> written by Oliver Hilpert... Ahchoo!"; emotion e_wah,1; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "[Library Part-Timer]"; mes "Ah, I remember that one... It's the one most frequently left in the cart."; @@ -2778,7 +2778,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Yes, umm... ahchoo! Where can I find old news articles...? Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "[Library Part-Timer]"; mes "Oh, you can find them in a corner of the right room."; @@ -2786,7 +2786,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Thanks... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); close; } else if (barmunt_crow == 11) { @@ -2799,7 +2799,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Cough... I'm looking for a book called <The Crow of the Fate> written by Oliver Hilpert."; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "[Library Part-Timer]"; mes "Ah, I remember that one... It's the one most frequently left in the cart."; @@ -2817,7 +2817,7 @@ yuno_in04,111,57,3 script Library Part-Timer#garas 4_F_LGTGIRL,{ next; mes "[Library Part-Timer]"; mes "Right! When the hero was meeting his end in the burning mansion... ^FF0000-- BEEP --^000000"; - specialeffect2 EF_BASH3D2; + specialeffect(EF_BASH3D2, AREA, playerattached()); close2; warp "que_ba",264,186; end; @@ -2846,7 +2846,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ah, luckily there's one... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Sniff... So now all I have to do is just check this out and deliver it to that Mammi fanatic."; @@ -2856,7 +2856,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{ mes "^660000You were about to pull out the book, complaining and grumbling, when suddenly it felt as if your brain exploded. You black out...^000000"; barmunt_crow = 4; close2; - specialeffect2 EF_BASH3D2; + specialeffect(EF_BASH3D2, AREA, playerattached()); warp "que_ba",247,33; end; } @@ -2870,7 +2870,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ah, luckily there's one... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Sniff... So now all I have to do is just check this out and deliver it to that Mammi fanatic."; @@ -2879,7 +2879,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{ next; mes "^660000You were about to pull out the book, complaining and grumbling, when suddenly it felt as if your brain exploded. You black out...^000000"; close2; - specialeffect2 EF_BASH3D2; + specialeffect(EF_BASH3D2, AREA, playerattached()); warp "que_ba",247,33; end; } @@ -2893,7 +2893,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ah, luckily there's one... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Sniff... So now all I have to do is just check this out and deliver it to that Mammi fanatic."; @@ -2902,7 +2902,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{ next; mes "^660000You were about to pull out the book, complaining and grumbling, when suddenly it felt as if your brain exploded. You black out...^000000"; close2; - specialeffect2 EF_BASH3D2; + specialeffect(EF_BASH3D2, AREA, playerattached()); warp "que_ba",247,33; end; } @@ -2928,7 +2928,7 @@ OnTouch: next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Phew... I guess I had a dream or something... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "^660000It was an indescribable dream: a burning laboratory in an unknown place in Schwaltzvalt."; mes "You tried to think hard, but could not figure out what the dream meant.^000000"; @@ -3182,7 +3182,7 @@ yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{ mes "^3131FFSeclusion - A female disciple's letter^000000"; mes "^3131FFThe stepmother = Lover from a past life?!^000000"; close2; - specialeffect2 EF_ENHANCE; + specialeffect(EF_ENHANCE, AREA, playerattached()); delitem Mami_Photo_Album,1; barmunt_crow = 14; getitem Author_Autograph,1; @@ -3215,7 +3215,7 @@ yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{ next; mes "(WHACK)"; specialeffect EF_VENOMDUST; - specialeffect2 EF_DETOXICATION; + specialeffect(EF_DETOXICATION, AREA, playerattached()); next; mes "^660000Oliver picked up the feather more quickly than you could, and then tore it into pieces before you could even say anything.^000000"; next; @@ -3426,7 +3426,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ah... Ahchoo! Mr. Hilpert, are you interested in my bag? It's just a simple bag I got from the Novice Training Grounds..."; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "[Oliver Hilpert]"; mes "No, no!"; @@ -3446,7 +3446,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ahchoo! Are you also a Mammi fan?"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "[Oliver Hilpert]"; mes "Are you kidding?! Of course!"; @@ -3480,7 +3480,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "No, I got it as a gift from someone... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "[Oliver Hilpert]"; mes "What? Now I'm shocked!"; @@ -3552,7 +3552,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{ mes "^3131FFSeclusion - A female disciple's letter^000000"; mes "^3131FFThe stepmother = Lover from a past life?!^000000"; close2; - specialeffect2 EF_ENHANCE; + specialeffect(EF_ENHANCE, AREA, playerattached()); delitem Mami_Photo_Album,1; barmunt_crow = 14; getitem Author_Autograph,1; @@ -3597,7 +3597,7 @@ que_ba,257,39,3 script Female Researcher#bpast 4_F_ALCHE,{ mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ahchoo! Ahchoo! Gosh..."; mes "Hey, where am I...?"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "- Pzzzz -"; specialeffect EF_CLOAKING; @@ -3730,7 +3730,7 @@ OnTouch: next; mes "^660000You were looking at their backs as they left, and then noticed that you were holding the book you were reading in your hands. Then....^000000"; barmunt_crow = 6; - specialeffect2 EF_FLASHER; + specialeffect(EF_FLASHER, AREA, playerattached()); close2; warp "yuno_in04",100,3; } @@ -3895,7 +3895,7 @@ cave,82,97,3 script Cave Settler#g1 4_M_CAVE1,3,3,{ mes "Ah... Ahchoo!"; mes "'I'm not like other outsiders... Ahchoo!"; mes "I have a goal to achieve in here... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "^660000Although you a bit intimidated by this guard, and your sneezing definitely not helping, you continue.^000000"; next; @@ -3983,7 +3983,7 @@ OnTouch: mes "Ah... Ahchoo!"; mes "'I'm not like other outsiders... Ahchoo!"; mes "I have a goal to achieve in here... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "^660000Although you're a bit intimidated by this guard, and your sneezing definitely not helping, you continue.^000000"; next; @@ -4088,7 +4088,7 @@ cave,22,186,3 script Monsterous Man#zid 4_M_MUT1,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Umm... Ahchoo!"; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Do you know a man by the name of Oliver Hilpert?"; diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt index c722f2677..4b8272ed1 100644 --- a/npc/quests/quests_moscovia.txt +++ b/npc/quests/quests_moscovia.txt @@ -1698,7 +1698,7 @@ S_AS_1: if (rand(1,3) == 2) { soundeffect "mos_gusli1.wav",0; emotion e_no1; - specialeffect2 EF_EXIT; + specialeffect(EF_EXIT, AREA, playerattached()); mes "[Aged Stranger]"; mes "Oh! You are good at playing the"; mes "Gusli! In such a short time... you"; @@ -5561,7 +5561,7 @@ moscovia,252,203,5 script A Little Girl#mos1 4_F_RUSCHILD,{ mes "[Yosefina]"; mes "Yes, I like it very much~"; mes "I never want it to leave. I don't want winter to come."; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mos_kid = 1; if (mos_middle == 1 && mos_elder == 1) mos_nowinter = 11; close; @@ -5602,7 +5602,7 @@ moscovia,233,204,3 script A Young Man#mos2 4_M_RUSMAN2,{ mes "No, I don't like the cold winter."; mes "And I get angry when"; mes "seeing couples."; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mos_middle = 1; if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11; close; @@ -5643,7 +5643,7 @@ moscovia,219,229,5 script A Middle-Aged Man#mos3 4_M_RUSBALD,{ mes "Everyone will be sad"; mes "when it comes again."; mes "I don't want winter to come."; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mos_elder = 1; if (mos_kid == 1 && mos_middle == 1) mos_nowinter = 11; close; @@ -5704,7 +5704,7 @@ moscovia,255,203,3 script A Little Boy#mos4 4_M_RUSCHILD,{ mes "a long and heavy sword"; mes "some day."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Vasili]"; mes "If winter is gone,"; mes "it is much easier to go on adventures."; @@ -5753,7 +5753,7 @@ moscovia,204,188,5 script A Lady#mos5 4_F_RUSWOMAN1,{ mes "The sunflower is the symbol"; mes "of this province."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Katya]"; mes "I wish that winter never comes back and"; mes "I could see sunflowers everyday."; @@ -5794,7 +5794,7 @@ moscovia,167,97,3 script A Lady#mos6 4_F_RUSWOMAN3,{ mes "Yes, kids like it and"; mes "flowers are blooming."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Roza]"; mes "Whoever likes the cold and dark winter?"; mes "I hope this weather last forever."; @@ -5851,7 +5851,7 @@ moscovia,202,102,3 script A Little Boy#mos7 4_M_RUSCHILD,{ mes "nobody comes out of their homes."; mes "So it's not very fun."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Feliks]"; mes "If winter never comes"; mes "I can have"; @@ -5908,7 +5908,7 @@ moscovia,220,172,3 script A Young Man#mos8 4_M_RUSMAN2,{ mes "I feel an impulse to adventure"; mes "many times a day."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Ilyav]"; mes "But, I don't want to in the cold winter."; mes "Hu, if the weather everday was as good as lately,"; @@ -5948,7 +5948,7 @@ moscovia,253,175,3 script A Man#mos9 4_M_RUSBALD,{ mes "There's so much snow that it makes it hard to go"; mes "around here and there."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Orek]"; mes "In winter, fishing is more difficult,"; mes "anyway, it is bad for us."; @@ -6005,7 +6005,7 @@ moscovia,168,135,3 script A Lady#mos10 4_F_RUSWOMAN3,{ mes "But, you don't even know how cold it gets here in winter."; mes "You wouldn't even want to go outside."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Kyra]"; mes "It is good to stay with my family, but"; mes "nobody likes the cold winter."; @@ -6057,7 +6057,7 @@ moscovia,192,80,3 script A Lady#mos11 4_F_RUSWOMAN1,{ mes "[Sabina]"; mes "If the summer continues to last,"; mes "I can see them all the time..."; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mos_middle = 1; if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11; close; @@ -6108,7 +6108,7 @@ moscovia,211,215,5 script A Young Man#mos12 4_M_RUSMAN1,{ mes "Of course."; mes "From now on, it is my golden age of opportunity!"; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Izlof]"; mes "If it is the summer all the time,"; mes "my life will be in an amorous mood."; @@ -6158,7 +6158,7 @@ moscovia,149,112,3 script A Man#mos13 4_M_RUSBALD,{ mes "Yes, under the warm sunlight,"; mes "I like to rest."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Lev]"; mes "I hope that this warm weather"; mes "will last forever."; @@ -6210,7 +6210,7 @@ moscovia,196,71,3 script A Young Man#mos14 4_M_RUSMAN2,{ mes "sea is frozen, so it"; mes "is impossible to sail."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Fredek]"; mes "I hope that winter never comes."; mes "It is my dream."; @@ -6262,7 +6262,7 @@ moscovia,234,168,5 script A Man#mos15 4_M_RUSBALD,{ mes "If you didn't prepare,"; mes "it would be hard for you."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Gavrel]"; mes "It would be a lot better"; mes "if winter never came again."; @@ -6315,7 +6315,7 @@ moscovia,228,80,3 script A Little Boy#mos16 4_M_RUSCHILD,{ mes "Unless the sunlight is too strong,"; mes "it is much better than the cold winter."; next; - specialeffect2 EF_SUMMONSLAVE; + specialeffect(EF_SUMMONSLAVE, AREA, playerattached()); mes "[Rurik]"; mes "By the way, what is this for?"; mes "It is natural to like the summer."; @@ -6729,8 +6729,8 @@ mosk_dun01,169,162,0 script Mysterious Stone#rus02 HIDDEN_NPC,{ next; mes "- !!!!!! -"; percentheal -50,-50; - specialeffect2 EF_DARKBREATH; - specialeffect2 EF_HIT2; + specialeffect(EF_DARKBREATH, AREA, playerattached()); + specialeffect(EF_HIT2, AREA, playerattached()); emotion e_omg,1; next; mes "- An unknown force has -"; @@ -6834,7 +6834,7 @@ mosk_dun01,167,160,3 script Gray Wolf#rus03 4_RUS_DWOLF,{ rhea_rus_main = 3; setquest(8136); emotion e_omg,1; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -50,0; next; mes "- The Gray Wolf attacks you -"; @@ -7078,7 +7078,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{ mes "- The key begins to glow -"; mes "- wind begins to blow -"; mes "- from somewhere -"; - specialeffect2 EF_BEGINSPELL; + specialeffect(EF_BEGINSPELL, AREA, playerattached()); specialeffect EF_FREEZED; next; } else { @@ -7644,7 +7644,7 @@ moscovia,178,127,0 script The Blacksmith#rus06 1_M_SMITH,{ next; mes "[The Blacksmith]"; mes "'^ff0000Spellshield Protection^000000."; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); next; mes "[The Blacksmith]"; mes "This spell protects you from any curse the keymaker might try to use. Remember the words of the spell. It won't last very long because I am just a blacksmith."; @@ -8538,7 +8538,7 @@ mosk_fild02,157,233,0 script Shepherdess#rus10 1_F_04,{ close; } mes "- My hand is pricked by thorns! -"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -5,0; close; } @@ -8705,7 +8705,7 @@ OnTouch: mes "- something gleaming -"; mes "- seems to stare at you!! -"; close2; - specialeffect2 EF_FLASHER; + specialeffect(EF_FLASHER, AREA, playerattached()); unitkill getcharid(CHAR_ID_ACCOUNT); end; } @@ -8727,7 +8727,7 @@ OnTouch: } mes "-You seem to hear the splash but something gleaming raids on you!!-"; close2; - specialeffect2 EF_FLASHER; + specialeffect(EF_FLASHER, AREA, playerattached()); unitkill getcharid(CHAR_ID_ACCOUNT); end; } @@ -8925,7 +8925,7 @@ mosk_fild02,124,202,3 script Lusalka#rus23 4_F_RUSGREEN,{ mes "Here, my hair...?!"; mes "Aaaaaaaah!??!?!"; sc_start SC_CURSE,60000,0; - specialeffect2 EF_LORD; + specialeffect(EF_LORD, AREA, playerattached()); emotion e_omg,1; percentheal -30,0; next; @@ -8968,7 +8968,7 @@ mosk_fild02,124,202,3 script Lusalka#rus23 4_F_RUSGREEN,{ } mes "-When Lusalka watches you, you are blacked out-"; close2; - specialeffect2 EF_FLASHER; + specialeffect(EF_FLASHER, AREA, playerattached()); unitkill getcharid(CHAR_ID_ACCOUNT); donpcevent "Lusalka#rus23::OnDisable"; end; @@ -9415,7 +9415,7 @@ mosk_que,45,131,0 script Stone Furnace#rus28 HIDDEN_NPC,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Oops, it's hot, hot!!!"; - specialeffect2 EF_FIREHIT; + specialeffect(EF_FIREHIT, AREA, playerattached()); emotion e_omg,1; percentheal -5,0; close; @@ -9679,7 +9679,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{ mes "[Baba Yaga]"; mes "'Presto Change-o!!'"; mes "'Turn into a pig!!'"; - specialeffect2 EF_BARRIER; + specialeffect(EF_BARRIER, AREA, playerattached()); emotion e_omg; next; mes "[Baba Yaga]"; @@ -9697,7 +9697,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{ mes "["+ strcharinfo(PC_NAME) +"]"; mes "Eh, eh.. I mean.. I say.. spell..."; mes ""+ .@input$ +" !!!"; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); next; } else { mes "["+ strcharinfo(PC_NAME) +"]"; @@ -9889,7 +9889,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{ next; mes "[Baba Yaga]"; mes "'There is an order for you to open your eyes!!!'"; - specialeffect2 EF_BEGINSPELL3; + specialeffect(EF_BEGINSPELL3, AREA, playerattached()); rhea_rus_main = 29; monster "mosk_dun02",52,210,"Alarm to 5 minutes",1193,1,"Baba Yaga#rus32::OnMyMobDead"; monster "mosk_dun02",53,210,"Alarm on time",1193,1,"Baba Yaga#rus32::OnMyMobDead"; @@ -11006,7 +11006,7 @@ treasure01,24,39,0 script Old Bed#rus38 HIDDEN_NPC,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ouch?!"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -5,0; next; mes "- Something unidentified bites your hand !! -"; @@ -11059,7 +11059,7 @@ treasure01,24,39,0 script Old Bed#rus38 HIDDEN_NPC,{ next; mes "["+ strcharinfo(PC_NAME) +"]"; mes "Ouch?!"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -5,0; next; mes "- Something unidentified bites your hand !! -"; @@ -11828,7 +11828,7 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{ mes "Ok, it is my turn?"; next; mes "-You cast a dice. The dice falls down, rotates and stops there-"; - specialeffect2 EF_STUNATTACK; + specialeffect(EF_STUNATTACK, AREA, playerattached()); next; .@rus_dice01 = rand(1,6); mes "["+ strcharinfo(PC_NAME) +"]"; diff --git a/npc/quests/quests_nameless.txt b/npc/quests/quests_nameless.txt index 0e0422530..9461461a5 100644 --- a/npc/quests/quests_nameless.txt +++ b/npc/quests/quests_nameless.txt @@ -3129,7 +3129,7 @@ OnTouch: mes "[Pope]"; mes "May Freya bless you..."; next; - specialeffect2 EF_ENCHANTPOISON; + specialeffect(EF_ENCHANTPOISON, AREA, playerattached()); mes "^3355FFThe pope prayed in earnest"; mes "for you, and you feel a strong"; mes "aura of warmth and kindness"; diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt index 59baa6f04..5e433af1a 100644 --- a/npc/quests/quests_rachel.txt +++ b/npc/quests/quests_rachel.txt @@ -3360,7 +3360,7 @@ rachel,265,98,3 script Hamion#aru 4_M_RACHMAN2,{ mes "[Hamion]"; mes "Here we go...!"; next; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); mes "^3355FF*Pzzzz*^000000"; next; mes "[Hamion]"; @@ -4847,7 +4847,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{ cutin "",255; lost_boy = 13; completequest 8099; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); getexp RENEWAL_EXP?90000:900000,0; end; } @@ -5272,7 +5272,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{ ra_tem_q = 0; cutin "",255; completequest 8105; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); if (RENEWAL_EXP) getexp 90000,60000; else diff --git a/npc/quests/quests_veins.txt b/npc/quests/quests_veins.txt index c6c95bc17..c448e32c7 100644 --- a/npc/quests/quests_veins.txt +++ b/npc/quests/quests_veins.txt @@ -3056,7 +3056,7 @@ veins,327,185,3 script Kid#camelcamel 4_M_DST_CHILD,{ mes "I'll see you later~"; completequest 3083; rachel_camel = 25; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); if (RENEWAL_EXP) getexp 100000,50000; else @@ -6663,7 +6663,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{ mes "[Colonel Vito]"; mes "You idiot!"; percentheal -10,0; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); next; } mes "[Colonel Vito]"; diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt index 6976517ce..5bbc4d3d0 100644 --- a/npc/quests/seals/brisingamen_seal.txt +++ b/npc/quests/seals/brisingamen_seal.txt @@ -3369,7 +3369,7 @@ que_god02,178,127,3 script Valkyrie#1 4_F_VALKYRIE,{ next; mes "[Valkyrie]"; mes "Your soul and spirit will be reborn in Valhalla as a holy warrior preparing for the holy war."; - specialeffect2 EF_BLESSING; + specialeffect(EF_BLESSING, AREA, playerattached()); next; mes "[Valkyrie]"; mes "And..."; @@ -3454,7 +3454,7 @@ que_god02,178,127,3 script Valkyrie#1 4_F_VALKYRIE,{ mes "[Valkyrie]"; mes "Your soul and"; mes "spirit will be reborn in Valhalla as a holy warrior preparing for the holy war."; - specialeffect2 EF_BLESSING; + specialeffect(EF_BLESSING, AREA, playerattached()); next; mes "[Valkyrie]"; mes "And..."; @@ -4443,7 +4443,7 @@ mjolnir_09,87,129,3 script Berling#1 4_M_DWARF,{ next; mes "[Berling]"; mes "Memorize all five lines of this song exactly. Now take this golden teardrop and please seek out Grer."; - specialeffect2 EF_IMPOSITIO; + specialeffect(EF_IMPOSITIO, AREA, playerattached()); god_brising = 44; close2; hideonnpc "Berling#1"; diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt index 228268602..96a634a4e 100644 --- a/npc/quests/seals/megingard_seal.txt +++ b/npc/quests/seals/megingard_seal.txt @@ -3186,27 +3186,27 @@ niflheim,109,254,0 script Egnigem 4_M_NFDEADSWDMAN,{ mes "imbue you with the"; mes "^666666last vestiges of my strength^000000..."; specialeffect EF_BEGINSPELL5; - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); next; mes "[Egnigem]"; mes "May the heavens"; mes "answer me as I call upon the"; mes "light of justice that empowers the defenders of truth, and threaten the enemies of peace."; specialeffect EF_BEGINSPELL6; - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); next; mes "[Egnigem]"; mes "May you always shine with"; mes "the light of truth. Let the light within you eradicate the shadows"; mes "of deception, fear and malice."; specialeffect EF_BEGINSPELL6; - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); next; mes "[Egnigem]"; mes "By the holy power"; mes "invested in me, I humbly bestow upon you my remaining strength. Fight honorably, and do not lose sight of righteousness."; specialeffect EF_LOCKON; - specialeffect2 EF_HOLYCROSS; + specialeffect(EF_HOLYCROSS, AREA, playerattached()); god_eremes = 27; if (RENEWAL_EXP) { if (BaseLevel < 56) getexp 2700,0; @@ -3244,27 +3244,27 @@ niflheim,109,254,0 script Egnigem 4_M_NFDEADSWDMAN,{ mes "imbue you with the"; mes "^666666last vestiges of my strength^000000..."; specialeffect EF_BEGINSPELL5; - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); next; mes "[Egnigem]"; mes "May the heavens"; mes "answer me as I call upon the"; mes "light of justice that empowers the defenders of truth, and threaten the enemies of peace."; specialeffect EF_BEGINSPELL6; - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); next; mes "[Egnigem]"; mes "May you always shine with"; mes "the light of truth. Let the light within you eradicate the shadows"; mes "of deception, fear and malice."; specialeffect EF_BEGINSPELL6; - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); next; mes "[Egnigem]"; mes "By the holy power"; mes "invested in me, I humbly bestow upon you my remaining strength. Fight honorably, and do not lose sight of righteousness."; specialeffect EF_LOCKON; - specialeffect2 EF_HOLYCROSS; + specialeffect(EF_HOLYCROSS, AREA, playerattached()); god_eremes = 27; if (RENEWAL_EXP) { if (BaseLevel < 56) getexp 2700,0; diff --git a/npc/quests/seals/mjolnir_seal.txt b/npc/quests/seals/mjolnir_seal.txt index e4775cfb2..746167f20 100644 --- a/npc/quests/seals/mjolnir_seal.txt +++ b/npc/quests/seals/mjolnir_seal.txt @@ -1150,7 +1150,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } } else if (.@p_atk == 4) { - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); .@p_vit += 10; mes "--------------------"; mes "" + strcharinfo(PC_NAME) + ""; @@ -1186,7 +1186,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "lost " + .@damage + " HP!"; } else if (.@p_atk == 0) { - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); .@p_vit -= 10; mes "--------------------"; mes "You were hit by"; @@ -1245,7 +1245,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "Sudri attacks the legs!"; } if (.@n_atk == .@p_def) { - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); if (.@p_def == 1) { mes "--------------------"; mes "" + strcharinfo(PC_NAME) + ""; @@ -1277,7 +1277,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "" + strcharinfo(PC_NAME) + ""; mes "counters!"; if (.@count == 1) { - specialeffect2 EF_AUTOCOUNTER; + specialeffect(EF_AUTOCOUNTER, AREA, playerattached()); specialeffect EF_MAGNUMBREAK; .@n_vit -= 20; mes "You successfully"; @@ -1291,7 +1291,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } } else { - specialeffect2 EF_CRASHEARTH; + specialeffect(EF_CRASHEARTH, AREA, playerattached()); .@p_vit -= 30; mes "You've taken"; mes "critical damage"; @@ -1301,7 +1301,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } } else if (.@n_atk == 1) { - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; @@ -1311,7 +1311,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!"; } else if (.@n_atk == 2) { - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; @@ -1321,7 +1321,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!"; } else if (.@n_atk == 3) { - specialeffect2 EF_HIT4; + specialeffect(EF_HIT4, AREA, playerattached()); .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; @@ -1331,7 +1331,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!"; } else if (.@n_atk == 0) { - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; @@ -1558,7 +1558,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } } else if (.@p_atk == 4) { - specialeffect2 EF_HEAL; + specialeffect(EF_HEAL, AREA, playerattached()); .@p_vit += 10; mes "--------------------"; mes "" + strcharinfo(PC_NAME) + ""; @@ -1594,7 +1594,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "lost " + .@damage + " HP!"; } else if (.@p_atk == 0) { - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); .@p_vit -= 10; mes "--------------------"; mes "You were hit by"; @@ -1653,7 +1653,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "Sudri attacks the legs!"; } if (.@n_atk == .@p_def) { - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); if (.@p_def == 1) { mes "--------------------"; mes "" + strcharinfo(PC_NAME) + " quickly dodged,"; @@ -1684,7 +1684,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "" + strcharinfo(PC_NAME) + ""; mes "counters!"; if (.@count == 1) { - specialeffect2 EF_AUTOCOUNTER; + specialeffect(EF_AUTOCOUNTER, AREA, playerattached()); specialeffect EF_MAGNUMBREAK; .@n_vit -= 20; mes "You successfully"; @@ -1698,7 +1698,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } } else { - specialeffect2 EF_CRASHEARTH; + specialeffect(EF_CRASHEARTH, AREA, playerattached()); .@p_vit -= 30; mes "You've taken"; mes "critical damage"; @@ -1708,7 +1708,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ } } else if (.@n_atk == 1) { - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; @@ -1718,7 +1718,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!"; } else if (.@n_atk == 2) { - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; @@ -1728,7 +1728,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!"; } else if (.@n_atk == 3) { - specialeffect2 EF_HIT4; + specialeffect(EF_HIT4, AREA, playerattached()); .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; @@ -1738,7 +1738,7 @@ mjolnir_09,209,341,3 script Dwarf Blacksmith#south 4_M_DWARF,{ mes "" + strcharinfo(PC_NAME) + " has lost " + .@damage + " HP!"; } else if (.@n_atk == 0) { - specialeffect2 EF_HIT5; + specialeffect(EF_HIT5, AREA, playerattached()); .@p_vit -= .@damage; mes "--------------------"; mes "Sudri successfully"; diff --git a/npc/quests/skills/assassin_skills.txt b/npc/quests/skills/assassin_skills.txt index 4c282caef..7e03eac2f 100644 --- a/npc/quests/skills/assassin_skills.txt +++ b/npc/quests/skills/assassin_skills.txt @@ -76,7 +76,7 @@ in_moc_16,14,27,5 script Assassin#realman 4_M_ACROSS,{ mes "you forgot how to do this"; mes "skill? I suppose that all you"; mes "needed was a quick refresher."; - specialeffect2 EF_INVENOM; + specialeffect(EF_INVENOM, AREA, playerattached()); next; mes "[Killtin]"; mes "Alright, I think it's"; @@ -245,7 +245,7 @@ in_moc_16,14,27,5 script Assassin#realman 4_M_ACROSS,{ mes "bit of credit for my excellent"; mes "instruction. Ah, very nice."; next; - specialeffect2 EF_INVENOM; + specialeffect(EF_INVENOM, AREA, playerattached()); next; mes "[Killtin]"; mes "Alright, you may need"; @@ -357,7 +357,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "please try it so I can give"; mes "you feedback on your form."; next; - specialeffect2 EF_SONICBLOW; + specialeffect(EF_SONICBLOW, AREA, playerattached()); next; mes "[Esmille]"; mes "Hmm, you're shifting"; @@ -366,7 +366,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "help if your center of"; mes "gravity was like this..."; next; - specialeffect2 EF_SONICBLOW; + specialeffect(EF_SONICBLOW, AREA, playerattached()); next; mes "[Esmille]"; mes "Ah, you're so very"; @@ -444,7 +444,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "please try it so I can give"; mes "you feedback on your form."; next; - specialeffect2 EF_SONICBLOW; + specialeffect(EF_SONICBLOW, AREA, playerattached()); next; mes "[Esmille]"; mes "Hmm, you're shifting"; @@ -453,7 +453,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "help if your center of"; mes "gravity was like this..."; next; - specialeffect2 EF_SONICBLOW; + specialeffect(EF_SONICBLOW, AREA, playerattached()); next; mes "[Esmille]"; mes "That's a little better."; @@ -462,7 +462,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "and follow through with"; mes "the stabbing motion."; next; - specialeffect2 EF_SONICBLOW; + specialeffect(EF_SONICBLOW, AREA, playerattached()); next; mes "[Esmille]"; mes "Ah, you're so very"; @@ -470,7 +470,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "Focus more on smoothly"; mes "transitioning from your"; mes "stance to executed action."; - specialeffect2 EF_SONICBLOW; + specialeffect(EF_SONICBLOW, AREA, playerattached()); next; mes "[Esmille]"; mes "Yes, that's it...!"; @@ -535,7 +535,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "please try it so I can give"; mes "you feedback on your form."; next; - specialeffect2 EF_SONICBLOW; + specialeffect(EF_SONICBLOW, AREA, playerattached()); next; mes "[Esmille]"; mes "Hmm, you're shifting"; @@ -544,7 +544,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "help if your center of"; mes "gravity was like this..."; next; - specialeffect2 EF_SONICBLOW; + specialeffect(EF_SONICBLOW, AREA, playerattached()); next; mes "[Esmille]"; mes "That's a little better."; @@ -553,7 +553,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 4_F_ACROSS,{ mes "and follow through with"; mes "the stabbing motion."; next; - specialeffect2 EF_SONICBLOW; + specialeffect(EF_SONICBLOW, AREA, playerattached()); next; mes "[Esmille]"; mes "Yes, that's it...!"; diff --git a/npc/quests/skills/bard_skills.txt b/npc/quests/skills/bard_skills.txt index 6fe904e28..6df565fb2 100644 --- a/npc/quests/skills/bard_skills.txt +++ b/npc/quests/skills/bard_skills.txt @@ -496,7 +496,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{ mes "voices yours, is this voice"; mes "mine. Head spinning, head"; mes "spinning, head spinning...!''"; - specialeffect2 EF_TALK_FROSTJOKE; + specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached()); delitem Munak_Doll,1; skill "BA_PANGVOICE",1,0; qskill_bard = 9; @@ -578,7 +578,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 2_M_BARD_ORIENT,3,3,{ mes "voices yours, is this voice"; mes "mine. Head spinning, head"; mes "spinning, head spinning...!''"; - specialeffect2 EF_TALK_FROSTJOKE; + specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached()); delitem Egg,5; skill 1010,1,0; qskill_bard = 9; diff --git a/npc/quests/skills/dancer_skills.txt b/npc/quests/skills/dancer_skills.txt index 82a516e5d..4da84d035 100644 --- a/npc/quests/skills/dancer_skills.txt +++ b/npc/quests/skills/dancer_skills.txt @@ -67,7 +67,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "Ow...!"; mes "Th-that whip!"; mes "I-i-it huuuurts!"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -5,0; close; } @@ -83,7 +83,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "What the...? Ack!"; mes "S-stop wh-whipping"; mes "me! It... It stiiings!"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -10,0; next; mes "[Canell]"; @@ -107,7 +107,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "Not that whip"; mes "again! Arrgh, it's--"; mes "It hurts so much!"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -10,0; close; } @@ -165,7 +165,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "I am irresistable!"; mes "I am the most attractive"; mes "woman in the whole world!"; - specialeffect2 EF_FLASHER; + specialeffect(EF_FLASHER, AREA, playerattached()); next; mes "^3355FFYour self esteem has"; mes "sky rocketed. Fortunately,"; @@ -251,7 +251,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ next; mes "[Canell]"; mes "Bam!"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -5,0; next; mes "["+ strcharinfo(PC_NAME) +"]"; @@ -301,14 +301,14 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "O-ow!"; mes "P-please...!"; mes "Not the whip again!"; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -5,0; close; case 3: mes "["+ strcharinfo(PC_NAME) +"]"; mes "Un, deux, trois~"; emotion e_no1,1; - specialeffect2 EF_FLASHER; + specialeffect(EF_FLASHER, AREA, playerattached()); next; mes "[Canell]"; mes "Great, that's exactly"; @@ -337,7 +337,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "^3355FFYou have finally learned"; mes "the Charming Wink skill.^000000"; DANCER_SK = 9; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); skill "DC_WINKCHARM",1,0; close; } @@ -380,7 +380,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ next; mes "^3355FFYou have learned the"; mes "Charming Wink skill.^000000"; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); skill "DC_WINKCHARM",1,0; close; } @@ -411,7 +411,7 @@ comodo,204,172,5 script Canell#qsk_dan01 4_F_07,{ mes "handsome~"; mes "^333333*Wink~*^000000"; emotion e_kis; - specialeffect2 EF_VALLENTINE2; + specialeffect(EF_VALLENTINE2, AREA, playerattached()); next; mes "^3355FFStrangely enough,"; mes "her wink has made"; @@ -583,7 +583,7 @@ prontera,183,333,1 script Aelle#qsk_dan02 1_F_PRIEST,{ mes "her fists and laughs"; mes "maniacally to herself.^000000"; percentheal -10,0; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT2, AREA, playerattached()); emotion e_dots,1; delitem Alchol,1; delitem Apple,1; diff --git a/npc/quests/skills/hunter_skills.txt b/npc/quests/skills/hunter_skills.txt index 2d8aaf691..488e6eaf8 100644 --- a/npc/quests/skills/hunter_skills.txt +++ b/npc/quests/skills/hunter_skills.txt @@ -180,7 +180,7 @@ pay_arche,109,169,3 script Arpesto 4_M_05,{ mes "[Arpesto]"; mes "ARRRRRRRROOOOOOW~!"; specialeffect EF_FLASHER; - specialeffect2 EF_FLASHER; + specialeffect(EF_FLASHER, AREA, playerattached()); next; mes "[Arpesto]"; mes "^333333*Pant Pant*^000000"; diff --git a/npc/quests/skills/priest_skills.txt b/npc/quests/skills/priest_skills.txt index 9a63fba52..a463686da 100644 --- a/npc/quests/skills/priest_skills.txt +++ b/npc/quests/skills/priest_skills.txt @@ -320,7 +320,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{ } if (.@success) { - specialeffect2 EF_HEALSP; + specialeffect(EF_HEALSP, AREA, playerattached()); mes "[Sister Linus]"; mes "Congratulations!"; mes "You successfully"; @@ -335,7 +335,7 @@ prt_church,111,112,1 script Sister Linus 1_F_PRIEST,{ close; } else { - specialeffect2 EF_POISONHIT; + specialeffect(EF_POISONHIT, AREA, playerattached()); mes "[Sister Linus]"; mes "Oh no! I'm sorry,"; mes "but you failed to"; diff --git a/npc/quests/skills/rogue_skills.txt b/npc/quests/skills/rogue_skills.txt index a1c64b09f..aafa899da 100644 --- a/npc/quests/skills/rogue_skills.txt +++ b/npc/quests/skills/rogue_skills.txt @@ -73,9 +73,9 @@ OnInit: OnTouch: if (ROG_SK == 10) { - specialeffect2 EF_CHANGECOLD; + specialeffect(EF_CHANGECOLD, AREA, playerattached()); specialeffect EF_CHANGEWIND; - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); ROG_SK = 11; mes "[Killer]"; mes "Wh-what have"; @@ -115,7 +115,7 @@ OnTouch: mes "now, you're using the Close"; mes "Confine skill perfectly!^000000"; specialeffect EF_POTION1; - specialeffect2 EF_POTION7; + specialeffect(EF_POTION7, AREA, playerattached()); } else { mes "^3355FFWait--!"; @@ -157,7 +157,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "resulting from transcending,"; mes "eh? Then I will teach you the"; mes "Close Confine skill once again."; - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); skill 1005,1,0; ROG_SK = 13; close; @@ -309,13 +309,13 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "that you covet so much..."; mes "^FF0000Close Confine^000000!"; specialeffect EF_CHANGECOLD; - specialeffect2 EF_CHANGEWIND; + specialeffect(EF_CHANGEWIND, AREA, playerattached()); next; mes "[Haijara Greg]"; mes "Hmpf. Now you are"; mes "helpless, allowing"; mes "me to do this: ^FF0000Back Stab^000000!"; - specialeffect2 EF_COMBOATTACK5; + specialeffect(EF_COMBOATTACK5, AREA, playerattached()); percentheal -95,0; next; mes "[Haijara Greg]"; @@ -512,7 +512,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "practice, and that you become as great a legend as Chae Takbae."; ROG_SK = 12; skill 1005,1,0; - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); close; } mes "[Haijara Greg]"; @@ -524,7 +524,7 @@ in_rogue,355,179,0 script Haijara Greg#rogueguild 1_ETC_01,{ mes "thanks again for your help."; ROG_SK = 12; skill 1005,1,0; - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); close; } mes "[Haijara Greg]"; @@ -1205,7 +1205,7 @@ function script F_Kienna { mes "You blocked me!"; mes "Very nice work~"; specialeffect EF_POTION1; - specialeffect2 EF_POTION7; + specialeffect(EF_POTION7, AREA, playerattached()); ++.@suc_1; } else { diff --git a/npc/quests/skills/sage_skills.txt b/npc/quests/skills/sage_skills.txt index 420477f4f..cb7dd81be 100644 --- a/npc/quests/skills/sage_skills.txt +++ b/npc/quests/skills/sage_skills.txt @@ -130,11 +130,11 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ next; mes "[Mishuna]"; mes "%$#@!#$% Yap~~"; - specialeffect2 EF_RUWACH; + specialeffect(EF_RUWACH, AREA, playerattached()); next; mes "[Mishuna]"; mes "Yap!"; - specialeffect2 EF_BRANDISHSPEAR; + specialeffect(EF_BRANDISHSPEAR, AREA, playerattached()); next; mes "^3355FFYou've successfully"; mes "learned the "+.@skill$[.@i]+" Elemental"; @@ -159,11 +159,11 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ next; mes "[Mishuna]"; mes "%$#@!#$% Yap~~"; - specialeffect2 EF_RUWACH; + specialeffect(EF_RUWACH, AREA, playerattached()); next; mes "[Mishuna]"; mes "Yap!"; - specialeffect2 EF_BRANDISHSPEAR; + specialeffect(EF_BRANDISHSPEAR, AREA, playerattached()); next; mes "^3355FFYou successfully recalled"; mes "the Elemental Coverter"; @@ -332,7 +332,7 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ mes "Elemental Converter"; mes "Creation skill by reviewing"; mes "your copy of Barmundt's scroll.^000000"; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); delitem Scorpions_Tail,10; delitem Horn,7; // Horn delitem Colorful_Shell,12; // Rainbow_Shell @@ -466,11 +466,11 @@ yuno_in03,176,24,3 script Mischna 4_M_SAGE_C,{ mes "a soft blue glow surrounds"; mes "his body and slowly grows"; mes "brighter and more intense.^000000"; - specialeffect2 EF_RUWACH; + specialeffect(EF_RUWACH, AREA, playerattached()); next; mes "[Mishuna]"; mes "@#$%^~ Yap!"; - specialeffect2 EF_BRANDISHSPEAR; + specialeffect(EF_BRANDISHSPEAR, AREA, playerattached()); delitem .@ReqItem[.@i],20; delitem Payon_Potion,1; // Payon Potion delitem Morocc_Potion,1; // Morocc Potion diff --git a/npc/quests/skills/wizard_skills.txt b/npc/quests/skills/wizard_skills.txt index fd146a94f..31a9489f0 100644 --- a/npc/quests/skills/wizard_skills.txt +++ b/npc/quests/skills/wizard_skills.txt @@ -49,7 +49,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{ mes "Alright, here's your lesson!"; next; mes "^3355FF*BAM! BOOM! CRASH!*^000000"; - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); next; mes "[Meow]"; mes "Don't you dare get"; @@ -63,7 +63,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{ mes "the Sight Blaster skill before"; mes "Meow can administer another"; mes "vicious beating to you."; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); skill "WZ_SIGHTBLASTER",1,0; next; mes "[Meow]"; @@ -287,7 +287,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{ mes "you to cast Sight before you"; mes "can activate it. Now try it."; next; - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); mes "^3355FF*BAM! BOOM!*^000000"; next; mes "[Meow]"; @@ -311,7 +311,7 @@ gef_tower,115,36,4 script Meow#q_wiz 4_CAT,{ mes "You actually learned it!"; mes "That took way too much effort,"; mes "but at least we're done here."; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); delitem Crystal_Blue,10; delitem Yellow_Live,10; delitem Boody_Red,10; diff --git a/npc/quests/thana_quest.txt b/npc/quests/thana_quest.txt index 53c7b331f..81acffa8b 100644 --- a/npc/quests/thana_quest.txt +++ b/npc/quests/thana_quest.txt @@ -1014,7 +1014,7 @@ tha_t03,67,70,0 script Rune Device#tt1 HIDDEN_NPC,4,4,{ mes "The letters fly away in the form of a red key..."; thana_tower = 5; changequest 7048,7049; - specialeffect2 EF_COMBOATTACK1; + specialeffect(EF_COMBOATTACK1, AREA, playerattached()); close; } @@ -1136,7 +1136,7 @@ tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{ mes "It suddenly shakes, then disappears."; thana_tower = 6; changequest 7049,7050; - specialeffect2 EF_COMBOATTACK1; + specialeffect(EF_COMBOATTACK1, AREA, playerattached()); close; } } @@ -1241,7 +1241,7 @@ tha_t05,62,179,0 script Brilliant Statue#tt3 HIDDEN_NPC,3,3,{ mes "The illusion shakes, then melts on the surface of the key as light."; thana_tower = 7; changequest 7050,7051; - specialeffect2 EF_COMBOATTACK1; + specialeffect(EF_COMBOATTACK1, AREA, playerattached()); close; case 2: mes "You decide to ignore it."; @@ -1508,8 +1508,8 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{ mes "and fades into the key."; thana_tower = 8; changequest 7051,7052; - specialeffect2 EF_BEGINSPELL6; - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_BEGINSPELL6, AREA, playerattached()); + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); close; case 2: mes "It was too intense to see the hallucination, so you gave up reading."; @@ -1540,7 +1540,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{ if ((countitem(Key_Red) > 0) && (countitem(Key_Yellow) > 0) && (countitem(Key_Blue) > 0) && (countitem(Key_Green) > 0)) { mes "As you approach, the keys in your pocket"; mes "suddenly respond with a mysterious power."; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); next; if(select("Observe it.", "Ignore it.") == 2) { mes "^3355FFYou decide to leave"; @@ -1555,7 +1555,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{ case 1: mes "By an unknown calling you decide to grab the blade of the sword."; mes "Your hands get wounded and begin to bleed."; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); percentheal -20,0; close; case 2: @@ -1572,7 +1572,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{ mes "Numerous conflicting spells act upon it, and you can tell that you chose incorrectly."; mes "The sword automatically returns to the table, as it was before."; specialeffect EF_HIT1; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); percentheal -20,0; close; case 2: @@ -1816,7 +1816,7 @@ tha_t12,161,57,0 script Gold Religious Statue#tt HIDDEN_NPC,{ mes "The sword appears to be missing a gem."; mes "As I draw closer to the statue, the Yellow Charm Stone emits a bright light."; specialeffect EF_BEGINSPELL5; - specialeffect2 EF_BEGINSPELL5; + specialeffect(EF_BEGINSPELL5, AREA, playerattached()); next; if(select("Insert the Yellow Charm Stone.", "Run away.") == 2) close; if ($@thana_summon == 0) { @@ -1846,7 +1846,7 @@ tha_t12,154,17,0 script Green Wiseman Statue#tt HIDDEN_NPC,{ mes "The wiseman's wand seems to be missing a gem."; mes "As I draw closer to the statue, the Green Charm Stone emits a bright light."; specialeffect EF_BEGINSPELL4; - specialeffect2 EF_BEGINSPELL4; + specialeffect(EF_BEGINSPELL4, AREA, playerattached()); next; if(select("Insert the Green Charm Stone.", "Run away.") == 2) close; if ($@thana_summon == 1) { @@ -1876,7 +1876,7 @@ tha_t12,103,17,0 script Blue Angel Statue#tt HIDDEN_NPC,{ mes "A gem seems to be missing from the statue's belt."; mes "As I draw closer to the statue, the Blue Charm Stone emits a bright light."; specialeffect EF_BEGINSPELL2; - specialeffect2 EF_BEGINSPELL2; + specialeffect(EF_BEGINSPELL2, AREA, playerattached()); next; if(select("Insert the Blue Charm Stone.", "Run away.") == 2) close; if ($@thana_summon == 2) { @@ -1906,7 +1906,7 @@ tha_t12,96,57,0 script Bloody Knight Statue#tt HIDDEN_NPC,{ mes "A gem seems to be missing from the heart area of its armor."; mes "As I draw closer to the statue, the Red Charm Stone emits a bright light."; specialeffect EF_BEGINSPELL3; - specialeffect2 EF_BEGINSPELL3; + specialeffect(EF_BEGINSPELL3, AREA, playerattached()); next; if(select("Insert the Red Charm Stone.", "Run away.") == 2) close; if ($@thana_summon == 3) { @@ -1936,7 +1936,7 @@ tha_t12,129,86,0 script Dark Devil Statue#tt HIDDEN_NPC,{ mes "The right eye seems to be missing a gem."; mes "As I draw closer to the statue, the Black Charm Stone emits a bright light."; specialeffect EF_BEGINSPELL7; - specialeffect2 EF_BEGINSPELL7; + specialeffect(EF_BEGINSPELL7, AREA, playerattached()); next; if(select("Insert the Black Charm Stone.", "Run away.") == 2) close; if ($@thana_summon == 4) { diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt index cf593eaae..3b642ef3b 100644 --- a/npc/quests/the_sign_quest.txt +++ b/npc/quests/the_sign_quest.txt @@ -7387,7 +7387,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{ next; sign_q = 71; getitem Stars_Sob,1; - specialeffect2 EF_YUFITELHIT; + specialeffect(EF_YUFITELHIT, AREA, playerattached()); next; mes "[Engel]"; mes "This was one of the most difficult jobs I've ever done. But look! It was beautiful when broken in fragments but now it's absolutely dazzling! This was really worth my effort."; @@ -7507,7 +7507,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{ else if (countitem(Emperium_Anvil) > 0) delitem Emperium_Anvil,1; sign_q = 71; getitem Stars_Sob,1; - specialeffect2 EF_YUFITELHIT; + specialeffect(EF_YUFITELHIT, AREA, playerattached()); close; } else { @@ -7939,7 +7939,7 @@ um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{ mes "Get out here right now!"; close2; percentheal -30,0; - specialeffect2 EF_MAGNUMBREAK; + specialeffect(EF_MAGNUMBREAK, AREA, playerattached()); end; } } @@ -8004,7 +8004,7 @@ um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{ mes "make me get violent..."; next; percentheal -30,0; - specialeffect2 EF_MAGNUMBREAK; + specialeffect(EF_MAGNUMBREAK, AREA, playerattached()); next; warp "umbala",111,121; end; @@ -8166,7 +8166,7 @@ OnTouch: mes "["+strcharinfo(PC_NAME)+"]"; mes "What the...?"; mes "What's happening?!"; - specialeffect2 EF_BEGINSPELL6; + specialeffect(EF_BEGINSPELL6, AREA, playerattached()); next; mes "^3355FFFor some reason, in"; mes "this particular spot, the"; @@ -8175,14 +8175,14 @@ OnTouch: mes "and Coral Reefs that you're"; mes "holding. All the objects are"; mes "violently resonating...^000000"; - specialeffect2 EF_ENHANCE; + specialeffect(EF_ENHANCE, AREA, playerattached()); next; mes "^3355FFAll of a sudden these"; mes "objects emit a bright flash"; mes "of light that envelops your"; mes "entire body, then you gently"; mes "fall into unconsciousness...^000000"; - specialeffect2 EF_FLASHER; + specialeffect(EF_FLASHER, AREA, playerattached()); next; delitem Resin,4; delitem Stone_Heart,12; @@ -12289,7 +12289,7 @@ geffen,119,48,0 script Fountain#s HIDDEN_NPC,{ mes "a strange light begins to emit from the Lucifer's Lament in your pocket and from something deep within"; mes "the fountain's water.^000000"; specialeffect EF_LEVEL99; - specialeffect2 EF_LEVEL99; + specialeffect(EF_LEVEL99, AREA, playerattached()); next; switch(select("Throw Lucifer's Lament into the fountain.", "Ignore the light.")) { case 1: diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt index d140a0d24..850165b0e 100644 --- a/npc/re/cities/dewata.txt +++ b/npc/re/cities/dewata.txt @@ -543,13 +543,13 @@ dewata,89,191,6 script Small Shrine#dew1 CLEAR_NPC,{ else if (.@stat & 32 && .@bonus) consumeitem 12068; //Luk_Dish03 else if (.@stat & 64) { - specialeffect2 EF_ANGEL; + specialeffect(EF_ANGEL, AREA, playerattached()); mes "- A celestial entity gives you a blessing. -"; next; } else if (.@stat & 128) { mes "- The shrine envelops you in a loving aura. -"; if ((Sex == SEX_FEMALE && compare(.@wish$,.@wishes$[26])) || (Sex == SEX_MALE && compare(.@wish$,.@wishes$[27]))) - specialeffect2 EF_LIGHTSPHERE; + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); next; } mes "It feels like this wish could come true."; @@ -575,7 +575,7 @@ L_Wish: specialeffect EF_FLASHER,AREA,"Small Shrine#dew4"; next; mes "You have received the shrine's blessing."; - specialeffect2 EF_BLESSING; + specialeffect(EF_BLESSING, AREA, playerattached()); next; return; } diff --git a/npc/re/cities/malangdo.txt b/npc/re/cities/malangdo.txt index f4ac6300a..2397b8c06 100644 --- a/npc/re/cities/malangdo.txt +++ b/npc/re/cities/malangdo.txt @@ -314,7 +314,7 @@ malangdo,147,117,3 script Innkeeper#malang 4_CAT_REST,{ if (countitem(Malang_Sp_Can) > 4) { delitem Malang_Sp_Can,5; percentheal 100,100; - specialeffect2 EF_HEALSP; + specialeffect(EF_HEALSP, AREA, playerattached()); mes "[Innkeeper]"; mes "Now relax."; emotion e_kis; diff --git a/npc/re/cities/mora.txt b/npc/re/cities/mora.txt index 1b231024c..a58ee4463 100644 --- a/npc/re/cities/mora.txt +++ b/npc/re/cities/mora.txt @@ -1032,7 +1032,7 @@ mora,140,186,3 script Raffle Philosopher 4_M_RAFLE_OLD,{ mes "*thud*"; mes "You feel a sudden impact on the back of your head."; mes "Your sight is going blurry."; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); sc_start SC_BLIND,20000,0; next; mes "You feel somebody rummaging through your pockets before you pass out."; diff --git a/npc/re/events/christmas_2013.txt b/npc/re/events/christmas_2013.txt index bc457cf0c..8ebf5879a 100644 --- a/npc/re/events/christmas_2013.txt +++ b/npc/re/events/christmas_2013.txt @@ -81,9 +81,9 @@ xmas,150,134,3 script Union Commander Cliff 4_XMAS_CAT1,{ erasequest 15057; setquest 15059; getitem Solo_Christmas_Gift,1; //Solo_Christmas_Gift - specialeffect2 EF_MAGICALATTHIT; - specialeffect2 EF_POTION2; - specialeffect2 EF_ANGEL2; + specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); + specialeffect(EF_POTION2, AREA, playerattached()); + specialeffect(EF_ANGEL2, AREA, playerattached()); close; } if (questprogress(15056) == 1) { @@ -173,10 +173,10 @@ xmas,150,134,3 script Union Commander Cliff 4_XMAS_CAT1,{ mes "......"; mes "Damn you! Taste the wrath of the Singles Union Army!!!"; close2; - specialeffect2 EF_MAGICALATTHIT; - specialeffect2 EF_POTION2; - specialeffect2 EF_CRASHEARTH; - specialeffect2 EF_COIN; + specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); + specialeffect(EF_POTION2, AREA, playerattached()); + specialeffect(EF_CRASHEARTH, AREA, playerattached()); + specialeffect(EF_COIN, AREA, playerattached()); end; } mes "[Union Commander Cliff]"; diff --git a/npc/re/events/halloween_2014.txt b/npc/re/events/halloween_2014.txt index 2e9784058..8940a867a 100644 --- a/npc/re/events/halloween_2014.txt +++ b/npc/re/events/halloween_2014.txt @@ -502,7 +502,7 @@ niflheim,196,185,3 script Bolak#14hal 4_M_DRAKE,{ mes "["+strcharinfo(PC_NAME)+"]"; mes "Okay."; mes "I will get that thing away from here."; - specialeffect2 EF_SPRINKLESAND; + specialeffect(EF_SPRINKLESAND, AREA, playerattached()); next; mes "[Bolak]"; mes "Much better."; @@ -1680,13 +1680,13 @@ xmas_in,160,175,1 script Worried Wife#14hal 4_F_05,{ next; mes "["+strcharinfo(PC_NAME)+"]"; mes "Well, So I will burn.. this."; - specialeffect2 EF_TORCH; + specialeffect(EF_TORCH, AREA, playerattached()); sleep2 1000; - specialeffect2 EF_SMOKE; + specialeffect(EF_SMOKE, AREA, playerattached()); sleep2 1000; - specialeffect2 EF_SMOKE; + specialeffect(EF_SMOKE, AREA, playerattached()); sleep2 1000; - specialeffect2 EF_SMOKE; + specialeffect(EF_SMOKE, AREA, playerattached()); next; mes "["+strcharinfo(PC_NAME)+"]"; mes "It's almost ran out.. Why not he wakes up.."; diff --git a/npc/re/instances/BuwayaCave.txt b/npc/re/instances/BuwayaCave.txt index 859d6bd85..094964867 100644 --- a/npc/re/instances/BuwayaCave.txt +++ b/npc/re/instances/BuwayaCave.txt @@ -323,7 +323,7 @@ OnTimer35000: disablenpc instance_npcname("#box_call"); end; OnTouch: - specialeffect2 EF_GUIDEDATTACK; + specialeffect(EF_GUIDEDATTACK, AREA, playerattached()); warp instance_mapname("1@ma_c"),33,112; end; OnDisable: diff --git a/npc/re/instances/EclageInterior.txt b/npc/re/instances/EclageInterior.txt index 9ad8519b4..b8aff0a81 100644 --- a/npc/re/instances/EclageInterior.txt +++ b/npc/re/instances/EclageInterior.txt @@ -147,7 +147,7 @@ ecl_hub01,130,15,0 script It is closed shut. CLEAR_NPC,{ next; mes "[" + strcharinfo(PC_NAME) + "]"; mes "No...way!!!"; - specialeffect2 EF_LORD; + specialeffect(EF_LORD, AREA, playerattached()); percentheal -99,0; soundeffect "wander_man_move.wav",1; sc_start SC_BLIND,60000,0; diff --git a/npc/re/instances/MalangdoCulvert.txt b/npc/re/instances/MalangdoCulvert.txt index 1bd76aedb..e954c9b15 100644 --- a/npc/re/instances/MalangdoCulvert.txt +++ b/npc/re/instances/MalangdoCulvert.txt @@ -200,9 +200,9 @@ mal_in01,172,26,2 script Madeca#mal 4_CAT_SAILOR1,{ mes "[Madeca]"; mes "I can't give you compensation for an expired request, so let me check if any of yours have expired."; next; - specialeffect2 EF_SPHERE; + specialeffect(EF_SPHERE, AREA, playerattached()); progressbar "0xFFFF00",3; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); switch(.@i) { case 1: // General Culvert Daily Service if (questprogress(12271,PLAYTIME) == 2) @@ -273,7 +273,7 @@ L_CheckQuest: mes "You've punished ^0000ff"+getarg(1)+"^000000!"; mes "Here's your pay!"; erasequest getarg(0); - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); getitem getarg(2),getarg(3); close; } diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt index 9f3f29fdf..a1d6884f9 100644 --- a/npc/re/instances/OldGlastHeim.txt +++ b/npc/re/instances/OldGlastHeim.txt @@ -1970,7 +1970,7 @@ OnTimer80000: next; mes("[Hugin]"); mes("Varmundt's time is stopped by me. And your time will be distorted soon."); - specialeffect2 EF_BLIND,AREA; + specialeffect(EF_BLIND,AREA, AREA, playerattached()); soundeffect "_blind.wav",0; next; mes("[Hugin]"); @@ -1981,7 +1981,7 @@ OnTimer80000: next; mes("[Hugin]"); mes("Now, let me remove your memory. If you see me again, that will be brand new."); - specialeffect2 EF_FREEZE; + specialeffect(EF_FREEZE, AREA, playerattached()); close2; getmapxy(.@map$, .@x, .@y, UNITTYPE_PC); warp .@map$,.@x,.@y; @@ -2466,10 +2466,10 @@ glast_01,212,273,4 script Hugin's Magic Master 1_F_01,{ // Custom text due to of } if (.@random > .@scs) { mes("Arrggg, we failed. Better luck next time."); - specialeffect2 EF_PHARMACY_FAIL; delitem Coagulated_Spell, .@cost; delequip .@part; + specialeffect(EF_PHARMACY_FAIL, AREA, playerattached()); delitem Coagulated_Spell, .@cost; delequip .@part; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); delitem Coagulated_Spell, .@cost; delequip .@part; mes("[Hugin's Magic Master]"); @@ -2531,7 +2531,7 @@ glast_01,212,273,4 script Hugin's Magic Master 1_F_01,{ // Custom text due to of } if (.@random > .@scs) { mes("Arrggg, we failed. Better luck next time."); - specialeffect2 EF_PHARMACY_FAIL; + specialeffect(EF_PHARMACY_FAIL, AREA, playerattached()); delitem Coagulated_Spell, .@cost; delequip .@part; close; @@ -2550,12 +2550,12 @@ glast_01,212,273,4 script Hugin's Magic Master 1_F_01,{ // Custom text due to of } if (.@random > .@scs) { mes("Arrggg, we failed. Better luck next time."); - specialeffect2 EF_PHARMACY_FAIL; + specialeffect(EF_PHARMACY_FAIL, AREA, playerattached()); delitem Coagulated_Spell, .@cost; delequip .@part; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); delitem Coagulated_Spell, .@cost; delequip .@part; mes("[Hugin's Magic Master]"); @@ -2651,7 +2651,7 @@ glast_01,210,270,0 script Hugin's Craftsman 4_F_JOB_BLACKSMITH,{ if (.@random > .@chance) { mes("[Hugin's Craftsman]"); mes("Arrggg, we failed. Better luck next time."); - specialeffect2 EF_PHARMACY_FAIL; + specialeffect(EF_PHARMACY_FAIL, AREA, playerattached()); delitem .@item, .@cost; delequip .@part; close; @@ -2659,7 +2659,7 @@ glast_01,210,270,0 script Hugin's Craftsman 4_F_JOB_BLACKSMITH,{ mes("[Hugin's Craftsman]"); mesf("Yuhuu~ we succeed. There you go... A slot has been added to your ^FF0000%s^000000. Thank you for believing in me.", getitemname(.@equip_id)); delitem .@item, .@cost; - specialeffect2 EF_PHARMACY_OK; + specialeffect(EF_PHARMACY_OK, AREA, playerattached()); delequip .@part; // todo: read aegis name and attach "_" to worn constant if (.@equip_id == Temporal_Str_Boots) { diff --git a/npc/re/instances/WolfchevLaboratory.txt b/npc/re/instances/WolfchevLaboratory.txt index 51e2f8a06..9d0e091b9 100644 --- a/npc/re/instances/WolfchevLaboratory.txt +++ b/npc/re/instances/WolfchevLaboratory.txt @@ -982,9 +982,9 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{ mes "[Pudding]"; mes "Before! I need to check if this equipment can accept the power."; next; - specialeffect2 EF_SPHERE; + specialeffect(EF_SPHERE, AREA, playerattached()); progressbar "ffff00", 2; - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); emotion e_sob; mes "[Pudding]"; mes "Hm.... This equipment cannot accept the power of '^F2766EWill of Warrior^000000' or '^952420Thirst for Blood^000000'."; @@ -1110,7 +1110,7 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{ .@equip_item = getequipid(.@position); specialeffect EF_BEGINSPELL2, AREA, "Sorcerer#Bio4Reward"; progressbar "ffff00", 2; - specialeffect2 EF_FROSTWEAPON; + specialeffect(EF_FROSTWEAPON, AREA, playerattached()); delitem Goast_Chill, 10; delequip .@position; getitem2 .@equip_item, 1, 1, .@refine_count, 0, .@equip_card[0], .@equip_card[1], .@equip_card[2], .@equip_card[3]; @@ -1311,7 +1311,7 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{ delitem Will_Of_Warrior, 10; delequip .@position; if (.@enchant == 0) { - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); emotion e_otl; mes "[Pudding]"; mes "...Well....the equipment could not accept the power of "+((.@socket_type==3)?"'^952420Thirst for Blood^000000'":"'^F2766EWill of Warrior^000000'")+" and it got destroyed."; @@ -1319,7 +1319,7 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{ enable_items; end; } else { - specialeffect2 EF_FIREHIT; + specialeffect(EF_FIREHIT, AREA, playerattached()); getitem2 .@equip_item, 1, 1, .@refine_count, 0, .@equip_card[0], .@equip_card[1], .@equip_card[2], .@equip_card[3]; emotion e_ho; mes "[Pudding]"; @@ -1932,7 +1932,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{ pushpc 0, 10; percentheal -5,0; specialeffect EF_AUTOCOUNTER; - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); mes "You have been wounded by laboratory entrance system attack."; close; } else { diff --git a/npc/re/jobs/2e/kagerou_oboro.txt b/npc/re/jobs/2e/kagerou_oboro.txt index 08f8d6024..a77ed1390 100644 --- a/npc/re/jobs/2e/kagerou_oboro.txt +++ b/npc/re/jobs/2e/kagerou_oboro.txt @@ -1662,7 +1662,7 @@ OnTouch: next; switch(select("Try something.", "Do nothing.")) { case 1: - specialeffect2 EF_TALK_FROSTJOKE; + specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached()); mes "Tried a recent Prontera joke to do something."; next; setquest 5141; @@ -2347,7 +2347,7 @@ job_ko,131,124,0 script Crafting Tools#ko_01 CLEAR_NPC,{ if (.@success_pp != 44) set .@success,1; } if (.@success) { - specialeffect2 EF_PERFECTION; + specialeffect(EF_PERFECTION, AREA, playerattached()); erasequest 5142; if (.@weapon_who == 0) { setquest 5143; @@ -2361,7 +2361,7 @@ job_ko,131,124,0 script Crafting Tools#ko_01 CLEAR_NPC,{ mes "Let's take it to Red Leopard Joe."; close; } else { - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); mes "The weapon was destroyed while doing the finishing touches to it."; next; mes "There must have been something missed while creating the weapon. Very sad this happened but you'll have to start all over again."; @@ -2380,11 +2380,11 @@ L_ForgeWeapon: set .@i, select("Grind the weapon", "Temper the weapon" + getarg(0)); switch (.@i) { case 1: - specialeffect2 EF_DETOXICATION; + specialeffect(EF_DETOXICATION, AREA, playerattached()); mes "Ground the weapon."; break; case 2: - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); mes "Tempered the weapon."; break; case 3: diff --git a/npc/re/jobs/3-1/archbishop.txt b/npc/re/jobs/3-1/archbishop.txt index 1a03af44c..bc83b8c81 100644 --- a/npc/re/jobs/3-1/archbishop.txt +++ b/npc/re/jobs/3-1/archbishop.txt @@ -469,7 +469,7 @@ OnTouch: mes "- You close your eyes slowly and take a deep breath. -"; next; mes "- * BLESSING! * -"; - specialeffect2 EF_BLESSING; + specialeffect(EF_BLESSING, AREA, playerattached()); next; mes "Your mind is refreshed with the blessing effect."; mes "You continue to meditate trying to rid your mind of any ill feelings."; @@ -525,9 +525,9 @@ OnTouch: mes "- You bow respectfully holding up a Holy Water and put the glass to your lips. -"; next; mes "- * ASPERSIO ! * -"; - specialeffect2 EF_ASPERSIO; + specialeffect(EF_ASPERSIO, AREA, playerattached()); next; - specialeffect2 EF_RECOVERY; + specialeffect(EF_RECOVERY, AREA, playerattached()); mes "............................."; next; mes "............................."; @@ -546,7 +546,7 @@ OnTouch: next; mes "- You breath in deep and start to sing a Gloria."; mes "A chord crashes out in the spring of Hvergelmir and a waterfall sound gives you a refreshing feeling. -"; - specialeffect2 EF_GLORIA; + specialeffect(EF_GLORIA, AREA, playerattached()); next; mes "[" + strcharinfo(PC_NAME) + "]"; mes "~Descendants of Heimdal gather under the Ash tree Yggdrasil.~"; @@ -554,7 +554,7 @@ OnTouch: next; mes "[" + strcharinfo(PC_NAME) + "]"; mes "~The Curdan wolf protects me from all threats in the world.~"; - specialeffect2 EF_GLORIA; + specialeffect(EF_GLORIA, AREA, playerattached()); next; mes "[" + strcharinfo(PC_NAME) + "]"; mes "~The host of ballascalf, rise up from your seat. The whole world shouts for joy.~"; @@ -562,11 +562,11 @@ OnTouch: next; mes "[" + strcharinfo(PC_NAME) + "]"; mes "~The host of a glittering glass, give me a holy prediction.~"; - specialeffect2 EF_GLORIA; + specialeffect(EF_GLORIA, AREA, playerattached()); next; mes "- After you finish the song, you feel light and strong with abundant devotion. -"; - specialeffect2 EF_BLESSING; - specialeffect2 EF_RESURRECTION; + specialeffect(EF_BLESSING, AREA, playerattached()); + specialeffect(EF_RESURRECTION, AREA, playerattached()); next; mes "[" + strcharinfo(PC_NAME) + "]"; mes "That was refreshing."; @@ -749,7 +749,7 @@ odin_tem02,281,275,3 script Valkyrie Illusion#arch 4_F_VALKYRIE2,{ case 1: mes "You lose your consciousness while getting a closer view of Valkyrie's Illusion."; close2; - specialeffect2 EF_CLOAKING; + specialeffect(EF_CLOAKING, AREA, playerattached()); warp "job3_arch01",29,29; hideonnpc "Valkyrie Illusion#arch"; end; diff --git a/npc/re/jobs/3-1/guillotine_cross.txt b/npc/re/jobs/3-1/guillotine_cross.txt index f70ee321c..19f4ac7cf 100644 --- a/npc/re/jobs/3-1/guillotine_cross.txt +++ b/npc/re/jobs/3-1/guillotine_cross.txt @@ -300,7 +300,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{ case 3: mes "[Daora]"; mes "Don't show me your nervousness!"; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); percentheal -30,0; close; case 4: @@ -355,7 +355,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{ mes "[Daora]"; mes "Don't talk to me like I'm one of your friends!"; mes "You have no right to be that way!"; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); percentheal -30,0; close; } @@ -746,7 +746,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{ case 2: mes "[Daora]"; mes "An impertinent fellow!"; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); percentheal -30,0; close; } @@ -857,7 +857,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{ case 3: mes "[Daora]"; mes "Don't show me your nervousness!"; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); percentheal -30,0; close; } diff --git a/npc/re/jobs/3-1/ranger.txt b/npc/re/jobs/3-1/ranger.txt index 78e200843..41e5b476f 100644 --- a/npc/re/jobs/3-1/ranger.txt +++ b/npc/re/jobs/3-1/ranger.txt @@ -979,7 +979,7 @@ OnReset: killmonster "job3_rang02","CallCorrectAnswer#jr::OnMyMobDead"; end; OnMyMobDead: - specialeffect2 EF_POTION_CON; + specialeffect(EF_POTION_CON, AREA, playerattached()); ++$@job_rang_point01; mapannounce "job3_rang02","Test Supervisor, Notice : Correct Target! You have very good eyesight!",bc_map,"0xffb6c1"; //FW_NORMAL 12 0 0 end; @@ -1069,7 +1069,7 @@ OnReset: killmonster "job3_rang02","CallWrongAnswer#jr::OnMyMobDead"; end; OnMyMobDead: - specialeffect2 EF_DEVIL; + specialeffect(EF_DEVIL, AREA, playerattached()); --$@job_rang_point01; mapannounce "job3_rang02","Test Supervisor, Notice : Wrong Target! Pull yourself together!",bc_map,"0xffb6c1"; //FW_NORMAL 12 0 0 end; @@ -1186,7 +1186,7 @@ job3_rang02,111,56,3 script Staff Rust#jr_09 4_M_ORIENT02,{ if (job_ranger01 == 6) { if (countitem(Bombring_Box) < 1) { percentheal 100,0; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); mes "[Staff Rust]"; mes "I'll give you the 'Bombring Capsules."; mes "The 'Bombring Capsules' can be given again only for the one who used it all, so please keep that in mind."; @@ -1269,7 +1269,7 @@ OnDisable: end; OnTouch: percentheal 10,0; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); mapannounce "job3_rang02","Test Supervisor, Caution : You are doing well! If you come closer a little more, you should be able to see me.",bc_map,"0x87ceeb"; //FW_NORMAL 12 0 0 end; OnMyMobDead: diff --git a/npc/re/jobs/3-1/rune_knight.txt b/npc/re/jobs/3-1/rune_knight.txt index caa540585..ad8ab8f74 100644 --- a/npc/re/jobs/3-1/rune_knight.txt +++ b/npc/re/jobs/3-1/rune_knight.txt @@ -1837,7 +1837,7 @@ job3_rune02,34,46,5 script Captain Tigris#jrt1 4_M_KNIGHT_SILVER,2,2,{ break; case 3: mapannounce "job3_rune02","Captain Tigris : Evil demons! I will send you back to your graves!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0 - specialeffect2 EF_METEORSTORM; + specialeffect(EF_METEORSTORM, AREA, playerattached()); donpcevent "job_rune_edq#1st_tcmc::OnReset"; break; case 4: @@ -1928,7 +1928,7 @@ job3_rune02,43,34,1 script Rune Knight Renoa#jrt1 4_M_KNIGHT_GOLD,2,2,{ break; case 3: mapannounce "job3_rune02","Rune Knight Renoa : I am faster than all of them! Different then the others!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0 - specialeffect2 EF_PIERCESELF; + specialeffect(EF_PIERCESELF, AREA, playerattached()); donpcevent "job_rune_edq#1st_tcmc::OnReset"; break; case 4: diff --git a/npc/re/jobs/3-1/warlock.txt b/npc/re/jobs/3-1/warlock.txt index 137eefd40..13f99013b 100644 --- a/npc/re/jobs/3-1/warlock.txt +++ b/npc/re/jobs/3-1/warlock.txt @@ -136,7 +136,7 @@ function script F_Warlock { next; mes " - The fairy with the green hair chants a spell. - "; mes " - I feel like something special surrounds me. - "; - specialeffect2 EF_DISPELL; + specialeffect(EF_DISPELL, AREA, playerattached()); next; mes "[Master]"; mes "Oh, that's interesting."; diff --git a/npc/re/jobs/3-2/royal_guard.txt b/npc/re/jobs/3-2/royal_guard.txt index 7fe7a1d2a..87cf554ad 100644 --- a/npc/re/jobs/3-2/royal_guard.txt +++ b/npc/re/jobs/3-2/royal_guard.txt @@ -441,9 +441,9 @@ glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{ mes "Congratulations! Young Royal Guard."; mes "Be a symbol of honor and continue the great tradition of your new name."; close2; - specialeffect2 EF_MAPPILLAR; + specialeffect(EF_MAPPILLAR, AREA, playerattached()); progressbar "FFFF00",7; - specialeffect2 EF_LORD; + specialeffect(EF_LORD, AREA, playerattached()); delitem King_Shield,1; erasequest 12094; jobchange roclass(eaclass()|EAJL_THIRD); @@ -499,7 +499,7 @@ gl_church,158,100,0 script #Clue of traces HIDDEN_NPC,4,4,{ end; OnTouch: if (job_royal == 4 && countitem(Saint_Cloth_Piece) == 0) { - specialeffect2 EF_FREEZE; + specialeffect(EF_FREEZE, AREA, playerattached()); mes "I can feel strong power around here. It would be better to explore around here."; viewpoint 1,173,88 ,1, 0xFFFF00; viewpoint 1,158,103,2, 0xFFFF00; diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt index bee91f382..853c124d9 100644 --- a/npc/re/jobs/novice/academy.txt +++ b/npc/re/jobs/novice/academy.txt @@ -44,7 +44,7 @@ iz_int,18,26,0 script startpoint HIDDEN_WARP_NPC,1,1,{ OnTouch: if (!izintspawn) { - specialeffect2(EF_ANGEL3); // On official it is some kind of Poring Angel, but I can't find it + specialeffect(EF_ANGEL3, AREA, playerattached()); // On official it is some kind of Poring Angel, but I can't find it navigateto("int_land", NAV_NONE, 1); // individual map name not required izintspawn = 1; } @@ -135,11 +135,11 @@ int_land,58,69,5 script Sailor#int_land 4W_SAILOR,{ mes("[Sailor]"); mes("If you want to sail with us to Izlude, jump on board!"); getexp(600, 0); - specialeffect2(EF_HEAL2); + specialeffect(EF_HEAL2, AREA, playerattached()); heal(9999, 0); - specialeffect2(EF_INCAGILITY); + specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start(SC_INC_AGI, 240000, 10); - specialeffect2(EF_BLESSING); + specialeffect(EF_BLESSING, AREA, playerattached()); sc_start(SC_BLESSING, 240000, 10); next(); mes("[Sailor]"); @@ -212,11 +212,11 @@ int_land,78,103,5 script Captain Carocc#int_land 4_M_REINDEER,{ mes("It is hard, but you look tough enough for this task."); if (questprogress(21001) == 1) completequest(21001); - specialeffect2(EF_HEAL2); + specialeffect(EF_HEAL2, AREA, playerattached()); heal(9999, 0); - specialeffect2(EF_INCAGILITY); + specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start(SC_INC_AGI, 240000, 10); - specialeffect2(EF_BLESSING); + specialeffect(EF_BLESSING, AREA, playerattached()); sc_start(SC_BLESSING, 240000, 10); getexp(600, 0); setquest(21002); @@ -241,11 +241,11 @@ int_land,78,103,5 script Captain Carocc#int_land 4_M_REINDEER,{ close(); case 1: mes("[Captain Carocc]"); - specialeffect2(EF_HEAL2); + specialeffect(EF_HEAL2, AREA, playerattached()); heal(9999, 0); - specialeffect2(EF_INCAGILITY); + specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start(SC_INC_AGI, 240000, 10); - specialeffect2(EF_BLESSING); + specialeffect(EF_BLESSING, AREA, playerattached()); sc_start(SC_BLESSING, 240000, 10); mes("^4d4dffThe Ship^000000 anchored in the southwest. It will take you to Izlude."); mes("Don't forget to ^4d4dffget some Lumber^000000 for the ship."); @@ -2133,8 +2133,8 @@ iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{ mes("[Therapist]"); mes("Recovery ratio is very minimal..."); mes("It can help you avoid dying but won't give you much HP."); - specialeffect2(EF_BEGINSPELL6); - specialeffect2(EF_SPELLBREAKER); + specialeffect(EF_BEGINSPELL6, AREA, playerattached()); + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); next(); mes("[Therapist]"); mes("Press ^4d4dffALT + S^000000 to open your Skill window to see your skills."); @@ -3318,7 +3318,7 @@ iz_ac01,36,52,3 script Odd Novice#ac 4_M_SIT_NOVICE,{ mes("[Odd Novice]"); mes("OK. Where should I start?"); mes("First, Bash!"); - specialeffect2(EF_BASH); + specialeffect(EF_BASH, AREA, playerattached()); next(); mes("[Odd Novice]"); mes("Hehehe.. Surprised?"); @@ -3327,13 +3327,13 @@ iz_ac01,36,52,3 script Odd Novice#ac 4_M_SIT_NOVICE,{ next(); mes("[Odd Novice]"); mes("Looks like you were surprised!"); - specialeffect2(EF_BLESSING); + specialeffect(EF_BLESSING, AREA, playerattached()); next(); mes("[Odd Novice]"); mes("Just keep calm"); mes("and have a potion"); mes("But that's not the last of it."); - specialeffect2(EF_STEAL); + specialeffect(EF_STEAL, AREA, playerattached()); next(); mes("[Odd Novice]"); mes("I have stolen one thread of your hair."); @@ -8482,7 +8482,7 @@ iz_ac02,70,85,5 script Arang#ac 4_F_TAEKWON,{ cutin("arang03", 0); next(); mes("Suddenly, you see Arang's foot flying towards you."); - specialeffect2(EF_TRIPLEATTACK); + specialeffect(EF_TRIPLEATTACK, AREA, playerattached()); emotion(e_wah, 1); next(); cutin("", 255); @@ -11927,8 +11927,8 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{ next(); cutin("", 255); mes("Lumin changing clothes piece by piece."); - specialeffect2(EF_SPHERE); - specialeffect2(EF_SPHERE); + specialeffect(EF_SPHERE, AREA, playerattached()); + specialeffect(EF_SPHERE, AREA, playerattached()); classchange(4_M_THIEF_RUMIN, 0); next(); cutin("thf_lumin01", 2); @@ -11941,8 +11941,8 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{ mes("Forget what you saw today, as I have to introduce to the way of Thief Guild as many people as possible."); cutin("thf_lumin05", 2); close2(); - specialeffect2(EF_SPHERE); - specialeffect2(EF_SPHERE); + specialeffect(EF_SPHERE, AREA, playerattached()); + specialeffect(EF_SPHERE, AREA, playerattached()); classchange(4_M_NOV_RUMIN, 0); cutin("", 255); end; @@ -13775,7 +13775,7 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{ mes("[Mounds]"); mes("One! Two! Three!"); next(); - specialeffect2(EF_SANCTUARY); + specialeffect(EF_SANCTUARY, AREA, playerattached()); completequest(5158); delitem(Cotton_Shirt, 1); // Cotton_Shirt getitem(Cotton_Shirt_, 1); // Cotton_Shirt_ @@ -14036,7 +14036,7 @@ izlude,108,139,7 script Enchanter Almond J#iz 4_CAT_SAILOR3,{ mes("[Almond J]"); mes("Now!! Start the first hidden enchant!! Start!!!!!"); next(); - specialeffect2(EF_REPAIRWEAPON); + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00", 2; completequest(5159); delequip .@part; @@ -14169,7 +14169,7 @@ izlude,108,139,7 script Enchanter Almond J#iz 4_CAT_SAILOR3,{ mes("[Almond J]"); mes("It is a good weapon Then!! Let's start the hidden enchant!!"); next(); - specialeffect2(EF_REPAIRWEAPON); + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00", 3; delequip .@part; getitem2(.@equip,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@enchant1,.@enchant2); diff --git a/npc/re/jobs/novice/novice.txt b/npc/re/jobs/novice/novice.txt index 6ac0d9935..18ba3fbe1 100644 --- a/npc/re/jobs/novice/novice.txt +++ b/npc/re/jobs/novice/novice.txt @@ -544,8 +544,8 @@ new_5-2,100,105,3 duplicate(NvBradeA) Brade#nv5a 4_M_JOB_KNIGHT1 mes "[Jinha]"; mes "It's recovery amount is small."; mes "Still, it will help you not to faint from a critical hit."; - specialeffect2 EF_BEGINSPELL6; - specialeffect2 EF_SPELLBREAKER; + specialeffect(EF_BEGINSPELL6, AREA, playerattached()); + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); next; mes "[Jinha]"; mes "You can open the Skill Window by pressing the ^4d4dffskill^000000 button in the Basic Window."; diff --git a/npc/re/jobs/novice/supernovice_ex.txt b/npc/re/jobs/novice/supernovice_ex.txt index 04c9395c1..74328278f 100644 --- a/npc/re/jobs/novice/supernovice_ex.txt +++ b/npc/re/jobs/novice/supernovice_ex.txt @@ -484,9 +484,9 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{ mes "I can't make you stronger until you use those points."; close; } - specialeffect2 EF_LORD; - specialeffect2 EF_SIGHTRASHER; - specialeffect2 EF_STORMGUST; + specialeffect(EF_LORD, AREA, playerattached()); + specialeffect(EF_SIGHTRASHER, AREA, playerattached()); + specialeffect(EF_STORMGUST, AREA, playerattached()); erasequest 5100; mes "[Nodor]"; mes "Haha ------------- !!"; @@ -586,7 +586,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{ mes "[Nodor]"; mes "Now I am going to say greetings again."; next; - specialeffect2 EF_RECOVERY; + specialeffect(EF_RECOVERY, AREA, playerattached()); mes "[Nodor]"; mes "Let Super Novice "+strcharinfo(PC_NAME)+" be blessed with the Super Novice Guardian!"; EXSUPNOV_Q = 6; diff --git a/npc/re/jobs/repair.txt b/npc/re/jobs/repair.txt index 2dae1bcaf..7acd3b606 100644 --- a/npc/re/jobs/repair.txt +++ b/npc/re/jobs/repair.txt @@ -86,7 +86,7 @@ prt_in,38,104,4 script Valerie 4_F_VALKYRIE,{ mes "I understand. I will see you next time"; close; } - specialeffect2 EF_INVENOM; + specialeffect(EF_INVENOM, AREA, playerattached()); progressbar "0xffff00",3; // Warlock - quest items diff --git a/npc/re/merchants/blessed_refiner.txt b/npc/re/merchants/blessed_refiner.txt index 369d476a5..6e548e25b 100644 --- a/npc/re/merchants/blessed_refiner.txt +++ b/npc/re/merchants/blessed_refiner.txt @@ -172,7 +172,7 @@ close; } specialeffect EF_CURSEATTACK; - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); next; emotion (!rand(5))?e_ag:e_omg; mes "[Blacksmith Dister]"; diff --git a/npc/re/merchants/card_separation.txt b/npc/re/merchants/card_separation.txt index 0e5b31ea2..b1f6754a5 100644 --- a/npc/re/merchants/card_separation.txt +++ b/npc/re/merchants/card_separation.txt @@ -353,13 +353,13 @@ // Display corresponding effect. if (!.@equip_safe && .@card_break) - specialeffect2 EF_LORD; + specialeffect(EF_LORD, AREA, playerattached()); else if (.@equip_safe && .@card_break) - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); else if (!.@equip_safe && !.@card_break) - specialeffect2 EF_FIREPILLAR; + specialeffect(EF_FIREPILLAR, AREA, playerattached()); else - specialeffect2 EF_MAXPOWER; + specialeffect(EF_MAXPOWER, AREA, playerattached()); // Output results. mes "-- Result of Card Separation --"; diff --git a/npc/re/merchants/enchan_mal.txt b/npc/re/merchants/enchan_mal.txt index 864505b85..bea4c6e03 100644 --- a/npc/re/merchants/enchan_mal.txt +++ b/npc/re/merchants/enchan_mal.txt @@ -600,7 +600,7 @@ L_Socket: close; } if (.@enchant == 9) { // Should never happen. - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); mes "[Mayomayo]"; mes "Oh my god!"; mes "This equipment is destroyed because it could not endure powerful ability. I'm so sorry."; @@ -608,7 +608,7 @@ L_Socket: delequip EQI_HAND_R; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); mes "[Mayomayo]"; mes "I have enchanted ^990000slot "+.@socket+"^000000 of this equipment."; delitem .@coin[.@coin_select],.@total[.@coin_select]; @@ -642,7 +642,7 @@ L_Socket: mes "This equipment has nothing to initialize. Please check again."; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); mes "[Mayomayo]"; mes "Initialize the enchant effect from the equipment."; delitem Silvervine,1; diff --git a/npc/re/merchants/enchan_mora.txt b/npc/re/merchants/enchan_mora.txt index fe2b21754..46979c82b 100644 --- a/npc/re/merchants/enchan_mora.txt +++ b/npc/re/merchants/enchan_mora.txt @@ -230,7 +230,7 @@ mora,96,74,5 script Master of Relics#pa0829 4_M_MERCAT1,{ mes "For 2 Mora Coins I can strengthen the relic you have in many ways!"; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); delitem Mora_Coin,2; delitem .@item,1; switch(.@enchant_type) { @@ -478,7 +478,7 @@ mora,99,93,5 script Artifact Crafter#pa0829 4_M_MERCAT1,{ mes "You have to have 2 Mora Coins and an item to be reinforced before I can do my work."; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); delitem Mora_Coin,2; delitem .@item,1; switch(.@enchant_type) { @@ -1119,18 +1119,18 @@ L_Socket: Zeny -= 100000; delequip .@part; if (.@enchant == 9) { - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); mes "[Artifact Researcher]"; mes "This!"; mes "I... I'm sorry but the equipment has been destroyed."; close; } if (.@enchant == 0) { - specialeffect2 EF_SHIELDCHARGE; + specialeffect(EF_SHIELDCHARGE, AREA, playerattached()); mes "[Artifact Researcher]"; mes "Since the balance of power does not match, the given existing ability has been destroyed. It is unfortunate but please try again next time."; } else { - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); mes "[Artifact Researcher]"; // Replacing original dialogue since it doesn't make sense. //mes "The artifact ^990000"+.@slot+" will have the first enhancement retained."; @@ -1147,7 +1147,7 @@ L_Socket: mes "You've got to pay if you want the services."; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); mes "[Artifact Researcher]"; mes "The ability to enhance remains."; delitem Mora_Coin,1; @@ -1487,7 +1487,7 @@ L_ShowInfo: //== Other Enchants :: sangjo ============================== function script F_Mora_Enchant { - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",3; delitem Mora_Coin,5; delitem getarg(0),1; diff --git a/npc/re/quests/eden/41-55.txt b/npc/re/quests/eden/41-55.txt index b7d95aa71..ee32d4306 100644 --- a/npc/re/quests/eden/41-55.txt +++ b/npc/re/quests/eden/41-55.txt @@ -84,7 +84,7 @@ moc_para01,40,38,3 script Mission [41 - 55] 4_BOARD3,{ mes "Here is your reward."; erasequest 12088; erasequest 12072+.@i; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); getexp .@exp[.@i],0; close; } diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt index 2d72b3541..9c6148736 100644 --- a/npc/re/quests/eden/eden_iro.txt +++ b/npc/re/quests/eden/eden_iro.txt @@ -81,9 +81,9 @@ moc_para01,14,32,5 script Aperture#acolytewarp 4_F_01,{ mes "to "+.@towns$[.@i]+" is "+.@cost[.@i]+" zeny."; close; } - specialeffect2 EF_READYPORTAL; - specialeffect2 EF_TELEPORTATION; - specialeffect2 EF_PORTAL; + specialeffect(EF_READYPORTAL, AREA, playerattached()); + specialeffect(EF_TELEPORTATION, AREA, playerattached()); + specialeffect(EF_PORTAL, AREA, playerattached()); next; Zeny -= .@cost[.@i]; switch(.@i) { diff --git a/npc/re/quests/eden/eden_quests.txt b/npc/re/quests/eden/eden_quests.txt index 9e49a415b..a0f4fa922 100644 --- a/npc/re/quests/eden/eden_quests.txt +++ b/npc/re/quests/eden/eden_quests.txt @@ -116,7 +116,7 @@ moc_para01,25,35,4 script Instructor Boya#para01 4_M_KNIGHT_GOLD,{ callsub S_Quest3; case 2: mes "You are so rude!"; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); percentheal -50, 0; next; mes "-Beats quickly and this shining Rune Knight turns invisible."; diff --git a/npc/re/quests/homun_s.txt b/npc/re/quests/homun_s.txt index 92849c7a5..c1ee52d52 100644 --- a/npc/re/quests/homun_s.txt +++ b/npc/re/quests/homun_s.txt @@ -518,17 +518,17 @@ que_house_s,24,47,3 script Viorel#homun_s 4_M_ALCHE_E,{ mes "Excellent!"; mes "Let's get on with it."; next; - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); mes "[Viorel]"; mes "Now focus~!"; mes "You... need..."; mes "... concentration."; next; - specialeffect2 EF_PROVIDENCE; + specialeffect(EF_PROVIDENCE, AREA, playerattached()); mes "[Viorel]"; mes "Good. Almost done!"; next; - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); Zeny -= 50000; hommutate .@Homunculus; break; @@ -561,21 +561,21 @@ que_house_s,24,47,3 script Viorel#homun_s 4_M_ALCHE_E,{ mes "Hey, I feel like a Blacksmith!"; mes "Now let's get on with it."; next; - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); mes "[Viorel]"; mes "Now focus~!"; mes "You... need..."; mes "... concentration."; next; - specialeffect2 EF_PRESSURE; + specialeffect(EF_PRESSURE, AREA, playerattached()); mes "[Viorel]"; mes "Concentrate a little more!"; next; - specialeffect2 EF_PROVIDENCE; + specialeffect(EF_PROVIDENCE, AREA, playerattached()); mes "[Viorel]"; mes "Good. Almost done!"; next; - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); hommutate; break; } @@ -746,22 +746,22 @@ que_house_s,80,42,3 script Jeyna#homun_s 4_F_ALCHE_A,{ mes "[Jeyna]"; mes "Now I need you to focus."; next; - specialeffect2 EF_ABSORBSPIRITS; + specialeffect(EF_ABSORBSPIRITS, AREA, playerattached()); mes "[Jeyna]"; mes "We need to..."; mes "Stabilize a little more."; mes "......."; next; - specialeffect2 EF_CURE; + specialeffect(EF_CURE, AREA, playerattached()); mes "[Jeyna]"; mes "In a few moments, the ^FF4800Homunculus^000000 will return to its embryo state."; next; - specialeffect2 EF_HOLYHIT; + specialeffect(EF_HOLYHIT, AREA, playerattached()); mes "[Jeyna]"; mes "Into a special embryo..."; next; callsub L_CheckHomunculus; - specialeffect2 EF_BLESSING; + specialeffect(EF_BLESSING, AREA, playerattached()); morphembryo; setquest 4159; erasequest 4158; diff --git a/npc/re/quests/magic_books.txt b/npc/re/quests/magic_books.txt index 3ffac3243..bcf94c4a0 100644 --- a/npc/re/quests/magic_books.txt +++ b/npc/re/quests/magic_books.txt @@ -664,9 +664,9 @@ mid_camp,255,244,4 script Galfos 4_M_JOB_WIZARD,{ if (Zeny >= 1000000) { mes "Alright then, let's get started!"; next; - specialeffect2 EF_DISPELL; + specialeffect(EF_DISPELL, AREA, playerattached()); progressbar "ffff00",4; - specialeffect2 EF_LORD; + specialeffect(EF_LORD, AREA, playerattached()); Zeny -= 1000000; getitem 6194+.@i,1; //Magic_Book_CM, Magic_Book_TV mes "[Galfos]"; @@ -709,7 +709,7 @@ dic_in01,25,190,0 script Mysterious Documents CLEAR_NPC,{ mes "The documents in this container aren't legible. It's no use trying to read them."; close; } - specialeffect2 EF_DISPELL; + specialeffect(EF_DISPELL, AREA, playerattached()); progressbar "ffff00",4; if (mac_book < 3) { mes "You have discovered records about magic, acceleration, and particle waves."; @@ -731,7 +731,7 @@ dic_in01,25,190,0 script Mysterious Documents CLEAR_NPC,{ mes "^660066You must do this by using the greatest power in that place. The Humans have used this method to study the acceleration of magic particles since ancient times.^000000"; next; mes "You have discovered the ^990099Lava Essence Creation Method^000000. Please check your Quest window for more details."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); close2; setquest 12218; end; @@ -749,7 +749,7 @@ dic_in01,25,190,0 script Mysterious Documents CLEAR_NPC,{ mes "^660066According to Humans' information, this essence constitutes one of the four natural elements.^000000"; next; mes "You have discovered the ^990099Flame Essence Creation Method^000000. Please check your Quest window for more details."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); close2; setquest 12219; end; @@ -766,7 +766,7 @@ dic_in01,25,190,0 script Mysterious Documents CLEAR_NPC,{ mes "^660066I succeeded in refining the essence of glacier deep inside the 3rd floor of the Ice Cave. If you'd like to try, prepare 10 Ice Hearts and go to the following location.^000000"; next; mes "You have discovered the ^990099Glacier Essence Creation Method^000000. Please check your Quest window for more details."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); close2; setquest 12220; end; @@ -784,7 +784,7 @@ dic_in01,25,190,0 script Mysterious Documents CLEAR_NPC,{ mes "If you'd like to try, prepare 10 Jubilees and go to the dungeon. Good luck.^000000"; next; mes "You have discovered the ^990099Fossil Essence Creation Method^000000. Please check your Quest window for more details."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); close2; setquest 12221; end; @@ -802,7 +802,7 @@ dic_in01,25,190,0 script Mysterious Documents CLEAR_NPC,{ mes "The refining process was easy, but I had a hard time finding the catalyst, Dragon Teeth.^000000"; next; mes "You have discovered the ^990099Storm Essence Creation Method^000000. Please check your Quest window for more details."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); close2; setquest 12222; end; @@ -828,8 +828,8 @@ function script Magic_Book_Essence { close; } if (questprogress(getarg(0)) == 1 && countitem(getarg(1)) >= getarg(2)) { - specialeffect2 EF_BLIND; - specialeffect2 EF_BEGINSPELL; + specialeffect(EF_BLIND, AREA, playerattached()); + specialeffect(EF_BEGINSPELL, AREA, playerattached()); progressbar "ffff00",4; delitem getarg(1),getarg(2); if (rand(2)) { @@ -837,7 +837,7 @@ function script Magic_Book_Essence { next; mes "^008800The "+getarg(3)+" Essence will last permanently, unless there's a problem.^000000"; completequest getarg(0); - specialeffect2 EF_LORD; + specialeffect(EF_LORD, AREA, playerattached()); close; } mes "^008888You have failed to refine the essence using "+getarg(2)+" "+getitemname(getarg(1))+"s.^000000"; diff --git a/npc/re/quests/newgears/2012_headgears.txt b/npc/re/quests/newgears/2012_headgears.txt index e243300d5..80df8d650 100644 --- a/npc/re/quests/newgears/2012_headgears.txt +++ b/npc/re/quests/newgears/2012_headgears.txt @@ -339,7 +339,7 @@ moc_para01,41,169,3 script Reno#2012hat 1_M_WIZARD,{ mes "[Reno]"; mes "You might feel a slight tingle."; next; - specialeffect2 EF_BASH3D; + specialeffect(EF_BASH3D, AREA, playerattached()); percentheal .@rate * -5,0; //consumeitem ??; //Keep_Connection_[.@rate] sc_start .@buffs[.@choice], 10800000, .@rate; // Atk/Matk + 5*rate (+5, +10, +15) @@ -573,7 +573,7 @@ moc_para01,41,169,3 script Reno#2012hat 1_M_WIZARD,{ close; } } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",2; delitem .@material,1; if (.@material == Safety_Ring) { diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt index ff8038166..8597f056e 100644 --- a/npc/re/quests/quests_brasilis.txt +++ b/npc/re/quests/quests_brasilis.txt @@ -72,7 +72,7 @@ brasilis,297,307,5 script Angelo#br 1_M_04,{ getexp .@randexp,0; erasequest 9031; setquest 9032; - specialeffect2 EF_ASSUMPTIO; + specialeffect(EF_ASSUMPTIO, AREA, playerattached()); consumeitem 607; //Yggdrasilberry .@rand = rand(1,10); if (.@rand > 4 && .@rand < 9) getitem White_Potion,2; @@ -868,7 +868,7 @@ brasilis,56,224,7 script Mage Paje#bra 4_M_BIBI,{ mes "Good luck~!"; brazil_gua = 6; changequest 2195,2196; - specialeffect2 EF_ASSUMPTIO; + specialeffect(EF_ASSUMPTIO, AREA, playerattached()); close; } @@ -925,7 +925,7 @@ OnTouch: mes "Fly fly far away. bbaaaeeeccckkk--!"; brazil_gua = 7; changequest 2196,2197; - specialeffect2 EF_SEISMICWEAPON; + specialeffect(EF_SEISMICWEAPON, AREA, playerattached()); close2; warp "bra_fild01",68,146; end; @@ -2281,7 +2281,7 @@ bra_in01,149,184,3 script Door#bra CLEAR_NPC,{ mes "^FF0000kkkkhee- hihihihi!!!^000000"; mes "You hear water flushing."; next; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); mes "Faint laughing can be heard off in the direction of the toilet."; brazil_ghost = 3; changequest 2208,60351; @@ -2327,7 +2327,7 @@ bra_in01,144,187,3 script Toilet#bra CLEAR_NPC,{ switch(select("Flush the toilet.", "Doing nothing.")) { case 1: mes "After flushing the toilet, you suddenly feel dizzy and are suddenly swept away somewhere."; - specialeffect2 EF_WATERFALL_SMALL_T2_90; + specialeffect(EF_WATERFALL_SMALL_T2_90, AREA, playerattached()); close2; warp "bra_in01",206,102; end; @@ -2371,7 +2371,7 @@ bra_in01,144,187,3 script Toilet#bra CLEAR_NPC,{ mes "^FF0000kkkkhee- hihihihi!!!^000000"; mes "Suddenly the sink sounds like water is flowing freely from it."; next; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); mes "Faint laughing can be heard off in the direction of the faucet."; brazil_ghost = 4; changequest 60351,60352; @@ -2450,7 +2450,7 @@ bra_in01,134,189,3 script Faucet#bra CLEAR_NPC,{ mes "^FF0000kkkkhee- hihihihi!!!^000000"; mes "You see the carpet move."; next; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); mes "Faint laughing can be heard off in the direction of the carpet."; brazil_ghost = 5; changequest 60352,60353; @@ -2532,7 +2532,7 @@ bra_in01,138,184,3 script Carpet#bra CLEAR_NPC,{ mes "[Distant Sound]"; mes "^FF0000kkkkhee- hihihihi!!!^000000"; next; - specialeffect2 EF_VENOMDUST; + specialeffect(EF_VENOMDUST, AREA, playerattached()); mes "Faint laughing can be heard off in the direction of the mirror."; brazil_ghost = 6; changequest 60353,60354; @@ -2628,7 +2628,7 @@ bra_in01,151,180,3 script Mirror#bra CLEAR_NPC,{ } } if (.@cpudice > .@pcdice) { - specialeffect2 EF_DEVIL; + specialeffect(EF_DEVIL, AREA, playerattached()); mes "[Ghost]"; mes "^FF0000Go away!^000000"; brazil_ghost = 1; diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt index 52a604278..ef1352e1e 100644 --- a/npc/re/quests/quests_dewata.txt +++ b/npc/re/quests/quests_dewata.txt @@ -135,7 +135,7 @@ dew_in01,22,48,3 script Sage Kasyapa#dew 4_M_DEWZATIMAN,{ mes "that you are a trustworthy sort... but..."; next; mes "There is a brief twinkling of light ^0000FFKasyapa^000000 all of sudden seems to be taken aback."; - specialeffect2 EF_PNEUMA; + specialeffect(EF_PNEUMA, AREA, playerattached()); next; mes "[Sage Kasyapa]"; mes "Ah, the feather......!"; @@ -210,7 +210,7 @@ dew_in01,22,48,3 script Sage Kasyapa#dew 4_M_DEWZATIMAN,{ mes "[Sage Kasyapa]"; mes "The reason I asked you to embark on this important mission is because of this feather."; mes "Handed down from generation to generation the legendary origin of the crown is this feather..."; - specialeffect2 EF_PNEUMA; + specialeffect(EF_PNEUMA, AREA, playerattached()); next; mes "[Sage Kasyapa]"; mes "I saw this feather begin to shine when you came here."; @@ -338,7 +338,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{ mes "Alright, let me begin crafting the ^006400Jaty Crown^000000 I feel that I am ready."; next; mes "Suddenly, a large noise begins to boom as you and ^0000FFPaiko^000000 are surrounded by warm and bright sparkling energy like a thousand tinkling fireflies."; - specialeffect2 EF_BASH3D2; + specialeffect(EF_BASH3D2, AREA, playerattached()); close; } else if (dew_legend == 6) { mes "[Tribal Chief Paiko]"; @@ -1587,7 +1587,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ case 14: case 16: case 20: - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); if (isequipped(5009)) { //Safety_Helmet mes "something falls on your head, but since you're wearing a Safety Helmet you're safe and sound."; emotion e_no1,1; @@ -2002,7 +2002,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ mes "[Gatti]"; mes "Great! We have enough. Wait a little."; next; - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); next; emotion e_swt2; next; @@ -2046,7 +2046,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ mes "[Gatti]"; mes "You have all the materials. Wait just a little."; next; - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); next; emotion e_swt2; next; @@ -2113,7 +2113,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ mes "You don't have all the materials. It's impossible to reinforce if you don't have them all. If you want to reinforce, bring 100,000 zeny and 1 Caress."; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "0xFFFF00",3; Zeny -= 100000; diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt index 0aa4ffa1a..817b4780d 100644 --- a/npc/re/quests/quests_dicastes.txt +++ b/npc/re/quests/quests_dicastes.txt @@ -487,7 +487,7 @@ function script que_dic { } getexp getarg(2),0; erasequest getarg(1); - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); getitem 6304,1; close; } @@ -1043,7 +1043,7 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{ mes "Ugh... feel dizzy from simply staring at the document. Will come back after cooling down"; close; } - specialeffect2 EF_DISPELL; + specialeffect(EF_DISPELL, AREA, playerattached()); progressbar "ffff00",4; .@doc = rand(1,70); if (.@doc > 50 && .@doc <= 60) { @@ -1115,7 +1115,7 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{ mes "^660066"+getarg(3)+"^000000"; next; mes "You've found a document about ^990099"+getarg(1)+"^000000. Check for details in the ^800080Quest Window^000000."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); setquest getarg(0); close; } @@ -1131,17 +1131,17 @@ function script unknown_d { mes "You see some traces of digging."; close; } - specialeffect2 EF_SPRINKLESAND; - specialeffect2 EF_BEGINSPELL_N1; + specialeffect(EF_SPRINKLESAND, AREA, playerattached()); + specialeffect(EF_BEGINSPELL_N1, AREA, playerattached()); progressbar "ffff00",4; erasequest getarg(0); mes "You were able to find information on the "+getitemname(getarg(1))+"."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); getitem getarg(1),rand(1,4); if (!rand(2)) { next; mes "In addition, you've obtained an unknown relic to report back to the Saphas."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); getitem Unidentified_Relic,1; } close; @@ -3901,8 +3901,8 @@ dic_in01,245,119,4 script Shay#ep133_13 4_M_ACROSS,{ next; mes "[Shay]"; mes "Stop!!!!!!!!!!!!!"; - specialeffect2 EF_HIT1; - specialeffect2 EF_HIT2; + specialeffect(EF_HIT1, AREA, playerattached()); + specialeffect(EF_HIT2, AREA, playerattached()); percentheal -30,0; next; mes "-Shay got all upset and threw something sticky and smelly."; @@ -6990,7 +6990,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "Ok, let's get this started."; mes "I'm going to remove all enchantments from your Light of El Dicastes."; mes "Haaap--!"; - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",3; delitem Sapa_Feat_Cert,6; delitem El_Dicastes_Light,1; @@ -7169,7 +7169,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "Then, take the equipment off first."; close; } - specialeffect2 EF_OVERTHRUST; + specialeffect(EF_OVERTHRUST, AREA, playerattached()); mes .@n$; if (.@re$ == "Brare") mes "I've collected all equipment and erased all records as you requested. Now all your equipment and records are clean."; else mes "I only do what I'm asked to do. I've retrieved all equipment and cancelled all records."; @@ -7248,7 +7248,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "Please come back again"; close; } - specialeffect2 EF_OVERTHRUST; + specialeffect(EF_OVERTHRUST, AREA, playerattached()); mes .@n$; mes "I have erased all previous records"; mes "of upgrades to start all over with"; @@ -7280,7 +7280,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes .@n$; mes "Then let's start."; next; - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",3; delitem 6304,.@req; if (getd("ep13_3_"+.@v$) == 0) { diff --git a/npc/re/quests/quests_eclage.txt b/npc/re/quests/quests_eclage.txt index d669d0d46..ac6717529 100644 --- a/npc/re/quests/quests_eclage.txt +++ b/npc/re/quests/quests_eclage.txt @@ -5029,7 +5029,7 @@ OnTouch: mes "- Something hits you"; mes "over the head really hard."; mes "Your body loses its strength and your vision goes blurry -"; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); sc_start SC_BLIND,30000,0; next; mes "- Oh, I can't lose my consciousness like this -"; @@ -6496,7 +6496,7 @@ eclage,222,131,3 script Wandering Merchant#ecl 1_M_SIGNMCNT,{ } progressbar "0xFFFF00",3; .@nRand = rand(1,10); - specialeffect2 EF_ENHANCE; + specialeffect(EF_ENHANCE, AREA, playerattached()); Zeny -= 10000; if ((.@nRand > 0) && (.@nRand < 5)) { getitem Center_Potion,1; //Center_Potion @@ -17001,7 +17001,7 @@ ecl_in03,41,90,3 script Mayor Jun Kardui#tl01 4_M_FARIYKING,{ mes strcharinfo(PC_NAME) + "."; mes "This is a present for you."; mes "I hope my magical powers help you improve."; - specialeffect2 EF_FORESTLIGHT4; + specialeffect(EF_FORESTLIGHT4, AREA, playerattached()); delitem Avant_Research_Data,1; //Avant_Research_Data if (ep14_2_mylord == 23) { getexp 400000,300000; @@ -17444,7 +17444,7 @@ ecl_in03,41,90,3 script Mayor Jun Kardui#tl01 4_M_FARIYKING,{ mes "You've been a great help all this time."; mes "Will you stay as my friend now and forever?"; mes "May the blessing of Yggdrasil be upon you..."; - specialeffect2 EF_FORESTLIGHT4; + specialeffect(EF_FORESTLIGHT4, AREA, playerattached()); npcskill AL_BLESSING,1,0,0; ep14_2_mylord = 33; completequest 7453; diff --git a/npc/re/quests/quests_malangdo.txt b/npc/re/quests/quests_malangdo.txt index 9a67c4af8..786aeccb1 100644 --- a/npc/re/quests/quests_malangdo.txt +++ b/npc/re/quests/quests_malangdo.txt @@ -9704,7 +9704,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{ if (.@cat_hand <= 5) { --.@pc_hp0; cutin "cat_g_05",4; - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); mes "Defending has failed."; mes "KungKung attacks the back of your hand with its sharp claw."; next; @@ -9729,7 +9729,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{ } else { .@pc_hp -= 10; cutin "cat_g_08",4; - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); mes "Defending has failed."; mes "KungKung attacks the back of your hand with its sharp claw."; next; @@ -10579,7 +10579,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{ mes "Ok! Take your time to consider!"; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",2; if (getequipisequiped(EQI_GARMENT) == 0) { mes "[Fallen Angel]"; @@ -10666,7 +10666,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{ mes "Ok! Take your time to consider!"; close; } - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); progressbar "ffff00",2; if (getequipisequiped(EQI_GARMENT) == 0) { mes "[Fallen Angel]"; diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt index 8c47fb2ed..12c5cc2ca 100644 --- a/npc/re/quests/quests_malaya.txt +++ b/npc/re/quests/quests_malaya.txt @@ -3370,7 +3370,7 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{ next; if(select("Create.", "No, thank you.") == 1) { if (countitem(Lesser_Agimat) >= 3 && Zeny >= 1000) { - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); specialeffect EF_FORESTLIGHT2; Zeny -= 1000; getitem Ancient_Spirit_Agimat,1; @@ -3824,7 +3824,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{ mes "[Bayani]"; mes "Pow!! Wow!! Flip... flop!"; next; - specialeffect2 EF_TRIPLEATTACK; + specialeffect(EF_TRIPLEATTACK, AREA, playerattached()); mes "[Bayani]"; mes "BAM!!"; next; @@ -4786,7 +4786,7 @@ ma_fild02,312,259,3 script Dog#buwaya 4_DOG01,{ next; mes "^FF0000- Shoook-^000000"; enablenpc "Guard#buwayacave"; - specialeffect2 EF_MVP; + specialeffect(EF_MVP, AREA, playerattached()); next; mes "[Guard]"; mes "Job well done!"; diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt index 39ca8649c..34293d200 100644 --- a/npc/re/quests/quests_mora.txt +++ b/npc/re/quests/quests_mora.txt @@ -3719,7 +3719,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ } else { mes "When you attempt to run away, the unidentified creature sees you and attacks. You fail to escape."; next; - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); mes "The creature slams you with its tail. It's so painful that a tear rolls out of your eyes. ^FF000010^000000 damaged received."; .@pc_hp -= 10; next; @@ -3839,15 +3839,15 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ case 1: switch(.@npc_attack) { case 1: - specialeffect2 EF_ICEARROW; + specialeffect(EF_ICEARROW, AREA, playerattached()); mes "You stand still. The stream of water hits your face squarely. Your mind is clear in an instant. ^FF0000["+.@n_damage+"]^000000 damage received."; break; case 2: - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); mes "You stand still. The creature headbutts you squarely. Your mind is clear in an instant. ^FF0000["+.@n_damage+"]^000000 damage received."; break; case 3: - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); mes "You stand still. While you were standing stupidly, the creature comes near and bites you mercilessly. Your mind is clear in an instant. ^FF0000["+.@n_damage+"]^000000 damage received."; break; } @@ -3869,7 +3869,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ break; // Hit. default: - specialeffect2 EF_ICEARROW; + specialeffect(EF_ICEARROW, AREA, playerattached()); .@pc_hp -= .@n_damage; switch(.@miss) { case 2: .@str$ = "face"; break; @@ -3900,7 +3900,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ break; // Hit. default: - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); .@pc_hp -= .@n_damage; switch(.@miss) { case 2: .@str$ = "With a thud, you can feel intense pain."; break; @@ -3940,7 +3940,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ break; // Hit. default: - specialeffect2 EF_HIT1; + specialeffect(EF_HIT1, AREA, playerattached()); .@pc_hp -= .@n_damage; switch(.@miss) { case 2: .@str$ = "leg. Its sharp teeth penetrate your legs."; break; @@ -3961,9 +3961,9 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ case 1: if (.@defend == 3 || .@defend == 6) { .@n_damage /= 2; - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); } else - specialeffect2 EF_ICEARROW; + specialeffect(EF_ICEARROW, AREA, playerattached()); .@pc_hp -= .@n_damage; mes "[Defense of "+strcharinfo(PC_NAME)+"]"; switch(.@defend) { @@ -3986,9 +3986,9 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ case 2: if (.@defend == 1 || .@defend == 3 || .@defend == 5 || .@defend == 7) { .@n_damage /= 2; - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); } else - specialeffect2 EF_BASH; + specialeffect(EF_BASH, AREA, playerattached()); .@pc_hp -= .@n_damage; mes "[Defense of "+strcharinfo(PC_NAME)+"]"; switch(.@defend) { @@ -4011,7 +4011,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ case 3: if (.@defend == 2 || .@defend == 4 || .@defend == 6 || .@defend == 8) { .@n_damage /= 2; - specialeffect2 EF_GUARD; + specialeffect(EF_GUARD, AREA, playerattached()); } .@pc_hp -= .@n_damage; mes "[Defense of "+strcharinfo(PC_NAME)+"]"; @@ -4544,7 +4544,7 @@ mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{ mes "[Hotcha]"; mes "Yes, I see you've completed the task. It has been confirmed as completed."; erasequest .@i; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); if (BaseLevel > 99) getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0); else @@ -4745,7 +4745,7 @@ L_CheckQuest: mes "I've received the items all right. It will be some time before I have another task for you, so why don't you visit the hot spring and relax?"; delitem getarg(1),getarg(2); erasequest getarg(0); - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); if (BaseLevel > 99) getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0); else @@ -4941,7 +4941,7 @@ L_CheckQuest: mes "I've received the items all right. I look forward to working with you again."; delitem getarg(1),getarg(2); erasequest getarg(0); - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); if (BaseLevel > 99) getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0); else @@ -5073,7 +5073,7 @@ mora,170,101,4 script Soul Guide#pa0829 4_F_DOGTRAVELER,{ } next; mes "^990099Information on missing person "+.@n$+"^000000 has been found. Check your Quest Window for further information."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); close; } @@ -5125,17 +5125,17 @@ function script mora_remains { close; } if (questprogress(getarg(0))) { - specialeffect2 EF_BLIND; - specialeffect2 EF_BEGINSPELL; + specialeffect(EF_BLIND, AREA, playerattached()); + specialeffect(EF_BEGINSPELL, AREA, playerattached()); progressbar "ffff00",4; erasequest getarg(0); mes "These must be ["+getarg(1)+"]'s Remains. So carefully gather his remains."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); getitem getarg(3), rand(1,getarg(4)); if (rand(10)) { next; mes "You picked up "+getarg(2)+" Mora Coins next to the remains."; - specialeffect2 EF_STEAL; + specialeffect(EF_STEAL, AREA, playerattached()); getitem Mora_Coin,getarg(2); } close; diff --git a/npc/warps/fields/abyss_warper.txt b/npc/warps/fields/abyss_warper.txt index 204c55842..fd8854234 100644 --- a/npc/warps/fields/abyss_warper.txt +++ b/npc/warps/fields/abyss_warper.txt @@ -78,7 +78,7 @@ hu_fild05,168,304,0 script Column#abyss1 HIDDEN_NPC,{ mes "violently shake.^000000"; specialeffect EF_BOWLINGBASH; donpcevent "AbyssWarp::OnWarp"; - specialeffect2 EF_PORTAL; + specialeffect(EF_PORTAL, AREA, playerattached()); delitem 1035,1; delitem 1036,1; delitem 1037,1; @@ -137,7 +137,7 @@ hu_fild05,171,211,0 script Column#abyss2 HIDDEN_NPC,1,1,{ mes "begin to slowly sink away...^000000"; next; specialeffect EF_BOWLINGBASH; - specialeffect2 EF_PORTAL; + specialeffect(EF_PORTAL, AREA, playerattached()); close2; warp "hu_fild05",169,305; end; @@ -159,7 +159,7 @@ hu_fild05,171,211,0 script Column#abyss2 HIDDEN_NPC,1,1,{ mes "are warped somewhere else...^000000"; next; specialeffect EF_BOWLINGBASH; - specialeffect2 EF_PORTAL; + specialeffect(EF_PORTAL, AREA, playerattached()); close2; warp "hu_fild05",157,284; end; diff --git a/npc/woe-se/agit_main_se.txt b/npc/woe-se/agit_main_se.txt index 5f291e658..6fc319377 100644 --- a/npc/woe-se/agit_main_se.txt +++ b/npc/woe-se/agit_main_se.txt @@ -1159,7 +1159,7 @@ OnEnable: mes "reinforced with wood.^000000"; ++.@rp_temp; ++.@ro_of02; - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); next; break; case 2: @@ -1212,7 +1212,7 @@ OnEnable: mes "like this will work.^000000"; ++.@rp_temp; ++.@ro_of02; - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); next; break; } @@ -1236,7 +1236,7 @@ OnEnable: mes "is starting to look more solid.^000000"; ++.@rp_temp; ++.@ro_of02; - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); next; break; case 3: @@ -1277,7 +1277,7 @@ OnEnable: mes "much of the gate's damage.^000000"; ++.@rp_temp; ++.@ro_of02; - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); next; break; case 4: |