summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-06-03 22:47:54 +0200
committerHaru <haru@dotalux.com>2017-06-03 22:47:54 +0200
commit68059ee62a223edb323abba0bc980faab8ed4b52 (patch)
treef50fddbe254d80033eeb74752843ebb6d0eda92f
parent1b02f9269f15582c7d211f1d1a3a0c1c7ce68a88 (diff)
downloadhercules-68059ee62a223edb323abba0bc980faab8ed4b52.tar.gz
hercules-68059ee62a223edb323abba0bc980faab8ed4b52.tar.bz2
hercules-68059ee62a223edb323abba0bc980faab8ed4b52.tar.xz
hercules-68059ee62a223edb323abba0bc980faab8ed4b52.zip
Revert "Unify specialeffect, convert legacy scripts (#1746)"
This reverts commit 19883c583e5e1471c87ae80e67f34882a7e75bc6. The commit was squashed by accident, my fault. I'm merging the PR again, this time preserving the indivisual commits.
-rw-r--r--db/pre-re/item_combo_db.txt14
-rw-r--r--db/pre-re/item_db.conf172
-rw-r--r--db/re/item_combo_db.txt18
-rw-r--r--db/re/item_db.conf328
-rw-r--r--doc/script_commands.txt51
-rw-r--r--npc/battleground/flavius/flavius01.txt4
-rw-r--r--npc/battleground/flavius/flavius02.txt4
-rw-r--r--npc/battleground/tierra/tierra01.txt6
-rw-r--r--npc/battleground/tierra/tierra02.txt6
-rw-r--r--npc/cities/jawaii.txt20
-rw-r--r--npc/cities/morocc.txt2
-rw-r--r--npc/cities/rachel.txt2
-rw-r--r--npc/custom/battleground/bg_flavius_01.txt8
-rw-r--r--npc/custom/battleground/bg_flavius_02.txt8
-rw-r--r--npc/custom/battleground/bg_kvm01.txt10
-rw-r--r--npc/custom/battleground/bg_kvm02.txt10
-rw-r--r--npc/custom/battleground/bg_kvm03.txt10
-rw-r--r--npc/custom/battleground/bg_tierra_01.txt12
-rw-r--r--npc/custom/battleground/bg_tierra_02.txt12
-rw-r--r--npc/custom/bgqueue/flavius.txt4
-rw-r--r--npc/custom/breeder.txt6
-rw-r--r--npc/custom/etc/airplane.txt4
-rw-r--r--npc/custom/etc/monster_arena.txt2
-rw-r--r--npc/custom/etc/mvp_arena.txt4
-rw-r--r--npc/custom/events/cluckers.txt4
-rw-r--r--npc/custom/events/disguise.txt2
-rw-r--r--npc/custom/events/valentinesdayexp.txt6
-rw-r--r--npc/custom/events/xmas_rings_event.txt2
-rw-r--r--npc/custom/healer.txt6
-rw-r--r--npc/custom/jobmaster.txt4
-rw-r--r--npc/custom/quests/hunting_missions.txt6
-rw-r--r--npc/custom/quests/may_hats.txt2
-rw-r--r--npc/custom/quests/quest_shop.txt2
-rw-r--r--npc/custom/woe_controller.txt2
-rw-r--r--npc/events/RWC_2012.txt10
-rw-r--r--npc/events/StPatrick_2008.txt2
-rw-r--r--npc/events/christmas_2005.txt12
-rw-r--r--npc/events/easter_2010.txt6
-rw-r--r--npc/events/gdevent_aru.txt36
-rw-r--r--npc/events/gdevent_sch.txt36
-rw-r--r--npc/events/halloween_2006.txt2
-rw-r--r--npc/instances/NydhoggsNest.txt16
-rw-r--r--npc/instances/SealedShrine.txt12
-rw-r--r--npc/jobs/2-2e/SoulLinker.txt2
-rw-r--r--npc/merchants/enchan_arm.txt4
-rw-r--r--npc/other/acolyte_warp.txt12
-rw-r--r--npc/other/arena/arena_aco.txt8
-rw-r--r--npc/other/arena/arena_lvl50.txt6
-rw-r--r--npc/other/arena/arena_lvl60.txt6
-rw-r--r--npc/other/arena/arena_lvl70.txt6
-rw-r--r--npc/other/arena/arena_lvl80.txt6
-rw-r--r--npc/other/arena/arena_party.txt6
-rw-r--r--npc/other/divorce.txt2
-rw-r--r--npc/other/gympass.txt16
-rw-r--r--npc/other/poring_war.txt4
-rw-r--r--npc/quests/bard_quest.txt10
-rw-r--r--npc/quests/cooking_quest.txt2
-rw-r--r--npc/quests/eye_of_hellion.txt12
-rw-r--r--npc/quests/first_class/tu_acolyte.txt14
-rw-r--r--npc/quests/first_class/tu_archer.txt16
-rw-r--r--npc/quests/first_class/tu_magician01.txt36
-rw-r--r--npc/quests/first_class/tu_thief01.txt24
-rw-r--r--npc/quests/kiel_hyre_quest.txt12
-rw-r--r--npc/quests/newgears/2004_headgears.txt16
-rw-r--r--npc/quests/newgears/2010_headgears.txt4
-rw-r--r--npc/quests/quests_13_1.txt70
-rw-r--r--npc/quests/quests_13_2.txt10
-rw-r--r--npc/quests/quests_airship.txt144
-rw-r--r--npc/quests/quests_hugel.txt84
-rw-r--r--npc/quests/quests_juperos.txt8
-rw-r--r--npc/quests/quests_lighthalzen.txt18
-rw-r--r--npc/quests/quests_louyang.txt2
-rw-r--r--npc/quests/quests_morocc.txt52
-rw-r--r--npc/quests/quests_moscovia.txt82
-rw-r--r--npc/quests/quests_nameless.txt2
-rw-r--r--npc/quests/quests_rachel.txt14
-rw-r--r--npc/quests/quests_veins.txt4
-rw-r--r--npc/quests/seals/brisingamen_seal.txt10
-rw-r--r--npc/quests/seals/megingard_seal.txt16
-rw-r--r--npc/quests/seals/mjolnir_seal.txt36
-rw-r--r--npc/quests/skills/assassin_skills.txt22
-rw-r--r--npc/quests/skills/bard_skills.txt4
-rw-r--r--npc/quests/skills/dancer_skills.txt22
-rw-r--r--npc/quests/skills/hunter_skills.txt2
-rw-r--r--npc/quests/skills/priest_skills.txt4
-rw-r--r--npc/quests/skills/rogue_skills.txt18
-rw-r--r--npc/quests/skills/sage_skills.txt14
-rw-r--r--npc/quests/skills/wizard_skills.txt8
-rw-r--r--npc/quests/thana_quest.txt40
-rw-r--r--npc/quests/the_sign_quest.txt16
-rw-r--r--npc/re/cities/dewata.txt14
-rw-r--r--npc/re/cities/malangdo.txt2
-rw-r--r--npc/re/cities/mora.txt2
-rw-r--r--npc/re/events/christmas_2013.txt14
-rw-r--r--npc/re/events/halloween_2014.txt28
-rw-r--r--npc/re/instances/BangungotHospital.txt10
-rw-r--r--npc/re/instances/BuwayaCave.txt2
-rw-r--r--npc/re/instances/EclageInterior.txt2
-rw-r--r--npc/re/instances/MalangdoCulvert.txt6
-rw-r--r--npc/re/instances/OldGlastHeim.txt18
-rw-r--r--npc/re/instances/WolfchevLaboratory.txt66
-rw-r--r--npc/re/jobs/2e/kagerou_oboro.txt24
-rw-r--r--npc/re/jobs/3-1/archbishop.txt20
-rw-r--r--npc/re/jobs/3-1/guillotine_cross.txt8
-rw-r--r--npc/re/jobs/3-1/ranger.txt8
-rw-r--r--npc/re/jobs/3-1/rune_knight.txt4
-rw-r--r--npc/re/jobs/3-1/warlock.txt2
-rw-r--r--npc/re/jobs/3-2/genetic.txt12
-rw-r--r--npc/re/jobs/3-2/royal_guard.txt6
-rw-r--r--npc/re/jobs/3-2/sura.txt4
-rw-r--r--npc/re/jobs/novice/academy.txt56
-rw-r--r--npc/re/jobs/novice/novice.txt4
-rw-r--r--npc/re/jobs/novice/supernovice_ex.txt8
-rw-r--r--npc/re/jobs/repair.txt2
-rw-r--r--npc/re/merchants/blessed_refiner.txt2
-rw-r--r--npc/re/merchants/card_separation.txt8
-rw-r--r--npc/re/merchants/enchan_mal.txt6
-rw-r--r--npc/re/merchants/enchan_mora.txt14
-rw-r--r--npc/re/quests/eden/41-55.txt2
-rw-r--r--npc/re/quests/eden/eden_iro.txt10
-rw-r--r--npc/re/quests/eden/eden_quests.txt2
-rw-r--r--npc/re/quests/homun_s.txt22
-rw-r--r--npc/re/quests/magic_books.txt22
-rw-r--r--npc/re/quests/newgears/2012_headgears.txt4
-rw-r--r--npc/re/quests/quests_brasilis.txt24
-rw-r--r--npc/re/quests/quests_dewata.txt14
-rw-r--r--npc/re/quests/quests_dicastes.txt26
-rw-r--r--npc/re/quests/quests_eclage.txt8
-rw-r--r--npc/re/quests/quests_malangdo.txt8
-rw-r--r--npc/re/quests/quests_malaya.txt30
-rw-r--r--npc/re/quests/quests_mora.txt40
-rw-r--r--npc/warps/fields/abyss_warper.txt6
-rw-r--r--npc/woe-se/agit_main_se.txt8
-rw-r--r--src/map/script.c40
134 files changed, 1196 insertions, 1233 deletions
diff --git a/db/pre-re/item_combo_db.txt b/db/pre-re/item_combo_db.txt
index f3bf81e38..adb91e59c 100644
--- a/db/pre-re/item_combo_db.txt
+++ b/db/pre-re/item_combo_db.txt
@@ -46,7 +46,7 @@
2121:2717:2239,{ bonus bHPrecovRate,15; bonus bSPrecovRate,15; bonus bMatkRate,7; }
2123:2701,{ bonus bCastrate,-10; }
2124:2702,{ bonus bAspdRate,10; bonus bShortWeaponDamageReturn,5; }
-2135:2426,{ bonus2 bAddEff,Eff_Blind,500; autobonus "{ bonus bFlee,20; }",200,10000,BF_WEAPON,"{ specialeffect(EF_INCAGILITY, AREA, playerattached()); }"; }
+2135:2426,{ bonus2 bAddEff,Eff_Blind,500; autobonus "{ bonus bFlee,20; }",200,10000,BF_WEAPON,"{ specialeffect2 EF_INCAGILITY; }"; }
2137:2353:5124,{ bonus bDef,2-getrefine()-getequiprefinerycnt(EQI_HEAD_TOP); bonus bMdef,5+getrefine()+getequiprefinerycnt(EQI_HEAD_TOP); }
2278:18656,{ bonus2 bAddMonsterDropItem,12192,1; }
2281:18656,{ bonus bFlee,10; bonus2 bAddEff,Eff_Stun,1000; }
@@ -69,11 +69,11 @@
2371:2523,{ bonus bAgi,5; bonus bFlee,10; }
2374:2729,{ bonus2 bAddRace, RC_All, 3; bonus bMatkRate,3; }
2375:2729,{ bonus2 bAddRace, RC_All, 3; bonus bMatkRate,3; }
-2376:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bVit,3; bonus bMaxHPrate,12; bonus bHealPower2,10; bonus bAddItemHealRate,10; autobonus2 "{ bonus2 bHPRegenRate,600,1000; }",5,10000,BF_WEAPON,"{ specialeffect(EF_HEAL, AREA, playerattached()); }"; }
+2376:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bVit,3; bonus bMaxHPrate,12; bonus bHealPower2,10; bonus bAddItemHealRate,10; autobonus2 "{ bonus2 bHPRegenRate,600,1000; }",5,10000,BF_WEAPON,"{ specialeffect2 EF_HEAL; }"; }
2377:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bStr,3; bonus bMaxHPrate,12; bonus2 bSkillAtk,"MC_MAMMONITE",20; bonus2 bSkillHeal,"AM_POTIONPITCHER",10; bonus2 bSkillHeal2,"AM_POTIONPITCHER",10; bonus2 bSkillHeal2,"AL_HEAL",10; bonus bUnbreakableArmor,0; }
-2378:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bAgi,3; bonus bMaxHPrate,12; bonus bCritical,5; bonus bAspdRate,5; autobonus "{ bonus2 bHPRegenRate,300,1000; }",10,10000,BF_WEAPON,"{ specialeffect(EF_HEAL, AREA, playerattached()); }"; }
-2379:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bResEff,Eff_Stun,2000; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }"; }
-2380:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bCastrate,"AL_HOLYLIGHT",-50; bonus bHealPower,6; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }"; }
+2378:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bAgi,3; bonus bMaxHPrate,12; bonus bCritical,5; bonus bAspdRate,5; autobonus "{ bonus2 bHPRegenRate,300,1000; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_HEAL; }"; }
+2379:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bResEff,Eff_Stun,2000; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect2 EF_ENERGYCOAT; }"; }
+2380:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bCastrate,"AL_HOLYLIGHT",-50; bonus bHealPower,6; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect2 EF_ENERGYCOAT; }"; }
2381:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bDex,3; bonus bMaxHPrate,12; bonus bLongAtkDef,10; bonus bDelayrate,-25; }
2382:2437:2540,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bDex,3; bonus bMaxHPrate,12; bonus bLongAtkDef,10; bonus bDelayrate,-25; }
2387:2440:2744,{ bonus bMaxHPrate,7; bonus bMaxSPrate,7; bonus bCastrate,-3; bonus bDelayrate,-15; }
@@ -155,11 +155,11 @@
5068:5653,{ bonus bStr,1; bonus bAtkRate,5; }
5074:5653,{ bonus bStr,1; bonus bAspdRate,2; }
5086:18656,{ bonus2 bAddMonsterDropItem,12192,1; bonus2 bAddMonsterDropItem,538,1; bonus2 bAddItemHealRate,12192,100; bonus2 bAddItemHealRate,538,100; }
-5176:18656,{ bonus bAspdRate,5; autobonus "{ bonus bAtk,50; }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; }
+5176:18656,{ bonus bAspdRate,5; autobonus "{ bonus bAtk,50; }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; }
//5184:5657,{ bonus bLongAtkRate,getrefine(); }
5358:5653,{ bonus bAgi,1; bonus bFlee,3; }
5401:5653,{ bonus bInt,1; bonus bMatkRate,2; }
//5470:5653,{ bonus bDex,1; bonus bLongAtkRate,3; }
5574:5073,{ bonus bDex, 2; bonus bDef, 2; }
-13034:13035,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; }
+13034:13035,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; }
18507:18539,{ bonus bUseSPrate,-3; }
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index 90b50cdac..82168a1ca 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -6443,7 +6443,7 @@ item_db: (
View: 3
Script: <"
bonus bFlee2,10;
- if(JobLevel>=70) autobonus "{ bonus bBaseAtk,50; }",10,10000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ if(JobLevel>=70) autobonus "{ bonus bBaseAtk,50; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
if(getrefine()>8) {
bonus bCastrate,-20;
bonus bDelayrate,-20;
@@ -6472,7 +6472,7 @@ item_db: (
View: 3
Script: <"
bonus bAtkEle,Ele_Ghost;
- autobonus "{ bonus bCritical,100; bonus bBaseAtk,50; }",1,5000,0,"{ specialeffect(EF_FIRESPLASHHIT, AREA, playerattached()); }";
+ autobonus "{ bonus bCritical,100; bonus bBaseAtk,50; }",1,5000,0,"{ specialeffect2 EF_FIRESPLASHHIT; }";
bonus bHPGainValue,100;
">
},
@@ -9168,7 +9168,7 @@ item_db: (
bonus2 bAddRace,RC_DemiPlayer,(getrefine()-4)*(getrefine()-4);
bonus2 bIgnoreDefRate,RC_DemiPlayer,5;
}
- if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -9203,7 +9203,7 @@ item_db: (
bonus2 bAddRace,RC_DemiPlayer,(getrefine()-4)*(getrefine()-4);
bonus2 bCriticalAddRace,RC_DemiPlayer,5;
}
- if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -10552,7 +10552,7 @@ item_db: (
Script: <"
bonus bStr,3;
bonus2 bAddRace,RC_DemiPlayer,55;
- autobonus "{ bonus bBreakArmorRate,10000; }",20,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bBreakArmorRate,10000; }",20,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -13639,7 +13639,7 @@ item_db: (
bonus2 bAddRace,RC_Undead,10;
bonus2 bAddRace,RC_Demon,10;
bonus3 bAutoSpell,AL_CRUCIS,1+getrefine(),100;
- autobonus "{ bonus bBaseAtk,50; }",10,20000,BF_WEAPON,"{ specialeffect(EF_BLOODDRAIN, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,50; }",10,20000,BF_WEAPON,"{ specialeffect2 EF_BLOODDRAIN; }";
">
},
{
@@ -13719,7 +13719,7 @@ item_db: (
bonus bDex,1;
bonus2 bAddRace,RC_DemiPlayer,75;
bonus bUnbreakableWeapon,0;
- autobonus "{ bonus2 bAddEff,Eff_Stun,5000; }",10,6000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus2 bAddEff,Eff_Stun,5000; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -14580,7 +14580,7 @@ item_db: (
bonus2 bAddRace,RC_DemiPlayer,(getrefine()-4)*(getrefine()-4);
bonus2 bIgnoreDefRate,RC_DemiPlayer,5;
}
- if(getrefine()>8) autobonus "{ bonus bBaseAtk,200; }",30,3000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }";
+ if(getrefine()>8) autobonus "{ bonus bBaseAtk,200; }",30,3000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
">
},
{
@@ -15635,7 +15635,7 @@ item_db: (
bonus bMatkRate,15;
bonus bInt,3;
bonus bHealPower,5;
- autobonus "{ bonus2 bSPRegenRate,100,2000; bonus2 bHPRegenRate,50,2000; }",10,10000,BF_MAGIC,"{ specialeffect(EF_HEAL, AREA, playerattached()); }";
+ autobonus "{ bonus2 bSPRegenRate,100,2000; bonus2 bHPRegenRate,50,2000; }",10,10000,BF_MAGIC,"{ specialeffect2 EF_HEAL; }";
">
},
{
@@ -17073,7 +17073,7 @@ item_db: (
EquipLv: 70
View: 11
Script: <"
- autobonus "{ bonus bAspdRate,7; }",10+(getrefine()*2),7000,BF_WEAPON,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,7; }",10+(getrefine()*2),7000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }";
bonus2 bAddSkillBlow,AC_CHARGEARROW,3;
">
},
@@ -18329,7 +18329,7 @@ item_db: (
bonus bInt,1;
bonus2 bAddRace,RC_DemiPlayer,95;
bonus2 bCastrate,MO_EXTREMITYFIST,-25;
- autobonus "{ bonus2 bCastrate,MO_EXTREMITYFIST,-100; }",50,6000,BF_WEAPON,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }";
+ autobonus "{ bonus2 bCastrate,MO_EXTREMITYFIST,-100; }",50,6000,BF_WEAPON,"{ specialeffect2 EF_SUFFRAGIUM; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -20072,7 +20072,7 @@ item_db: (
bonus bMatkRate,20;
bonus bInt,3+(getrefine()/2);
bonus bMaxHP,300+(50*getrefine()/2);
- autobonus "{ bonus bMatkRate,12; bonus bUseSPrate,20; }",1,5000,BF_MAGIC,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bMatkRate,12; bonus bUseSPrate,20; }",1,5000,BF_MAGIC,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -20100,7 +20100,7 @@ item_db: (
bonus bMatkRate,15+getrefine()/2;
bonus bInt,6;
bonus bVit,2;
- autobonus3 "{ }",20,1000,AL_HEAL,"{ specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); heal 0,200; }";
+ autobonus3 "{ }",20,1000,AL_HEAL,"{ specialeffect2 EF_MAGICALATTHIT; heal 0,200; }";
">
},
{
@@ -20842,7 +20842,7 @@ item_db: (
View: 2
Script: <"
bonus bMdef,3;
- autobonus2 "{ bonus bShortWeaponDamageReturn,(getrefine()*3); }",10,5000,BF_WEAPON,"{ specialeffect(EF_GUARD, AREA, playerattached()); }";
+ autobonus2 "{ bonus bShortWeaponDamageReturn,(getrefine()*3); }",10,5000,BF_WEAPON,"{ specialeffect2 EF_GUARD; }";
">
},
{
@@ -24194,7 +24194,7 @@ item_db: (
Script: <"
bonus bMaxHP,(BaseLevel*7);
bonus bMaxSP,(BaseLevel/2);
- autobonus2 "{ bonus bNoMagicDamage,100; }",10,2000,BF_MAGIC,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }";
+ autobonus2 "{ bonus bNoMagicDamage,100; }",10,2000,BF_MAGIC,"{ specialeffect2 EF_ENERGYCOAT; }";
if( BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte ) bonus bMdef,5;
else if( BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief ) bonus bDef,3;
">
@@ -24285,7 +24285,7 @@ item_db: (
EquipLv: 70
Script: <"
bonus bMdef,2;
- autobonus "{ bonus bBaseAtk,20; }",10,10000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,20; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -30200,7 +30200,7 @@ item_db: (
nodrop: true
nogstorage: true
}
- Script: <" autobonus "{ bonus bAspdRate,2; }",10,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus bAspdRate,2; }",10,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; ">
},
{
Id: 2781
@@ -35896,7 +35896,7 @@ item_db: (
Loc: 769
Script: <"
bonus bStr,2;
- autobonus "{ bonus bCritical,100; }",5,5000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bCritical,100; }",5,5000,0,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -35909,7 +35909,7 @@ item_db: (
Loc: 769
Script: <"
bonus bInt,2;
- autobonus "{ bonus bCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }";
+ autobonus "{ bonus bCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }";
">
},
{
@@ -35924,7 +35924,7 @@ item_db: (
bonus2 bSubSize,Size_Small,15;
bonus2 bSubSize,Size_Medium,15;
bonus2 bSubSize,Size_Large,15;
- autobonus2 "{ bonus bFlee2,30; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect(EF_WIND, AREA, playerattached()); }";
+ autobonus2 "{ bonus bFlee2,30; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_WIND; }";
">
},
{
@@ -35977,7 +35977,7 @@ item_db: (
Loc: 64
Script: <"
bonus bVit,2;
- autobonus2 "{ bonus bDef,10; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect(EF_FREEZED, AREA, playerattached()); }";
+ autobonus2 "{ bonus bDef,10; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_FREEZED; }";
">
},
{
@@ -36077,7 +36077,7 @@ item_db: (
Loc: 2
Script: <"
bonus bBaseAtk,25;
- autobonus "{ bonus bAspdRate,100; }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,100; }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -43292,7 +43292,7 @@ item_db: (
Script: <"
bonus2 bSubRace,RC_DemiPlayer,5;
bonus bDex,2;
- autobonus "{ bonus bBaseAtk,50; }",20,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,50; }",20,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -43327,7 +43327,7 @@ item_db: (
Script: <"
bonus2 bSubRace,RC_DemiPlayer,5;
bonus bVit,2;
- autobonus "{ bonus bAspdRate,5; }",20,30000,0,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,5; }",20,30000,0,"{ specialeffect2 EF_HASTEUP; }";
">
},
{
@@ -45393,8 +45393,8 @@ item_db: (
Script: <"
bonus bStr,1;
bonus bInt,1;
- autobonus "{ bonus bCritical,100; }",10,3000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
- autobonus "{ bonus bIgnoreMdefRate,100; }",10,3000,BF_MAGIC,"{ specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); }";
+ autobonus "{ bonus bCritical,100; }",10,3000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
+ autobonus "{ bonus bIgnoreMdefRate,100; }",10,3000,BF_MAGIC,"{ specialeffect2 EF_MAGICALATTHIT; }";
">
},
{
@@ -47991,7 +47991,7 @@ item_db: (
if(getrefine()>6) {
bonus bFlee,10;
bonus bAspdRate,3;
- autobonus "{ bonus bSplashRange,1; }",10,10000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bSplashRange,1; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
}
">
@@ -48153,7 +48153,7 @@ item_db: (
bonus bAspdRate,1;
if(getrefine()>6) {
bonus2 bSubEle,Ele_Earth,5;
- autobonus "{ bonus bDex,20; }",10,6000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bDex,20; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
}
">
@@ -49127,7 +49127,7 @@ item_db: (
bonus bInt,2;
bonus bAgi,2;
bonus bDex,-2;
- autobonus "{ bonus bCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }";
+ autobonus "{ bonus bCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }";
">
},
*/
@@ -51153,7 +51153,7 @@ item_db: (
noselltonpc: true
nogstorage: true
}
- Script: <" autobonus "{ sc_start SC_PROPERTYWIND, 180000, 1; }", 3, 180000, BF_WEAPON, "{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ sc_start SC_PROPERTYWIND, 180000, 1; }", 3, 180000, BF_WEAPON, "{ specialeffect2 EF_ENHANCE; }"; ">
},
{
Id: 5771
@@ -70990,7 +70990,7 @@ item_db: (
Type: 2
Weight: 10
Script: <"
- specialeffect(EF_BENEDICTIO, AREA, playerattached());
+ specialeffect2 EF_BENEDICTIO;
sc_start SC_BENEDICTIO,300000,1;
">
},
@@ -71263,7 +71263,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_ATKER_BLOOD,3600000,15;
">
},
@@ -71284,7 +71284,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_TARGET_BLOOD,3600000,10;
">
},
@@ -71864,7 +71864,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_MANU_ATK,600000,10;
">
},
@@ -71885,7 +71885,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_MANU_DEF,600000,10;
">
},
@@ -71906,7 +71906,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_SPL_ATK,600000,10;
">
},
@@ -71927,7 +71927,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_SPL_DEF,600000,10;
">
},
@@ -71977,7 +71977,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_MANU_MATK,600000,10;
">
},
@@ -71998,7 +71998,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_SPL_MATK,600000,10;
">
},
@@ -72070,7 +72070,7 @@ item_db: (
Weight: 50
BuyingStore: true
Script: <"
- specialeffect(EF_ANGELUS, AREA, playerattached());
+ specialeffect2 EF_ANGELUS;
sc_start4 SC_BUCHEDENOEL, 600000, 3, 3, 3, 7;
">
},
@@ -72359,7 +72359,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
sc_start2 SC_ACARAJE,120000,5,10;
">
},
@@ -72712,9 +72712,9 @@ item_db: (
else if (.@temp == 5) percentheal 50,50;
else if (.@temp == 6) getitem Apple,1;
else if (.@temp == 7) itemskill ALL_REVERSEORCISH,1;
- else if (.@temp == 8) specialeffect(EF_MAPPILLAR2, AREA, playerattached());
- else if (.@temp == 9) specialeffect(EF_ANGEL2, AREA, playerattached());
- else specialeffect(EF_COIN, AREA, playerattached());
+ else if (.@temp == 8) specialeffect2 EF_MAPPILLAR2;
+ else if (.@temp == 9) specialeffect2 EF_ANGEL2;
+ else specialeffect2 EF_COIN;
">
},
{
@@ -72741,9 +72741,9 @@ item_db: (
else if (.@temp == 5) percentheal 50,50;
else if (.@temp == 6) getitem Jellopy,1;
else if (.@temp == 7) itemskill AL_RUWACH,1;
- else if (.@temp == 8) specialeffect(EF_BEGINASURA, AREA, playerattached());
- else if (.@temp == 9) specialeffect(EF_MVP, AREA, playerattached());
- else specialeffect(EF_CURSEATTACK, AREA, playerattached());
+ else if (.@temp == 8) specialeffect2 EF_BEGINASURA;
+ else if (.@temp == 9) specialeffect2 EF_MVP;
+ else specialeffect2 EF_CURSEATTACK;
">
},
{
@@ -72866,7 +72866,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_ENERGYCOAT, AREA, playerattached());
+ specialeffect2 EF_ENERGYCOAT;
sc_start4 SC_ARMOR_PROPERTY, 10000, 1, Ele_Neutral, 1, 0;
">
},
@@ -74757,7 +74757,7 @@ item_db: (
Upper: 8
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_PARALYSE, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -74774,7 +74774,7 @@ item_db: (
Upper: 8
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_LEECHESEND, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -74791,7 +74791,7 @@ item_db: (
Upper: 8
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_OBLIVIONCURSE, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -74808,7 +74808,7 @@ item_db: (
Upper: 8
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_DEATHHURT, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -74825,7 +74825,7 @@ item_db: (
Upper: 8
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_TOXIN, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -74842,7 +74842,7 @@ item_db: (
Upper: 8
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_PYREXIA, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -74860,7 +74860,7 @@ item_db: (
Upper: 8
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_MAGICMUSHROOM, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -74877,7 +74877,7 @@ item_db: (
Upper: 8
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_VENOMBLEED, 15000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -75195,7 +75195,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_STR_SCROLL, 60000, 20;
">
},
@@ -75211,7 +75211,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_INT_SCROLL, 60000, 20;
">
},
@@ -75370,7 +75370,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_POK_JAP, AREA, playerattached());
+ specialeffect2 EF_POK_JAP;
itemskill MO_CALLSPIRITS,3;
itemskill MO_FINGEROFFENSIVE,5;
">
@@ -78305,7 +78305,7 @@ item_db: (
bonus bAgi,1;
bonus2 bAddRace,RC_DemiPlayer,75;
bonus bUnbreakableWeapon,0;
- autobonus "{ bonus bDefRatioAtkRace, RC_All; }",10,6000,BF_WEAPON,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }";
+ autobonus "{ bonus bDefRatioAtkRace, RC_All; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }";
if(Class==Job_Ninja||Class==Job_Rogue||Class==Job_Stalker) bonus bMatkRate,15;
">
},
@@ -78685,7 +78685,7 @@ item_db: (
View: 1
Script: <"
bonus3 bAddEffOnSkill,RG_RAID,Eff_Poison,1000;
- autobonus "{ bonus2 bAddRace, RC_All, 10; }",5,5000,BF_WEAPON|BF_SHORT,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus2 bAddRace, RC_All, 10; }",5,5000,BF_WEAPON|BF_SHORT,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -78916,7 +78916,7 @@ item_db: (
bonus bHit,-10;
bonus2 bAddRace,RC_DemiPlayer,55;
bonus2 bIgnoreDefRate,RC_DemiPlayer,20;
- autobonus "{ bonus bAspdRate,100; }",10,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,100; }",10,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -79537,7 +79537,7 @@ item_db: (
bonus bDex,2;
bonus2 bAddRace,RC_DemiPlayer,35;
bonus2 bIgnoreDefRate,RC_DemiPlayer,20;
- autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,120,1000; }",10,6000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,120,1000; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -79568,7 +79568,7 @@ item_db: (
bonus bSplashRange,1;
bonus2 bAddRace,RC_DemiPlayer,55;
bonus2 bIgnoreDefRate,RC_DemiPlayer,20;
- autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -79598,7 +79598,7 @@ item_db: (
bonus bDex,2;
bonus2 bAddRace,RC_DemiPlayer,35;
bonus2 bIgnoreDefRate,RC_DemiPlayer,20;
- autobonus "{ bonus bBaseAtk,300; bonus2 bHPLossRate,120,1000; }",30,9000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,300; bonus2 bHPLossRate,120,1000; }",30,9000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -79785,7 +79785,7 @@ item_db: (
if(getrefine()>8) {
bonus2 bSkillAtk,GS_GROUNDDRIFT,getrefine() * 2;
bonus3 bAddEffOnSkill,GS_SPREADATTACK,Eff_Stun,2000;
- autobonus "{ bonus bAspdRate,20; }",200,20000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,20; }",200,20000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
}
">
@@ -80782,7 +80782,7 @@ item_db: (
bonus bStr,2;
bonus bDex,1;
bonus2 bAddRace,RC_DemiPlayer,95;
- autobonus "{ bonus2 bSkillAtk,NJ_HUUMA,100; bonus2 bSkillAtk,NJ_ISSEN,100; }",50,10000,BF_WEAPON,"{specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus2 bSkillAtk,NJ_HUUMA,100; bonus2 bSkillAtk,NJ_ISSEN,100; }",50,10000,BF_WEAPON,"{specialeffect2 EF_POTION_BERSERK; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -81632,7 +81632,7 @@ item_db: (
WeaponLv: 3
EquipLv: 50
View: 2
- Script: <" autobonus "{ bonus2 bSkillAtk,KN_BOWLINGBASH,20; bonus2 bSkillAtk,SM_BASH,20; }",5,15000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus2 bSkillAtk,KN_BOWLINGBASH,20; bonus2 bSkillAtk,SM_BASH,20; }",5,15000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; ">
},
{
Id: 13422
@@ -93725,7 +93725,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_HEAL3, AREA, playerattached());
+ specialeffect2 EF_HEAL3;
sc_start2 SC_S_LIFEPOTION, 600000, -5, 5;
">
},
@@ -93745,7 +93745,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_HEAL3, AREA, playerattached());
+ specialeffect2 EF_HEAL3;
sc_start2 SC_L_LIFEPOTION, 600000, -7, 4;
">
},
@@ -93765,7 +93765,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_MAGICALATTHIT, AREA, playerattached());
+ specialeffect2 EF_MAGICALATTHIT;
sc_start SC_CRITICALPERCENT, 300000, 30;
">
},
@@ -93785,7 +93785,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
sc_start SC_HEALPLUS, 1800000, 20;
">
},
@@ -93806,7 +93806,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
sc_start SC_PLUSAVOIDVALUE, 60000, 20;
">
},
@@ -93826,7 +93826,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
sc_start4 SC_ARMOR_PROPERTY, 1800000, 1, Ele_Dark, 1, 0;
">
},
@@ -93846,7 +93846,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_BENEDICTIO, AREA, playerattached());
+ specialeffect2 EF_BENEDICTIO;
sc_start4 SC_ARMOR_PROPERTY, 1800000, 1, Ele_Holy, 1, 0;
">
},
@@ -93866,7 +93866,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_PROTECT_DEF, 60000, 3;
">
},
@@ -93886,7 +93886,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_PROTECT_DEF, 180000, 3;
">
},
@@ -93906,7 +93906,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_PROTECT_MDEF, 60000, 3;
">
},
@@ -93926,7 +93926,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_PROTECT_MDEF, 180000, 3;
">
},
@@ -94426,7 +94426,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_HASTEUP, AREA, playerattached());
+ specialeffect2 EF_HASTEUP;
sc_start2 SC_STEAMPACK, 60000, 20, 25;
">
},
@@ -94630,7 +94630,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
sc_start4 SC_ARMOR_PROPERTY, 60000, 1, Ele_Neutral, 1, 0;
">
},
@@ -94665,7 +94665,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_TARGET_ASPD,1800000,10;
">
},
@@ -94703,7 +94703,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
sc_start4 SC_MVPCARD_TAOGUNKA, 180000, 100, 50, 50, 0;
">
},
@@ -94723,7 +94723,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_MVPCARD_MISTRESS, 180000, 25;
">
},
@@ -94760,7 +94760,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
sc_start SC_MVPCARD_ORCLORD, 180000, 30;
">
},
@@ -95928,7 +95928,7 @@ item_db: (
Loc: 256
EquipLv: 50
View: 757
- Script: <" autobonus "{ bonus bBaseAtk,100; }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus bBaseAtk,100; }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; ">
},
{
Id: 18596
diff --git a/db/re/item_combo_db.txt b/db/re/item_combo_db.txt
index 33dbe499e..20c6e5168 100644
--- a/db/re/item_combo_db.txt
+++ b/db/re/item_combo_db.txt
@@ -47,7 +47,7 @@
1616:2515,{ bonus bSpeedRate,25; }
1618:2509,{ bonus bMaxHP,300; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R)-5; if(getequiprefinerycnt(EQI_GARMENT) > 10) { bonus2 bSubEle,Ele_Neutral,30; } else { bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_GARMENT)*3; } }
1618:2535,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; }
-1618:19020,{ bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*10; if (getequiprefinerycnt(EQI_HAND_R)>=10) autobonus "{ bonus bVariableCastrate,-50; }",50,5000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }"; }
+1618:19020,{ bonus bMatk,getequiprefinerycnt(EQI_HAND_R)*10; if (getequiprefinerycnt(EQI_HAND_R)>=10) autobonus "{ bonus bVariableCastrate,-50; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }"; }
1620:2509,{ bonus bMaxHP,300; bonus bMatkRate,getequiprefinerycnt(EQI_HAND_R)-5; if(getequiprefinerycnt(EQI_GARMENT) > 10) { bonus2 bSubEle,Ele_Neutral,30; } else { bonus2 bSubEle,Ele_Neutral,getequiprefinerycnt(EQI_GARMENT)*3; } }
1620:2535,{ bonus bMatkRate,5; bonus2 bSubEle,Ele_Neutral,25; }
1625:18542,{ bonus bHealPower,getequiprefinerycnt(EQI_HAND_R); }
@@ -94,7 +94,7 @@
2123:2881,{ bonus bMatk,getrefine()*2; }
2124:2702,{ bonus bAspdRate,10; bonus bShortWeaponDamageReturn,5; }
2125:5782,{ bonus bDef,2; }
-2135:2426,{ bonus2 bAddEff,Eff_Blind,500; autobonus "{ bonus bFlee,20; }",200,10000,BF_WEAPON,"{ specialeffect(EF_INCAGILITY, AREA, playerattached()); }"; }
+2135:2426,{ bonus2 bAddEff,Eff_Blind,500; autobonus "{ bonus bFlee,20; }",200,10000,BF_WEAPON,"{ specialeffect2 EF_INCAGILITY; }"; }
2137:2353:5124,{ bonus bDef,2-getequiprefinerycnt(EQI_HAND_L)-getequiprefinerycnt(EQI_HEAD_TOP); bonus bMdef,5+getequiprefinerycnt(EQI_HAND_L)+getequiprefinerycnt(EQI_HEAD_TOP); }
2153:28372,{ if(getequiprefinerycnt(EQI_HAND_L)>5) { bonus2 bSkillAtk,LG_SHIELDPRESS,(getequiprefinerycnt(EQI_HAND_L)*8)-40; } }
2157:2905,{ bonus2 bAddRaceTolerance,RC_Insect,10; if (getequiprefinerycnt(EQI_HAND_L)>7) { bonus2 bMagicAddRace,RC_Insect,4; bonus2 bAddRaceTolerance,RC_Insect,20; } }
@@ -136,11 +136,11 @@
2371:2523,{ bonus bAgi,5; bonus bFlee,10; }
2374:2729,{ bonus2 bAddRace, RC_All, 3; bonus bMatkRate,3; }
2375:2729,{ bonus2 bAddRace, RC_All, 3; bonus bMatkRate,3; }
-2376:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bVit,3; bonus bMaxHPrate,12; bonus bHealPower2,10; bonus bAddItemHealRate,10; autobonus2 "{ bonus2 bHPRegenRate,600,1000; }",5,10000,BF_WEAPON,"{ specialeffect(EF_HEAL, AREA, playerattached()); }"; }
+2376:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bVit,3; bonus bMaxHPrate,12; bonus bHealPower2,10; bonus bAddItemHealRate,10; autobonus2 "{ bonus2 bHPRegenRate,600,1000; }",5,10000,BF_WEAPON,"{ specialeffect2 EF_HEAL; }"; }
2377:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bStr,3; bonus bMaxHPrate,12; bonus2 bSkillAtk,MC_MAMMONITE,20; bonus2 bSkillHeal,AM_POTIONPITCHER,10; bonus2 bSkillHeal2,AM_POTIONPITCHER,10; bonus2 bSkillHeal2,AL_HEAL,10; bonus bUnbreakableArmor,0; }
-2378:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bAgi,3; bonus bMaxHPrate,12; bonus bCritical,5; bonus bAspdRate,5; autobonus "{ bonus2 bHPRegenRate,300,1000; }",10,10000,BF_WEAPON,"{ specialeffect(EF_HEAL, AREA, playerattached()); }"; }
-2379:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bResEff,Eff_Stun,2000; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }"; }
-2380:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bVariableCastrate,AL_HOLYLIGHT,-50; bonus bHealPower,6; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }"; }
+2378:2435:2538,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bAgi,3; bonus bMaxHPrate,12; bonus bCritical,5; bonus bAspdRate,5; autobonus "{ bonus2 bHPRegenRate,300,1000; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_HEAL; }"; }
+2379:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bResEff,Eff_Stun,2000; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect2 EF_ENERGYCOAT; }"; }
+2380:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bInt,3; bonus bMaxHPrate,12; bonus2 bVariableCastrate,AL_HOLYLIGHT,-50; bonus bHealPower,6; autobonus2 "{ bonus bDefEle,Ele_Ghost; }",30,10000,BF_WEAPON,"{ specialeffect2 EF_ENERGYCOAT; }"; }
2381:2436:2539,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bDex,3; bonus bMaxHPrate,12; bonus bLongAtkDef,10; bonus bDelayrate,-25; }
2382:2437:2540,{ bonus2 bSubRace,RC_NonDemiPlayer,-300; bonus bDex,3; bonus bMaxHPrate,12; bonus bLongAtkDef,10; bonus bDelayrate,-25; }
2387:2440:2744,{ bonus bMaxHPrate,7; bonus bMaxSPrate,7; bonus bVariableCastrate,-3; bonus bDelayrate,-15; }
@@ -160,7 +160,7 @@
2472:2570:15030:16013,{ bonus2 bAddRace,RC_Undead,15; bonus2 bMagicAddRace,RC_Undead,15; bonus2 bSkillAtk,AB_ADORAMUS,100; }
2472:2570:15030:16018,{ bonus2 bAddRace,RC_Undead,30; bonus2 bMagicAddRace,RC_Undead,30; bonus2 bSkillAtk,AB_ADORAMUS,200; bonus bVariableCastrate,-50; }
2475:2574:2883:15036,{ bonus bMaxHPrate,14; bonus2 bSkillAtk,RK_HUNDREDSPEAR,50; skill CR_AUTOGUARD,1; bonus bUseSPrate,10; bonus2 bSubEle,Ele_Neutral,10; }
-2476:2575:2884:15037,{ bonus2 bAddRace, RC_All, 10; bonus2 bSkillAtk,RK_SONICWAVE,100; bonus2 bSkillAtk,RK_WINDCUTTER,100; bonus3 bAutoSpell,RK_STORMBLAST,1,20; autobonus3 "{ bonus bAspd,2; }",1000,10000,LK_CONCENTRATION,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; }
+2476:2575:2884:15037,{ bonus2 bAddRace, RC_All, 10; bonus2 bSkillAtk,RK_SONICWAVE,100; bonus2 bSkillAtk,RK_WINDCUTTER,100; bonus3 bAutoSpell,RK_STORMBLAST,1,20; autobonus3 "{ bonus bAspd,2; }",1000,10000,LK_CONCENTRATION,"{ specialeffect2 EF_ENHANCE; }"; }
2477:2577:2886:15038,{ bonus bCritical,15; bonus bFlee,10; bonus bCritAtkRate,40; bonus2 bSkillAtk,GC_CROSSIMPACT,20; bonus bUseSPrate,10; }
2478:2578:2887:15039,{ bonus2 bAddRace, RC_All, 10; bonus bMatkRate,10; if(readparam(bStr)>119) { bonus bBaseAtk,30; } bonus3 bAutoSpell,ASC_BREAKER,getskilllv(ASC_BREAKER),10; bonus bCritical,-20; }
2479:2580:2890:15042,{ bonus bAspd,2; bonus bLongAtkRate,30; bonus3 bAutoSpell,AC_DOUBLE,3,10; bonus2 bSkillAtk,RA_ARROWSTORM,50; }
@@ -290,8 +290,8 @@
5932:1737,{ if (Class == Job_Ranger || Class == Job_Ranger_T) skill HT_BLITZBEAT,5*getequiprefinerycnt(EQI_HAND_R); }
//5967:28321,{ skill HT_BLITZBEAT,-200; }
13027:15044,{ bonus3 bAddMonsterDropItem,929,RC_Brute,100+(getequiprefinerycnt(EQI_HAND_R)*10); bonus3 bAddMonsterDropItem,929,RC_DemiPlayer,100+(getequiprefinerycnt(EQI_HAND_R)*10); bonus3 bAddMonsterDropItem,970,RC_Brute,20+(getequiprefinerycnt(EQI_HAND_R)*2); bonus3 bAddMonsterDropItem,970,RC_DemiPlayer,20+(getequiprefinerycnt(EQI_HAND_R)*2); }
-13034:13035,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; }
-13035:28704,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; }
+13034:13035,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; }
+13035:28704,{ bonus bMaxSP,20; bonus bMaxHPrate,5; bonus bHit,10; bonus2 bAddSize,Size_Large,30; autobonus "{ bonus bAspdRate,100; }",1,7000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }"; }
15041:18659,{ bonus2 bAddEle,Ele_Earth,10; bonus bDefEle,Ele_Fire; }
15061:19026,{ bonus2 bAddRaceTolerance,RC_Fish,10+getequiprefinerycnt(EQI_ARMOR); }
15128:20773,{ bonus bDelayrate,-10; bonus bFlee2,6; if(BaseLevel>130) { bonus bDelayrate,-10;} }
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 22ef1a6cf..f10e29289 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -6232,7 +6232,7 @@ item_db: (
Script: <"
bonus bFlee2,10;
if((JobLevel >= 70 && Class == Job_Rune_Knight_T) || (JobLevel >= 50 && Class == Job_Rune_Knight)) {
- autobonus "{ bonus bBaseAtk,50; }",10,10000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,50; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
}
if(getrefine()>8) {
bonus bUseSPrate,-20;
@@ -6262,7 +6262,7 @@ item_db: (
View: 3
Script: <"
bonus bAtkEle,Ele_Ghost;
- autobonus "{ bonus bCritical,100; bonus bBaseAtk,50; }",1,5000,0,"{ specialeffect(EF_FIRESPLASHHIT, AREA, playerattached()); }";
+ autobonus "{ bonus bCritical,100; bonus bBaseAtk,50; }",1,5000,0,"{ specialeffect2 EF_FIRESPLASHHIT; }";
bonus bHPGainValue,100;
">
},
@@ -9133,7 +9133,7 @@ item_db: (
bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2));
bonus2 bIgnoreDefRate,RC_DemiPlayer,5;
}
- if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -9168,7 +9168,7 @@ item_db: (
bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2));
bonus2 bCriticalAddRace,RC_DemiPlayer,5;
}
- if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ if(getrefine()>8) autobonus "{ bonus bAspdRate,100; }",70,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -10958,7 +10958,7 @@ item_db: (
Script: <"
bonus bStr,3;
bonus2 bAddRace,RC_DemiPlayer,55;
- autobonus "{ bonus bBreakArmorRate,10000; }",20,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bBreakArmorRate,10000; }",20,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -13620,7 +13620,7 @@ item_db: (
bonus2 bSkillAtk,KN_SPEARBOOMERANG,50;
}
if(getrefine()>=9) {
- autobonus2 "{ bonus bShortWeaponDamageReturn,20; bonus bMagicDamageReturn,20; }",100,2000,BF_WEAPON|BF_MAGIC,"{ specialeffect(EF_REFLECTSHIELD, AREA, playerattached()); }";
+ autobonus2 "{ bonus bShortWeaponDamageReturn,20; bonus bMagicDamageReturn,20; }",100,2000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_REFLECTSHIELD; }";
}
">
},
@@ -14524,7 +14524,7 @@ item_db: (
bonus bStr,20;
bonus bAspdRate,10;
bonus3 bAutoSpell,MG_THUNDERSTORM,10,100;
- autobonus "{ bonus bSplashRange,1; }",50,10000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bSplashRange,1; }",50,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -14832,7 +14832,7 @@ item_db: (
bonus2 bAddRace,RC_Undead,10;
bonus2 bAddRace,RC_Demon,10;
bonus3 bAutoSpell,AL_CRUCIS,1+getrefine(),100;
- autobonus "{ bonus bBaseAtk,50; }",10,20000,BF_WEAPON,"{ specialeffect(EF_BLOODDRAIN, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,50; }",10,20000,BF_WEAPON,"{ specialeffect2 EF_BLOODDRAIN; }";
">
},
{
@@ -14914,7 +14914,7 @@ item_db: (
bonus bDex,1;
bonus2 bAddRace,RC_DemiPlayer,75;
bonus bUnbreakableWeapon,0;
- autobonus "{ bonus2 bAddEff,Eff_Stun,5000; }",10,6000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus2 bAddEff,Eff_Stun,5000; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -15773,7 +15773,7 @@ item_db: (
bonus2 bAddRace,RC_DemiPlayer,((min(getrefine(),14)-4) ** (2));
bonus2 bIgnoreDefRate,RC_DemiPlayer,5;
}
- if(getrefine()>8) autobonus "{ bonus bBaseAtk,200; }",30,3000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }";
+ if(getrefine()>8) autobonus "{ bonus bBaseAtk,200; }",30,3000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
">
},
{
@@ -16096,7 +16096,7 @@ item_db: (
Script: <"
bonus2 bAddRace,RC_Player,80+getrefine();
bonus2 bIgnoreDefRate,RC_Player,30;
- autobonus "{ bonus bBaseAtk,200; }",10,3000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,200; }",10,3000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -17134,7 +17134,7 @@ item_db: (
Script: <"
bonus bInt,3;
bonus bHealPower,5;
- autobonus "{ bonus2 bSPRegenRate,100,2000; bonus2 bHPRegenRate,50,2000; }",10,10000,BF_MAGIC,"{ specialeffect(EF_HEAL, AREA, playerattached()); }";
+ autobonus "{ bonus2 bSPRegenRate,100,2000; bonus2 bHPRegenRate,50,2000; }",10,10000,BF_MAGIC,"{ specialeffect2 EF_HEAL; }";
">
},
{
@@ -19664,7 +19664,7 @@ item_db: (
EquipLv: 70
View: 11
Script: <"
- autobonus "{ bonus bAspdRate,7; }",10+(getrefine()*2),7000,BF_WEAPON,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,7; }",10+(getrefine()*2),7000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }";
bonus2 bAddSkillBlow,AC_CHARGEARROW,3;
">
},
@@ -21103,7 +21103,7 @@ item_db: (
bonus bInt,1;
bonus2 bAddRace,RC_DemiPlayer,95;
bonus2 bVariableCastrate,MO_EXTREMITYFIST,-25;
- autobonus "{ bonus2 bVariableCastrate,MO_EXTREMITYFIST,-100; }",50,6000,BF_WEAPON,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }";
+ autobonus "{ bonus2 bVariableCastrate,MO_EXTREMITYFIST,-100; }",50,6000,BF_WEAPON,"{ specialeffect2 EF_SUFFRAGIUM; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -23671,7 +23671,7 @@ item_db: (
Script: <"
bonus bInt,3+(getrefine()/2);
bonus bMaxHP,300+(50*getrefine()/2);
- autobonus "{ bonus bMatkRate,12; bonus bUseSPrate,20; }",1,5000,BF_MAGIC,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bMatkRate,12; bonus bUseSPrate,20; }",1,5000,BF_MAGIC,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -23700,7 +23700,7 @@ item_db: (
bonus bMatkRate,getrefine()/2;
bonus bInt,6;
bonus bVit,2;
- autobonus3 "{ }",20,1000,AL_HEAL,"{ specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); heal 0,200; }";
+ autobonus3 "{ }",20,1000,AL_HEAL,"{ specialeffect2 EF_MAGICALATTHIT; heal 0,200; }";
">
},
{
@@ -24884,7 +24884,7 @@ item_db: (
Script: <"
bonus bMdef,2;
bonus bMagicDamageReturn,2;
- autobonus2 "{ bonus bShortWeaponDamageReturn,5; }",20,1000,BF_WEAPON,"{ specialeffect(EF_REFLECTSHIELD, AREA, playerattached()); }";
+ autobonus2 "{ bonus bShortWeaponDamageReturn,5; }",20,1000,BF_WEAPON,"{ specialeffect2 EF_REFLECTSHIELD; }";
">
},
{
@@ -25083,7 +25083,7 @@ item_db: (
View: 2
Script: <"
bonus bMdef,3;
- autobonus2 "{ bonus bShortWeaponDamageReturn,(getrefine()*3); }",10,5000,BF_WEAPON,"{ specialeffect(EF_GUARD, AREA, playerattached()); }";
+ autobonus2 "{ bonus bShortWeaponDamageReturn,(getrefine()*3); }",10,5000,BF_WEAPON,"{ specialeffect2 EF_GUARD; }";
">
},
{
@@ -25809,7 +25809,7 @@ item_db: (
Loc: 32
EquipLv: 100
View: 1
- Script: <" autobonus "{ bonus bBaseAtk,100; bonus bFlee,-50; }",10,5000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus bBaseAtk,100; bonus bFlee,-50; }",10,5000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; ">
},
{
Id: 2173
@@ -29548,7 +29548,7 @@ item_db: (
Script: <"
bonus bMaxHP,(BaseLevel*7);
bonus bMaxSP,(BaseLevel/2);
- autobonus2 "{ bonus bNoMagicDamage,100; }",10,2000,BF_MAGIC,"{ specialeffect(EF_ENERGYCOAT, AREA, playerattached()); }";
+ autobonus2 "{ bonus bNoMagicDamage,100; }",10,2000,BF_MAGIC,"{ specialeffect2 EF_ENERGYCOAT; }";
if( BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte ) bonus bMdef,5;
else if( BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief ) bonus bDef,3;
">
@@ -29633,7 +29633,7 @@ item_db: (
Loc: 16
Script: <"
bonus bMdef,2;
- autobonus "{ bonus bBaseAtk,20; }",10,10000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,20; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -33922,7 +33922,7 @@ item_db: (
Script: <"
bonus bAgi,2;
bonus bFlee,10;
- autobonus2 "{ bonus bFlee,20; }",10,7000,BF_LONG,"{ specialeffect(EF_WIND, AREA, playerattached()); }";
+ autobonus2 "{ bonus bFlee,20; }",10,7000,BF_LONG,"{ specialeffect2 EF_WIND; }";
">
},
{
@@ -37898,7 +37898,7 @@ item_db: (
Trade: {
nodrop: true
}
- Script: <" autobonus "{ bonus bAspdRate,2; }",10,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus bAspdRate,2; }",10,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; ">
},
{
Id: 2781
@@ -38972,7 +38972,7 @@ item_db: (
Trade: {
nodrop: true
}
- Script: <" autobonus "{ bonus bMaxHPrate,10; }",10,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus bMaxHPrate,10; }",10,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; ">
},
{
Id: 2828
@@ -46163,7 +46163,7 @@ item_db: (
Loc: 769
Script: <"
bonus bStr,2;
- autobonus "{ bonus bCritical,100; }",5,5000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bCritical,100; }",5,5000,0,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -46176,7 +46176,7 @@ item_db: (
Loc: 769
Script: <"
bonus bInt,2;
- autobonus "{ bonus bVariableCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }";
+ autobonus "{ bonus bVariableCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }";
">
},
{
@@ -46191,7 +46191,7 @@ item_db: (
bonus2 bSubSize,Size_Small,15;
bonus2 bSubSize,Size_Medium,15;
bonus2 bSubSize,Size_Large,15;
- autobonus2 "{ bonus bFlee2,30; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect(EF_WIND, AREA, playerattached()); }";
+ autobonus2 "{ bonus bFlee2,30; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_WIND; }";
">
},
{
@@ -46244,7 +46244,7 @@ item_db: (
Loc: 64
Script: <"
bonus bVit,2;
- autobonus2 "{ bonus bDef,10; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect(EF_FREEZED, AREA, playerattached()); }";
+ autobonus2 "{ bonus bDef,10; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_FREEZED; }";
">
},
{
@@ -46344,7 +46344,7 @@ item_db: (
Loc: 2
Script: <"
bonus bBaseAtk,25;
- autobonus "{ bonus bAspdRate,100; }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,100; }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -46797,7 +46797,7 @@ item_db: (
Loc: 769
Script: <"
bonus bBaseAtk,10;
- autobonus "{ bonus bFlee2,10; }",10,10000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bFlee2,10; }",10,10000,0,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -46810,7 +46810,7 @@ item_db: (
Loc: 769
Script: <"
bonus bMatk,10;
- autobonus "{ bonus bFixedCastrate,-50; }",5,4000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }";
+ autobonus "{ bonus bFixedCastrate,-50; }",5,4000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }";
">
},
{
@@ -46837,7 +46837,7 @@ item_db: (
Script: <"
bonus bDex,1;
bonus bAgi,1;
- autobonus "{ bonus bCritical,20; }",15,4000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bCritical,20; }",15,4000,0,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -47786,7 +47786,7 @@ item_db: (
Loc: 2
Script: <"
bonus bBaseAtk,((getrefine()>14)?25:15);
- autobonus "{ bonus bAspdRate,((getrefine()>14)?75:50); }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,((getrefine()>14)?75:50); }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -48452,7 +48452,7 @@ item_db: (
Weight: 10
Loc: 64
Script: <"
- autobonus "{ sc_start SC_MOVHASTE_HORSE, 3000, 25; bonus bAgi, 44; heal 0, -40; }", 3, 3000, 0, "{ specialeffect(EF_WIND, AREA, playerattached()); }";
+ autobonus "{ sc_start SC_MOVHASTE_HORSE, 3000, 25; bonus bAgi, 44; heal 0, -40; }", 3, 3000, 0, "{ specialeffect2 EF_WIND; }";
">
},
{
@@ -51556,7 +51556,7 @@ item_db: (
Name: "Strength of Bear"
Type: 6
Loc: 1023
- Script: <" autobonus2 "{ bonus bStr, 200; bonus2 bHPLossRate, 500, 1000; montransform BIGFOOT, 5000; }", 20, 5000, BF_WEAPON, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); showscript \"?!!!!\"; }"; ">
+ Script: <" autobonus2 "{ bonus bStr, 200; bonus2 bHPLossRate, 500, 1000; montransform BIGFOOT, 5000; }", 20, 5000, BF_WEAPON, "{ specialeffect2 EF_POTION_BERSERK; showscript \"?!!!!\"; }"; ">
OnUnequipScript: <" heal 0, -300; ">
},
{
@@ -51565,7 +51565,7 @@ item_db: (
Name: "Runaway Magic"
Type: 6
Loc: 1023
- Script: <" autobonus "{ bonus bInt, 200; bonus2 bSPLossRate, 200, 1000; }", 15, 10000, BF_MAGIC, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); showscript \"YOooooooo!!!!!\"; }"; ">
+ Script: <" autobonus "{ bonus bInt, 200; bonus2 bSPLossRate, 200, 1000; }", 15, 10000, BF_MAGIC, "{ specialeffect2 EF_POTION_BERSERK; showscript \"YOooooooo!!!!!\"; }"; ">
OnUnequipScript: <" heal 0, -2000; ">
},
{
@@ -51574,7 +51574,7 @@ item_db: (
Name: "Speed Of Light"
Type: 6
Loc: 1023
- Script: <" autobonus "{ bonus bAspdRate, 100; bonus bFlee2, 100; bonus2 bHPLossRate, 400, 1000; bonus2 bSPLossRate, 40, 1000; }", 10, 5000, BF_WEAPON, "{ specialeffect(EF_FLASHER, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus bAspdRate, 100; bonus bFlee2, 100; bonus2 bHPLossRate, 400, 1000; bonus2 bSPLossRate, 40, 1000; }", 10, 5000, BF_WEAPON, "{ specialeffect2 EF_FLASHER; }"; ">
OnUnequipScript: <" heal 0, -300; ">
},
{
@@ -51583,7 +51583,7 @@ item_db: (
Name: "Muscle Fool"
Type: 6
Loc: 1023
- Script: <" autobonus2 "{ bonus bDef, 1000; bonus bMatkRate, -50; bonus bAtkRate, -50; }", 20, 5000, BF_WEAPON, "{ specialeffect(EF_MAGNUMBREAK, AREA, playerattached()); }"; ">
+ Script: <" autobonus2 "{ bonus bDef, 1000; bonus bMatkRate, -50; bonus bAtkRate, -50; }", 20, 5000, BF_WEAPON, "{ specialeffect2 EF_MAGNUMBREAK; }"; ">
OnUnequipScript: <" heal 0, -300; ">
},
{
@@ -51592,7 +51592,7 @@ item_db: (
Name: "Hawkeye"
Type: 6
Loc: 1023
- Script: <" autobonus "{ bonus bDex, 200; bonus2 bSPLossRate, 50, 1000; }", 30, 5000, BF_WEAPON, "{ specialeffect(EF_FLASHER, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus bDex, 200; bonus2 bSPLossRate, 50, 1000; }", 30, 5000, BF_WEAPON, "{ specialeffect2 EF_FLASHER; }"; ">
OnUnequipScript: <" heal 0, -300; ">
},
{
@@ -51602,8 +51602,8 @@ item_db: (
Type: 6
Loc: 1023
Script: <"
- autobonus "{ bonus2 bAddMonsterDropItem, Treasure_Box, 10; bonus bLuk, 200; }", 15, 5000, BF_WEAPON | BF_MAGIC, "{ specialeffect(EF_MVP, AREA, playerattached()); }";
- autobonus2 "{ bonus2 bAddMonsterDropItem, Treasure_Box, 1; bonus bLuk, 200; }", 1, 5000, BF_WEAPON | BF_MAGIC, "{ specialeffect(EF_MVP, AREA, playerattached()); }";
+ autobonus "{ bonus2 bAddMonsterDropItem, Treasure_Box, 10; bonus bLuk, 200; }", 15, 5000, BF_WEAPON | BF_MAGIC, "{ specialeffect2 EF_MVP; }";
+ autobonus2 "{ bonus2 bAddMonsterDropItem, Treasure_Box, 1; bonus bLuk, 200; }", 1, 5000, BF_WEAPON | BF_MAGIC, "{ specialeffect2 EF_MVP; }";
">
OnUnequipScript: <" heal 0, -300; ">
},
@@ -58617,7 +58617,7 @@ item_db: (
View: 356
Script: <"
bonus2 bAddRaceTolerance,RC_DemiPlayer,5;
- autobonus "{ bonus bBaseAtk,50; }",20,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,50; }",20,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -58652,7 +58652,7 @@ item_db: (
View: 358
Script: <"
bonus2 bAddRaceTolerance,RC_DemiPlayer,5;
- autobonus "{ bonus bAspdRate,5; }",20,30000,0,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,5; }",20,30000,0,"{ specialeffect2 EF_HASTEUP; }";
">
},
{
@@ -60608,8 +60608,8 @@ item_db: (
Script: <"
bonus bStr,1;
bonus bInt,1;
- autobonus "{ bonus bCritical,100; }",10,3000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
- autobonus "{ bonus bIgnoreMdefRate,100; }",10,3000,BF_MAGIC,"{ specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); }";
+ autobonus "{ bonus bCritical,100; }",10,3000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
+ autobonus "{ bonus bIgnoreMdefRate,100; }",10,3000,BF_MAGIC,"{ specialeffect2 EF_MAGICALATTHIT; }";
">
},
{
@@ -62970,7 +62970,7 @@ item_db: (
if(getrefine()>6) {
bonus bFlee,10;
bonus bAspdRate,3;
- autobonus "{ bonus bSplashRange,1; }",10,10000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bSplashRange,1; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
}
">
},
@@ -63166,7 +63166,7 @@ item_db: (
bonus bAspdRate,1;
if(getrefine()>6) {
bonus2 bSubEle,Ele_Earth,5;
- autobonus "{ bonus bDex,20; }",10,6000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bDex,20; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
}
">
},
@@ -64081,7 +64081,7 @@ item_db: (
bonus bInt,2;
bonus bAgi,2;
bonus bDex,-2;
- autobonus "{ bonus bVariableCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }";
+ autobonus "{ bonus bVariableCastrate,-50; bonus bFlee,30; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }";
">
},
{
@@ -64265,7 +64265,7 @@ item_db: (
Script: <"
bonus2 bAddRaceTolerance,RC_Demon,10;
bonus2 bAddRaceTolerance,RC_Undead,10;
- if(getrefine()>=7) autobonus "{ bonus bCritical,30; bonus bHit,10; }",10,10000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ if(getrefine()>=7) autobonus "{ bonus bCritical,30; bonus bHit,10; }",10,10000,0,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -65333,7 +65333,7 @@ item_db: (
if(getrefine()>6) bonus bAspdRate,2;
if(getrefine()>7) bonus bAgi,2;
if(getrefine()>8) bonus bLongAtkRate,5;
- if(getrefine()>9) autobonus2 "{ bonus bDex,10; bonus bAgi,10; }",3,10000,BF_WEAPON,"{ specialeffect(EF_WIND, AREA, playerattached()); }";
+ if(getrefine()>9) autobonus2 "{ bonus bDex,10; bonus bAgi,10; }",3,10000,BF_WEAPON,"{ specialeffect2 EF_WIND; }";
">
},
{
@@ -66079,7 +66079,7 @@ item_db: (
Slots: 1
Loc: 256
View: 349
- Script: <" autobonus "{ sc_start SC_PROPERTYWIND,180000,1; }",3,180000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ sc_start SC_PROPERTYWIND,180000,1; }",3,180000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; ">
},
{
Id: 5771
@@ -84700,7 +84700,7 @@ item_db: (
showscript "Yeeyuck...!! This is rotten!!";
sc_start SC_POISON, 50000, 0;
} else {
- specialeffect(EF_HIT4, AREA, playerattached());
+ specialeffect2 EF_HIT4;
showscript "Arrrrrgggg...!! Bu, Bu, Bugggggg!!!!!";
getitem Rice_weevil_Bug, 1;
}
@@ -84715,27 +84715,27 @@ item_db: (
Script: <"
.@temp = rand(1,6);
if (.@temp == 1) {
- specialeffect(EF_POISONHIT, AREA, playerattached());
+ specialeffect2 EF_POISONHIT;
showscript "Errrgg!!! This is so.. bitter....!!";
heal 0,-50;
} else if (.@temp == 2) {
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
showscript "....Well at least this is good for my health though.";
percentheal 15,0;
} else if (.@temp == 3) {
- specialeffect(EF_POISONHIT, AREA, playerattached());
+ specialeffect2 EF_POISONHIT;
showscript "Phewphew!! Arg.... Is this poisoned or what?!";
heal 0,-100;
} else if (.@temp == 4) {
- specialeffect(EF_POISONHIT, AREA, playerattached());
+ specialeffect2 EF_POISONHIT;
showscript "Whasdfhwkljhrtklwert....!!";
heal 0,-200;
} else if (.@temp == 5) {
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
showscript "It's ok, no one sew me yet..";
percentheal 10,0;
} else {
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
showscript "I really need something to eat... ?? Sorry, little buggy.";
percentheal 5,0;
}
@@ -84949,7 +84949,7 @@ item_db: (
Weight: 30
Script: <"
itemheal rand(45,65), 0;
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Bloody Murderer Fo-rm!!";
montransform BLOODY_MURDERER, 600000, SC_MTF_MHP, 1000;
">
@@ -84962,7 +84962,7 @@ item_db: (
Weight: 30
Script: <"
itemheal rand(45,65), 0;
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!!! Bathory Fo-rm!!";
montransform BATHORY, 600000, SC_MTF_MSP, 100;
">
@@ -84975,7 +84975,7 @@ item_db: (
Weight: 30
Script: <"
itemheal rand(45,65),0;
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Jack Fo-rm!!";
montransform JAKK, 600000, SC_MTF_PUMPKIN, 2000;
">
@@ -84988,7 +84988,7 @@ item_db: (
Weight: 30
Script: <"
itemheal rand(45,65),0;
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Cube Fo-rm!!";
montransform QUVE, 600000, SC_MTF_HITFLEE, 10, 20;
">
@@ -85126,7 +85126,7 @@ item_db: (
Type: 0
Weight: 10
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_TARGET_ASPD, 180000, 10;
">
},
@@ -85137,7 +85137,7 @@ item_db: (
Type: 0
Weight: 10
Script: <"
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
sc_start SC_HEALPLUS, 180000, 20;
">
},
@@ -85148,7 +85148,7 @@ item_db: (
Type: 0
Weight: 140
Script: <"
- specialeffect(EF_HEAL3, AREA, playerattached());
+ specialeffect2 EF_HEAL3;
sc_start2 SC_ATKER_MOVESPEED, 180000, 5, 10;
">
},
@@ -85159,7 +85159,7 @@ item_db: (
Type: 0
Weight: 60
Script: <"
- specialeffect(EF_HEAL3, AREA, playerattached());
+ specialeffect2 EF_HEAL3;
sc_start2 SC_M_LIFEPOTION, 180000, -4, 4;
">
},
@@ -88808,7 +88808,7 @@ item_db: (
Type: 2
Weight: 10
Script: <"
- specialeffect(EF_BENEDICTIO, AREA, playerattached());
+ specialeffect2 EF_BENEDICTIO;
sc_start SC_BENEDICTIO,300000,1;
">
},
@@ -89081,7 +89081,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_ATKER_BLOOD, 3600000, 15;
">
},
@@ -89102,7 +89102,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_TARGET_BLOOD, 3600000, 10;
">
},
@@ -89711,7 +89711,7 @@ item_db: (
Weight: 50
BuyingStore: true
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_MANU_ATK,600000,10;
">
},
@@ -89723,7 +89723,7 @@ item_db: (
Weight: 50
BuyingStore: true
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_MANU_DEF,600000,10;
">
},
@@ -89735,7 +89735,7 @@ item_db: (
Weight: 50
BuyingStore: true
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_SPL_ATK,600000,10;
">
},
@@ -89747,7 +89747,7 @@ item_db: (
Weight: 50
BuyingStore: true
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_SPL_DEF,600000,10;
">
},
@@ -89779,7 +89779,7 @@ item_db: (
Weight: 50
BuyingStore: true
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_MANU_MATK,600000,10;
">
},
@@ -89791,7 +89791,7 @@ item_db: (
Weight: 50
BuyingStore: true
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_SPL_MATK,600000,10;
">
},
@@ -89849,7 +89849,7 @@ item_db: (
Weight: 50
BuyingStore: true
Script: <"
- specialeffect(EF_ANGELUS, AREA, playerattached());
+ specialeffect2 EF_ANGELUS;
sc_start4 SC_BUCHEDENOEL, 600000, 3, 3, 3, 7;
">
},
@@ -90128,7 +90128,7 @@ item_db: (
Type: 2
Weight: 80
Script: <"
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
sc_start2 SC_ACARAJE,120000,5,10;
">
},
@@ -90471,9 +90471,9 @@ item_db: (
else if (.@temp == 5) percentheal 50,50;
else if (.@temp == 6) getitem Apple,1;
else if (.@temp == 7) itemskill ALL_REVERSEORCISH,1;
- else if (.@temp == 8) specialeffect(EF_MAPPILLAR2, AREA, playerattached());
- else if (.@temp == 9) specialeffect(EF_ANGEL2, AREA, playerattached());
- else specialeffect(EF_COIN, AREA, playerattached());
+ else if (.@temp == 8) specialeffect2 EF_MAPPILLAR2;
+ else if (.@temp == 9) specialeffect2 EF_ANGEL2;
+ else specialeffect2 EF_COIN;
">
},
{
@@ -90495,9 +90495,9 @@ item_db: (
else if (.@temp == 5) percentheal 50,50;
else if (.@temp == 6) getitem Jellopy,1;
else if (.@temp == 7) itemskill AL_RUWACH,1;
- else if (.@temp == 8) specialeffect(EF_BEGINASURA, AREA, playerattached());
- else if (.@temp == 9) specialeffect(EF_MVP, AREA, playerattached());
- else specialeffect(EF_CURSEATTACK, AREA, playerattached());
+ else if (.@temp == 8) specialeffect2 EF_BEGINASURA;
+ else if (.@temp == 9) specialeffect2 EF_MVP;
+ else specialeffect2 EF_CURSEATTACK;
">
},
{
@@ -90630,7 +90630,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_ENERGYCOAT, AREA, playerattached());
+ specialeffect2 EF_ENERGYCOAT;
sc_start4 SC_ARMOR_PROPERTY, 10000, 1, Ele_Neutral, 1, 0;
">
},
@@ -92508,7 +92508,7 @@ item_db: (
BuyingStore: true
Script: <"
itemheal 0, rand(50,65);
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_MORA_BUFF, 120000, 50;
">
},
@@ -92567,7 +92567,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
sc_start2 SC_G_LIFEPOTION, 600000, -6, 3;
">
},
@@ -92785,7 +92785,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_HASTEUP, AREA, playerattached());
+ specialeffect2 EF_HASTEUP;
sc_start2 SC_MAGIC_CANDY, 60000, 30, 70;
">
},
@@ -93499,7 +93499,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Deviling Fo-rm!!";
montransform DEVIRUCHI, 1200000, SC_MTF_ASPD, 10, 5;
">
@@ -93521,7 +93521,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Raydric Archer Fo-rm!!";
montransform RAYDRIC_ARCHER, 1200000, SC_MTF_RANGEATK, 25;
">
@@ -93543,7 +93543,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Mavka Fo-rm!!";
montransform MAVKA, 1200000, SC_MTF_RANGEATK, 25;
">
@@ -93565,7 +93565,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Marduk Fo-rm!!";
montransform MARDUK, 1200000, SC_MTF_MATK, 25;
">
@@ -93587,7 +93587,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Banshee Fo-rm!!";
montransform BANSHEE, 1200000, SC_MTF_MATK, 25;
">
@@ -93609,7 +93609,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Poring Fo-rm!!";
montransform PORING, 1200000, SC_MTF_CRIDAMAGE, 5;
">
@@ -93631,7 +93631,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
showscript "Trans-Form-!! Golem Fo-rm!!";
montransform GOLEM, 1200000, SC_MTF_MLEATKED, 2;
">
@@ -94168,7 +94168,7 @@ item_db: (
Upper: 56
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_PARALYSE, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -94185,7 +94185,7 @@ item_db: (
Upper: 56
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_LEECHESEND, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -94202,7 +94202,7 @@ item_db: (
Upper: 56
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_OBLIVIONCURSE, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -94219,7 +94219,7 @@ item_db: (
Upper: 56
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_DEATHHURT, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -94236,7 +94236,7 @@ item_db: (
Upper: 56
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_TOXIN, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -94253,7 +94253,7 @@ item_db: (
Upper: 56
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_PYREXIA, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -94270,7 +94270,7 @@ item_db: (
Upper: 56
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_MAGICMUSHROOM, 300000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -94287,7 +94287,7 @@ item_db: (
Upper: 56
BuyingStore: true
Script: <"
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
sc_start SC_VENOMBLEED, 15000, 0, 10, SCFLAG_FIXEDTICK;
">
},
@@ -94610,7 +94610,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start SC_STR_SCROLL, 60000, 20;
">
},
@@ -94631,7 +94631,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_INT_SCROLL, 60000, 20;
">
},
@@ -94763,7 +94763,7 @@ item_db: (
Buy: 2
Weight: 10
Script: <"
- specialeffect(EF_POK_JAP, AREA, playerattached());
+ specialeffect2 EF_POK_JAP;
itemskill MO_CALLSPIRITS,3;
itemskill MO_FINGEROFFENSIVE,5;
">
@@ -94925,7 +94925,7 @@ item_db: (
Buy: 20
Weight: 600
Script: <"
- specialeffect(EF_PROVIDENCE, AREA, playerattached());
+ specialeffect2 EF_PROVIDENCE;
sc_start SC_PHI_DEMON, 1200000, 10;
">
},
@@ -95073,7 +95073,7 @@ item_db: (
Buy: 20
Weight: 150
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start2 SC_GM_BATTLE, 600000, 5, 3;
">
},
@@ -95085,7 +95085,7 @@ item_db: (
Buy: 20
Weight: 150
Script: <"
- specialeffect(EF_POTION_BERSERK, AREA, playerattached());
+ specialeffect2 EF_POTION_BERSERK;
sc_start2 SC_GM_BATTLE2, 600000, 10, 5;
">
},
@@ -95195,7 +95195,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_WIND, AREA, playerattached());
+ specialeffect2 EF_WIND;
sc_start2 SC_MYSTICPOWDER, 300000, 20, 10;
">
},
@@ -95510,7 +95510,7 @@ item_db: (
Buy: 20
Weight: 100
Script: <"
- specialeffect(EF_POTION_CON, AREA, playerattached());
+ specialeffect2 EF_POTION_CON;
autobonus "{ heal -3000,0; bonus2 bAddRace,RC_Player,100; bonus2 bMagicAddRace,RC_Player,100; }",10,0,0,SI_GVG_GIANT;
">
},
@@ -95522,7 +95522,7 @@ item_db: (
Buy: 20
Weight: 10
Script: <"
- specialeffect(EF_POTION_CON, AREA, playerattached());
+ specialeffect2 EF_POTION_CON;
autobonus "{ heal 0,-300; bonus2 bSubRace,RC_Player,15; }",10,0,0,SI_GVG_GOLEM;
">
},
@@ -95599,7 +95599,7 @@ item_db: (
}
Script: <"
sc_start SC_ATTHASTE_POTION1,1800000,4;
- specialeffect(EF_POTION_CON, AREA, playerattached()); /* NOTE: No special effect when used. */
+ specialeffect2 EF_POTION_CON; /* NOTE: No special effect when used. */
">
},
{
@@ -95649,7 +95649,7 @@ item_db: (
}
Script: <"
sc_start SC_ATTHASTE_POTION2,1800000,6;
- specialeffect(EF_POTION_, AREA, playerattached()); /* NOTE: No special effect when used. */
+ specialeffect2 EF_POTION_; /* NOTE: No special effect when used. */
">
},
{
@@ -95685,7 +95685,7 @@ item_db: (
}
Script: <"
sc_start SC_ATTHASTE_POTION3,1800000,9;
- specialeffect(EF_POTION_BERSERK, AREA, playerattached()); /* NOTE: No special effect when used. */
+ specialeffect2 EF_POTION_BERSERK; /* NOTE: No special effect when used. */
">
},
{
@@ -98713,7 +98713,7 @@ item_db: (
bonus bAgi,1;
bonus2 bAddRace,RC_DemiPlayer,75;
bonus bUnbreakableWeapon,0;
- autobonus "{ bonus bDefRatioAtkRace, RC_All; }",10,6000,BF_WEAPON,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }";
+ autobonus "{ bonus bDefRatioAtkRace, RC_All; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }";
if(BaseClass==Job_Ninja||BaseClass==Job_Rogue) bonus bMatk,90;
">
},
@@ -99063,7 +99063,7 @@ item_db: (
View: 1
Script: <"
bonus3 bAddEffOnSkill,RG_RAID,Eff_Poison,1000;
- autobonus "{ bonus2 bAddRace, RC_All, 10; }",5,5000,BF_WEAPON|BF_SHORT,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus2 bAddRace, RC_All, 10; }",5,5000,BF_WEAPON|BF_SHORT,"{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -99157,7 +99157,7 @@ item_db: (
}
if(getrefine()>=6) {
bonus2 bAddSize,Size_Medium,8;
- autobonus "{ bonus bNoSizeFix,0; }",10,5000,0,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus bNoSizeFix,0; }",10,5000,0,"{ specialeffect2 EF_ENHANCE; }";
}
if(getrefine()>=9) bonus2 bAddSize,Size_Medium,20;
if(getrefine()>=12) bonus bNoSizeFix,0;
@@ -99756,8 +99756,8 @@ item_db: (
Script: <"
bonus bAgi,3;
bonus bUnbreakableWeapon,0;
- autobonus "{ bonus bBaseAtk,30; }",10,7000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
- autobonus "{ bonus bMatk,20; }",10,7000,BF_MAGIC,"{ specialeffect(EF_SUFFRAGIUM, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,30; }",10,7000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
+ autobonus "{ bonus bMatk,20; }",10,7000,BF_MAGIC,"{ specialeffect2 EF_SUFFRAGIUM; }";
if(BaseLevel>99) {
bonus bBaseAtk,10;
bonus bMatk,10;
@@ -100491,7 +100491,7 @@ item_db: (
bonus bHit,-10;
bonus2 bAddRace,RC_DemiPlayer,55;
bonus2 bIgnoreDefRate,RC_DemiPlayer,20;
- autobonus "{ bonus bAspdRate,100; }",10,3000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,100; }",10,3000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -101381,7 +101381,7 @@ item_db: (
bonus bDex,2;
bonus2 bAddRace,RC_DemiPlayer,35;
bonus2 bIgnoreDefRate,RC_DemiPlayer,20;
- autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,120,1000; }",10,6000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,120,1000; }",10,6000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -101415,7 +101415,7 @@ item_db: (
bonus bSplashRange,1;
bonus2 bAddRace,RC_DemiPlayer,55;
bonus2 bIgnoreDefRate,RC_DemiPlayer,20;
- autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -101449,7 +101449,7 @@ item_db: (
bonus bSplashRange,1;
bonus2 bAddRace,RC_DemiPlayer,55;
bonus2 bIgnoreDefRate,RC_DemiPlayer,20;
- autobonus "{ bonus bBaseAtk,300; bonus2 bHPLossRate,120,1000; }",30,9000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,300; bonus2 bHPLossRate,120,1000; }",30,9000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -101642,7 +101642,7 @@ item_db: (
if(getrefine()>8) {
bonus2 bSkillAtk,GS_GROUNDDRIFT,getrefine() * 2;
bonus3 bAddEffOnSkill,GS_SPREADATTACK,Eff_Stun,2000;
- autobonus "{ bonus bAspdRate,20; }",200,20000,BF_WEAPON,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate,20; }",200,20000,BF_WEAPON,"{ specialeffect2 EF_POTION_BERSERK; }";
}
">
},
@@ -103444,7 +103444,7 @@ item_db: (
bonus bStr,2;
bonus bDex,1;
bonus2 bAddRace,RC_DemiPlayer,95;
- autobonus "{ bonus2 bSkillAtk,NJ_HUUMA,100; bonus2 bSkillAtk,NJ_ISSEN,100; }",50,10000,BF_WEAPON,"{specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus2 bSkillAtk,NJ_HUUMA,100; bonus2 bSkillAtk,NJ_ISSEN,100; }",50,10000,BF_WEAPON,"{specialeffect2 EF_POTION_BERSERK; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -104600,7 +104600,7 @@ item_db: (
WeaponLv: 3
EquipLv: 50
View: 2
- Script: <" autobonus "{ bonus2 bSkillAtk,KN_BOWLINGBASH,20; bonus2 bSkillAtk,SM_BASH,20; }",5,15000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus2 bSkillAtk,KN_BOWLINGBASH,20; bonus2 bSkillAtk,SM_BASH,20; }",5,15000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }"; ">
},
{
Id: 13422
@@ -121317,7 +121317,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_HEAL3, AREA, playerattached());
+ specialeffect2 EF_HEAL3;
sc_start2 SC_S_LIFEPOTION, 600000, -5, 5;
">
},
@@ -121337,7 +121337,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_HEAL3, AREA, playerattached());
+ specialeffect2 EF_HEAL3;
sc_start2 SC_L_LIFEPOTION, 600000, -7, 4;
">
},
@@ -121357,7 +121357,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_MAGICALATTHIT, AREA, playerattached());
+ specialeffect2 EF_MAGICALATTHIT;
sc_start SC_CRITICALPERCENT, 300000, 30;
">
},
@@ -121377,7 +121377,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
sc_start SC_HEALPLUS, 1800000, 20;
">
},
@@ -121398,7 +121398,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
sc_start SC_PLUSAVOIDVALUE, 60000, 20;
">
},
@@ -121418,7 +121418,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
sc_start4 SC_ARMOR_PROPERTY, 1800000, 1, Ele_Dark, 1, 0;
">
},
@@ -121438,7 +121438,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_BENEDICTIO, AREA, playerattached());
+ specialeffect2 EF_BENEDICTIO;
sc_start4 SC_ARMOR_PROPERTY, 1800000, 1, Ele_Holy, 1, 0;
">
},
@@ -121458,7 +121458,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_PROTECT_DEF, 60000, 3;
">
},
@@ -121478,7 +121478,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_PROTECT_DEF, 180000, 3;
">
},
@@ -121498,7 +121498,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_PROTECT_MDEF, 60000, 3;
">
},
@@ -121518,7 +121518,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_PROTECT_MDEF, 180000, 3;
">
},
@@ -122328,7 +122328,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_HASTEUP, AREA, playerattached());
+ specialeffect2 EF_HASTEUP;
sc_start2 SC_STEAMPACK, 60000, 20, 25;
">
},
@@ -122551,7 +122551,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
sc_start4 SC_ARMOR_PROPERTY, 60000, 1, Ele_Neutral, 1, 0;
">
},
@@ -122590,7 +122590,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_TARGET_ASPD, 1800000, 10;
">
},
@@ -122632,7 +122632,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
sc_start4 SC_MVPCARD_TAOGUNKA, 1800000, 100, 50, 50, 0;
">
},
@@ -122652,7 +122652,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_MVPCARD_MISTRESS, 180000, 25;
">
},
@@ -122689,7 +122689,7 @@ item_db: (
nogstorage: true
}
Script: <"
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
sc_start SC_MVPCARD_ORCLORD, 180000, 30;
">
},
@@ -122770,7 +122770,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_PROTECT_DEF, 120000, 3;
">
},
@@ -122790,7 +122790,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_SPELLBREAKER;
sc_start SC_PROTECT_MDEF, 120000, 3;
">
},
@@ -122827,7 +122827,7 @@ item_db: (
noauction: true
}
Script: <"
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_PROTECT_DEF, 1800000, 3;
sc_start SC_PROTECT_MDEF, 1800000, 3;
">
@@ -122969,7 +122969,7 @@ item_db: (
Weight: 10
Script: <"
sc_start SC_FOOD_VIT, 180000, 15;
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
sc_start SC_PROTECT_DEF, 60000, 3;
sc_start SC_PROTECT_MDEF, 60000, 3;
">
@@ -125098,8 +125098,8 @@ item_db: (
Script: <"
bonus bStr,1;
bonus bInt,1;
- autobonus "{ bonus2 bMagicAddRace,RC_Demon,20; }",30,7000,BF_MAGIC,"{ specialeffect(EF_SPELLBREAKER, AREA, playerattached()); }";
- autobonus "{ bonus2 bAddRace,RC_Demon,20; }",5,7000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus2 bMagicAddRace,RC_Demon,20; }",30,7000,BF_MAGIC,"{ specialeffect2 EF_SPELLBREAKER; }";
+ autobonus "{ bonus2 bAddRace,RC_Demon,20; }",5,7000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -125252,8 +125252,8 @@ item_db: (
Script: <"
bonus bStr,2;
bonus bInt,2;
- autobonus "{ bonus2 bMagicAddRace,RC_Demon,40; }",60,7000,BF_MAGIC,"{ specialeffect(EF_SPELLBREAKER, AREA, playerattached()); }";
- autobonus "{ bonus2 bAddRace,RC_Demon,40; }",10,7000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
+ autobonus "{ bonus2 bMagicAddRace,RC_Demon,40; }",60,7000,BF_MAGIC,"{ specialeffect2 EF_SPELLBREAKER; }";
+ autobonus "{ bonus2 bAddRace,RC_Demon,40; }",10,7000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
">
},
{
@@ -130363,7 +130363,7 @@ item_db: (
Script: <"
bonus bUnbreakableWeapon,0;
bonus bAgi,3;
- autobonus "{ bonus bAspd,2; }",10,7000,BF_WEAPON,"{ specialeffect(EF_HASTEUP, AREA, playerattached()); }";
+ autobonus "{ bonus bAspd,2; }",10,7000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }";
if(BaseLevel>99) {
bonus bLongAtkRate,10;
}
@@ -131149,8 +131149,8 @@ item_db: (
noauction: true
}
Script: <"
- autobonus "{ bonus bBaseAtk,10; }",50,5000,BF_WEAPON,"{ specialeffect(EF_ENHANCE, AREA, playerattached()); }";
- autobonus "{ bonus bMatk,10; }",50,5000,BF_MAGIC,"{ specialeffect(EF_MAGICALATTHIT, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,10; }",50,5000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";
+ autobonus "{ bonus bMatk,10; }",50,5000,BF_MAGIC,"{ specialeffect2 EF_MAGICALATTHIT; }";
">
},
{
@@ -132441,7 +132441,7 @@ item_db: (
Loc: 256
EquipLv: 50
View: 757
- Script: <" autobonus "{ bonus bBaseAtk,100; }",5,10000,0,"{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }"; ">
+ Script: <" autobonus "{ bonus bBaseAtk,100; }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }"; ">
},
{
Id: 18596
@@ -133023,7 +133023,7 @@ item_db: (
bonus2 bAddRace, RC_DemiPlayer, 10;
bonus2 bAddRace, RC_Demon, 10;
if(getrefine() > 6) {
- autobonus "{ bonus bAspdRate, 100; }", 10, 7000, 0, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus "{ bonus bAspdRate, 100; }", 10, 7000, 0, "{ specialeffect2 EF_POTION_BERSERK; }";
}
">
},
@@ -136591,7 +136591,7 @@ item_db: (
Script: <"
bonus bUnbreakableHelm, 0;
bonus bMaxSPrate, 3;
- autobonus2 "{ bonus2 bAddRaceTolerance, RC_DemiPlayer, 100; }", 10, 3000, BF_WEAPON|BF_MAGIC, "{ specialeffect(EF_POTION_BERSERK, AREA, playerattached()); }";
+ autobonus2 "{ bonus2 bAddRaceTolerance, RC_DemiPlayer, 100; }", 10, 3000, BF_WEAPON|BF_MAGIC, "{ specialeffect2 EF_POTION_BERSERK; }";
">
},
{
@@ -145626,7 +145626,7 @@ item_db: (
bonus2 bIgnoreDefRate,RC_DemiPlayer,30;
if(getrefine()>=6) { bonus2 bAddRace,RC_DemiPlayer,40; }
if(getrefine()>=9) {
- autobonus2 "{ bonus bShortWeaponDamageReturn,20; bonus bMagicDamageReturn,20; }",200,1000,BF_WEAPON,"{ specialeffect(EF_REFLECTSHIELD, AREA, playerattached()); }";
+ autobonus2 "{ bonus bShortWeaponDamageReturn,20; bonus bMagicDamageReturn,20; }",200,1000,BF_WEAPON,"{ specialeffect2 EF_REFLECTSHIELD; }";
}
">
},
@@ -146914,13 +146914,13 @@ item_db: (
Script: <"
.@temp = rand(1,3);
if (.@temp == 1) {
- specialeffect(EF_DEVIL, AREA, playerattached());
+ specialeffect2 EF_DEVIL;
warp "niflheim",193,186;
} else if (.@temp == 2) {
- specialeffect(EF_DEVIL, AREA, playerattached());
+ specialeffect2 EF_DEVIL;
warp "niflheim",106,254;
} else {
- specialeffect(EF_DEVIL, AREA, playerattached());
+ specialeffect2 EF_DEVIL;
warp "niflheim",347,255;
}
">
@@ -150479,7 +150479,7 @@ item_db: (
bonus bSplashRange,1;
bonus2 bAddRace,RC_DemiPlayer,30;
bonus2 bIgnoreDefRate,RC_DemiPlayer,10;
- autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect(EF_BASH3D, AREA, playerattached()); }";
+ autobonus "{ bonus bBaseAtk,80; bonus2 bHPLossRate,100,1000; }",30,6000,BF_WEAPON,"{ specialeffect2 EF_BASH3D; }";
bonus bUnbreakableWeapon,0;
">
},
@@ -151265,7 +151265,7 @@ item_db: (
bonus bAtkRate,5;
bonus bMatkRate,5;
bonus bShortWeaponDamageReturn,10;
- autobonus "{ bonus bMagicDamageReturn,60; }",100,2000,BF_MAGIC,"{ specialeffect(EF_NONE, AREA, playerattached()); }";
+ autobonus "{ bonus bMagicDamageReturn,60; }",100,2000,BF_MAGIC,"{ specialeffect2 EF_NONE; }";
if(getrefine()>6) {
bonus bAtk,5;
bonus bMatk,5;
@@ -151293,7 +151293,7 @@ item_db: (
bonus bAtkRate,5;
bonus bMatkRate,5;
bonus bShortWeaponDamageReturn,10;
- autobonus "{ bonus bMagicDamageReturn,60; }",100,2000,BF_MAGIC,"{ specialeffect(EF_NONE, AREA, playerattached()); }";
+ autobonus "{ bonus bMagicDamageReturn,60; }",100,2000,BF_MAGIC,"{ specialeffect2 EF_NONE; }";
if(getrefine()>6) {
bonus bAtk,5;
bonus bMatk,5;
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 34089f767..861b9cc59 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -5819,8 +5819,7 @@ map as the invoking character.
---------------------------------------
-*specialeffect(<effect number>{, <send_target>{, <unit id>{, <account id>}}})
-*specialeffect(<effect number>{, <send_target>{, "<NPC Name>"{, <account id>}}})
+*specialeffect(<effect number>{, <send_target>{, "<NPC Name>"}})
This command will display special effect with the given number, centered
on the specified NPCs coordinates, if any. For a full list of special
@@ -5833,40 +5832,25 @@ NPC specified does not exist, the command will do nothing. When specifying
an NPC, <send_target> must be specified when specifying an <NPC Name>,
specifying AREA will retain the default behavior of the command.
-<unit id> behaves like <NPC Name> except it can display the effect on
-any kind of unit, not just NPC, by specifying its GID.
-
-When <send_target> is SELF you can specify which player to send the effect
-to by passing <account id>.
-
-Example usage:
-
- // To make a NPC do an effect and show it to everyone:
+ // this will make the NPC "John Doe#1"
+ // show the effect "EF_HIT1" specified by
+ // Jane Doe. I wonder what John did...
+ mes("[Jane Doe]");
+ mes("Well, I never!");
specialeffect(EF_HIT1, AREA, "John Doe#1");
-
- // To make a player do an effect and show it to everyone:
- specialeffect(EF_HIT1, AREA, getcharid(CHAR_ID_ACCOUNT, "player"));
-
- // To make a NPC do an effect and show it only to the attached player:
- specialeffect(EF_HIT1, SELF, "John Doe#1");
-
- // To make a NPC do an effect and show it only to another player:
- specialeffect(EF_HIT1, SELF, "John Doe#1", getcharid(CHAR_ID_ACCOUNT, "player"));
+ close();
---------------------------------------
*specialeffect2(<effect number>{, <send_target>{, "<Player Name>"}})
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ /!\ This command is deprecated @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
This command behaves identically to the specialeffect(), but the effect
will be centered on the invoking character's sprite.
-This command is deprecated and it should not be used in new scripts, as it is
-likely to be removed at a later time. Please use specialeffect instead,
-ie: specialeffect(<effect number>, <send_target>, playerattached())
+<Player name> parameter will display <effect number> on another Player
+than the one currently attached to the script. Like with specialeffect(),
+when specifying a player, <send_target> must be supplied, specifying AREA
+will retain the default behavior of the command.
---------------------------------------
@@ -5966,7 +5950,7 @@ target in autobonus() and autobonus3()).
//Grants a 1% chance of starting the state "all stats +10" for 10 seconds
//when using weapon or misc attacks (both melee and ranged skills) and
//shows a special effect when the bonus is active.
- autobonus("{ bonus(bAllStats, 10); }", 10, 10000, BF_WEAPON|BF_MISC, "{ specialeffect(EF_FIRESPLASHHIT, AREA, playerattached()); }");
+ autobonus("{ bonus(bAllStats, 10); }", 10, 10000, BF_WEAPON|BF_MISC, "{ specialeffect2(EF_FIRESPLASHHIT); }");
---------------------------------------
@@ -7635,10 +7619,6 @@ without event labels. If specified name is not found, command does nothing.
*misceffect(<effect number>)
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ /!\ This command is deprecated @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-
This command, if run from an NPC object that has a sprite, will call up a
specified effect number, centered on the NPC sprite. If the running code
does not have an object ID (a 'floating' NPC) or is not running from an
@@ -7647,9 +7627,8 @@ character who's RID got attached to the script, if any. For usable item
scripts, this command will create an effect centered on the player using
the item.
-This command is deprecated and it should not be used in new scripts, as it is
-likely to be removed at a later time. Please use specialeffect instead,
-ie: specialeffect(<effect number>, <send target>, <unit id>)
+A full list of known effects is found in 'doc/effect_list.txt'. The list
+of those that actually work may differ greatly between client versions.
---------------------------------------
@@ -7774,7 +7753,7 @@ OnInit:
bindatcmd("test", strnpcinfo(NPC_NAME_UNIQUE)+"::OnAtcommand");
end;
OnAtcommand:
- specialeffect(EF_ANGEL2, AREA, playerattached());
+ specialeffect2(EF_ANGEL2);
end;
}
diff --git a/npc/battleground/flavius/flavius01.txt b/npc/battleground/flavius/flavius01.txt
index ee8ac5cb3..8370f1e53 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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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 69a54017b..232dd7e39 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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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 bdf41b0bd..22a612c81 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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
mes("[Valley Ghost]");
mes("Boo...Boo...");
close;
diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt
index abdb50a3f..a54935089 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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
mes("[Valley Ghost]");
mes("Boo...Boo...");
close;
diff --git a/npc/cities/jawaii.txt b/npc/cities/jawaii.txt
index b48b960d2..e308d9f73 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";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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";
- specialeffect(EF_FIREIVY, AREA, playerattached());
+ specialeffect2 EF_FIREIVY;
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";
- specialeffect(EF_DECAGILITY, AREA, playerattached());
+ specialeffect2 EF_DECAGILITY;
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";
- specialeffect(EF_MAGNUMBREAK, AREA, playerattached());
+ specialeffect2 EF_MAGNUMBREAK;
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;
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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!";
- specialeffect(EF_SANCTUARY, AREA, playerattached());
+ specialeffect2 EF_SANCTUARY;
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";
- specialeffect(EF_BLASTMINEBOMB, AREA, playerattached());
+ specialeffect2 EF_BLASTMINEBOMB;
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";
- specialeffect(EF_HIT6, AREA, playerattached());
+ specialeffect2 EF_HIT6;
percentheal -10,0;
next;
break;
@@ -1271,7 +1271,7 @@ prt_in,173,13,4 script Customer#SoloHan 4_M_04,{
next;
mes "[Bachewcca]";
mes "^666666*Grunt!*^000000";
- specialeffect(EF_TALK_SCREAM, AREA, getnpcid(0, "Customer#Bachewcca"));
+ specialeffect EF_TALK_SCREAM,AREA,"Customer#Bachewcca";
next;
mes "[SoloHan]";
mes "To...";
@@ -1377,7 +1377,7 @@ prt_in,173,13,4 script Customer#SoloHan 4_M_04,{
next;
mes "[Bachewcca]";
mes "^666666*Grrr...!*^000000";
- specialeffect(EF_THROWITEM, AREA, getnpcid(0, "Customer#Bachewcca"));
+ specialeffect EF_THROWITEM,AREA,"Customer#Bachewcca";
close;
}
mes "Oh man...";
diff --git a/npc/cities/morocc.txt b/npc/cities/morocc.txt
index a79148fbf..8f1f1111d 100644
--- a/npc/cities/morocc.txt
+++ b/npc/cities/morocc.txt
@@ -138,7 +138,7 @@ morocc,223,102,0 script Volunteer - Morroc#06::MocVolunteer 2_M_BARD_ORIENT,{
next;
mes "[Ringing Voice]";
mes "Be quiet! Can't you see what's going on?!";
- specialeffect(EF_HIT2, AREA, getnpcid(0, "Volunteer - Morroc#06"));
+ specialeffect EF_HIT2,AREA,"Volunteer - Morroc#06";
next;
mes "[Morroc Volunteer]";
mes "Heyyy, you're being too harsh, Senyorita. Your fist may be as fragile as you are, but it sure can hurt somebody.";
diff --git a/npc/cities/rachel.txt b/npc/cities/rachel.txt
index 2fbb92f05..ecd410ab1 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";
- specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
+ specialeffect2 EF_TALK_FROSTJOKE;
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 73ab603c9..0520902ba 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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
close;
}
@@ -360,7 +360,7 @@ OnBGStop:
end;
OnTimer24000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer25000:
@@ -382,7 +382,7 @@ OnBGStop:
end;
OnTimer24000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer25000:
diff --git a/npc/custom/battleground/bg_flavius_02.txt b/npc/custom/battleground/bg_flavius_02.txt
index e970a0711..da6c9cfef 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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
close;
}
@@ -360,7 +360,7 @@ OnBGStop:
end;
OnTimer24000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer25000:
@@ -382,7 +382,7 @@ OnBGStop:
end;
OnTimer24000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer25000:
diff --git a/npc/custom/battleground/bg_kvm01.txt b/npc/custom/battleground/bg_kvm01.txt
index a66e202e3..c27e042a2 100644
--- a/npc/custom/battleground/bg_kvm01.txt
+++ b/npc/custom/battleground/bg_kvm01.txt
@@ -35,9 +35,9 @@ OnEnterBG:
bat_c01,54,123,0 script #bat_c01a HIDDEN_NPC,{
end;
-OnKvM01LightA: specialeffect(EF_BEGINSPELL2); end;
-OnKvM01LightB: specialeffect(EF_BEGINSPELL3); end;
-OnKvM01LightC: specialeffect(EF_BEGINSPELL4); end;
+OnKvM01LightA: misceffect 54; end;
+OnKvM01LightB: misceffect 55; end;
+OnKvM01LightC: misceffect 56; end;
}
bat_c01,56,125,0 duplicate(#bat_c01a) #bat_c01b HIDDEN_NPC
@@ -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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
close;
}
diff --git a/npc/custom/battleground/bg_kvm02.txt b/npc/custom/battleground/bg_kvm02.txt
index f1637069a..cd13241cb 100644
--- a/npc/custom/battleground/bg_kvm02.txt
+++ b/npc/custom/battleground/bg_kvm02.txt
@@ -35,9 +35,9 @@ OnEnterBG:
bat_c02,54,123,0 script #bat_c02a HIDDEN_NPC,{
end;
-OnKvM02LightA: specialeffect(EF_BEGINSPELL2); end;
-OnKvM02LightB: specialeffect(EF_BEGINSPELL3); end;
-OnKvM02LightC: specialeffect(EF_BEGINSPELL4); end;
+OnKvM02LightA: misceffect 54; end;
+OnKvM02LightB: misceffect 55; end;
+OnKvM02LightC: misceffect 56; end;
}
bat_c02,56,125,0 duplicate(#bat_c02a) #bat_c02b HIDDEN_NPC
@@ -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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
close;
}
diff --git a/npc/custom/battleground/bg_kvm03.txt b/npc/custom/battleground/bg_kvm03.txt
index 612047dcb..3ec87355e 100644
--- a/npc/custom/battleground/bg_kvm03.txt
+++ b/npc/custom/battleground/bg_kvm03.txt
@@ -35,9 +35,9 @@ OnEnterBG:
bat_c03,54,123,0 script #bat_c03a HIDDEN_NPC,{
end;
-OnKvM03LightA: specialeffect(EF_BEGINSPELL2); end;
-OnKvM03LightB: specialeffect(EF_BEGINSPELL3); end;
-OnKvM03LightC: specialeffect(EF_BEGINSPELL4); end;
+OnKvM03LightA: misceffect 54; end;
+OnKvM03LightB: misceffect 55; end;
+OnKvM03LightC: misceffect 56; end;
}
bat_c03,56,125,0 duplicate(#bat_c03a) #bat_c03b HIDDEN_NPC
@@ -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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
close;
}
diff --git a/npc/custom/battleground/bg_tierra_01.txt b/npc/custom/battleground/bg_tierra_01.txt
index 2640723b3..56a505356 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...";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
close;
}
@@ -416,7 +416,7 @@ OnBGStop:
end;
OnTimer19000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer20000:
@@ -438,7 +438,7 @@ OnBGStop:
end;
OnTimer24000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer25000:
@@ -460,7 +460,7 @@ OnBGStop:
end;
OnTimer24000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer25000:
diff --git a/npc/custom/battleground/bg_tierra_02.txt b/npc/custom/battleground/bg_tierra_02.txt
index 98b604fd7..e0f1b402a 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...";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
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.";
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 312;
close;
}
@@ -416,7 +416,7 @@ OnBGStop:
end;
OnTimer19000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer20000:
@@ -438,7 +438,7 @@ OnBGStop:
end;
OnTimer24000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer25000:
@@ -460,7 +460,7 @@ OnBGStop:
end;
OnTimer24000:
- specialeffect(EF_SANCTUARY);
+ misceffect 83;
end;
OnTimer25000:
diff --git a/npc/custom/bgqueue/flavius.txt b/npc/custom/bgqueue/flavius.txt
index 21c79f48f..d959253f3 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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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,{
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
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 9efb73ac6..555fd4c93 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;
- specialeffect(EF_TEIHIT3, AREA, playerattached());
+ specialeffect2 EF_TEIHIT3;
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);
}
- specialeffect(EF_TEIHIT3, AREA, playerattached());
+ specialeffect2 EF_TEIHIT3;
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;
}
- specialeffect(EF_TEIHIT3, AREA, playerattached());
+ specialeffect2 EF_TEIHIT3;
end;
}
diff --git a/npc/custom/etc/airplane.txt b/npc/custom/etc/airplane.txt
index 2487acb1f..6fd500a41 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;
- specialeffect(EF_CASTSPIN, AREA, playerattached());
+ specialeffect2 501;
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];
- specialeffect(EF_CASTSPIN, AREA, playerattached());
+ specialeffect2 501;
Lnope:
mes "^FF0000[Airplane Attendant]^000000";
diff --git a/npc/custom/etc/monster_arena.txt b/npc/custom/etc/monster_arena.txt
index 8420cd544..db4c37b73 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;
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
announce "Your monster has healed.",19;
end;
diff --git a/npc/custom/etc/mvp_arena.txt b/npc/custom/etc/mvp_arena.txt
index a86e64aae..d4205456e 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:
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2 313;
percentheal 100,100;
close;
case 3:
@@ -77,7 +77,7 @@ function script Protector {
warp getarg(0),102,102;
end;
case 2:
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2 313;
percentheal 100,100;
close;
case 3:
diff --git a/npc/custom/events/cluckers.txt b/npc/custom/events/cluckers.txt
index 7047ca00e..fbdbbed3f 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) {
- specialeffect(EF_HIT3, AREA, playerattached());
+ specialeffect2 2;
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!...........";
- specialeffect(EF_SPHERE, AREA, playerattached());
+ specialeffect2 72;
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/events/disguise.txt b/npc/custom/events/disguise.txt
index b9071d162..cd44d1767 100644
--- a/npc/custom/events/disguise.txt
+++ b/npc/custom/events/disguise.txt
@@ -178,7 +178,7 @@ OnTimer30000:
set .Change,0;
setnpcdisplay "Disguise Event", 4_M_NFDEADMAN;
npctalk "You took too long to guess what I was. Please wait 10 seconds while I disguise again.";
- specialeffect EF_DETECT2;
+ specialeffect 725;
set $MonsterName$,"";
deletepset 1;
stopnpctimer;
diff --git a/npc/custom/events/valentinesdayexp.txt b/npc/custom/events/valentinesdayexp.txt
index 33339dcd9..5119a119f 100644
--- a/npc/custom/events/valentinesdayexp.txt
+++ b/npc/custom/events/valentinesdayexp.txt
@@ -25,7 +25,7 @@ prontera,156,172,4 script Tine 1_M_MERCHANT,{
mes "The legend says that on 14th February... on the Day of Saint Valentine...";
mes "Only in Run-Midgard kingdom...";
next;
- specialeffect EF_HITBODY;
+ specialeffect 417;
mes "[Tine]";
mes "Some married chocolate lovers almost double their experience at trainings!";
mes "But everything isn't so simply...";
@@ -58,9 +58,9 @@ prontera,156,172,4 script Tine 1_M_MERCHANT,{
OnInit:
//559,Hand-made_Chocolate
- setitemscript 559,"{ itemheal 50,50; if(Sex==0 || @dsv == gettime(GETTIME_HOUR)+1 || ispartneron()==0)end; set @dsv,gettime(GETTIME_HOUR)+1; specialeffect(EF_MAGNUS, AREA, playerattached()); }";
+ setitemscript 559,"{ itemheal 50,50; if(Sex==0 || @dsv == gettime(GETTIME_HOUR)+1 || ispartneron()==0)end; set @dsv,gettime(GETTIME_HOUR)+1; misceffect 113; }";
//560,Hand-made_White_Chocolate
- setitemscript 560,"{ itemheal 50,50; if(Sex || @dsv == gettime(GETTIME_HOUR)+1 || ispartneron()==0)end; set @dsv,gettime(GETTIME_HOUR)+1; specialeffect(EF_MAGNUS, AREA, playerattached()); }";
+ setitemscript 560,"{ itemheal 50,50; if(Sex || @dsv == gettime(GETTIME_HOUR)+1 || ispartneron()==0)end; set @dsv,gettime(GETTIME_HOUR)+1; misceffect 113; }";
//2634,Wedding_Ring_M,Wedding Ring,5,,10,0,,0,,0,127918079,7,1,136,,0,0,0,{ skill 334,1; skill 335,1; skill 336,1; }
setitemscript 2634,"{ skill 334,1; skill 335,1; skill 336,1; if(@dsv == gettime(GETTIME_HOUR)+1 && ispartneron()){ bonus2 bExpAddRace,5,50; bonus2 bExpAddRace,6,50; bonus2 bExpAddRace,7,50; bonus2 bExpAddRace,8,50; bonus2 bExpAddRace,1,50; } }";
diff --git a/npc/custom/events/xmas_rings_event.txt b/npc/custom/events/xmas_rings_event.txt
index 633f09cf7..05e4f40f6 100644
--- a/npc/custom/events/xmas_rings_event.txt
+++ b/npc/custom/events/xmas_rings_event.txt
@@ -91,7 +91,7 @@ prontera,156,174,4 script Snower 4_M_06,{
OnInit:
//Santa's Hat
- setitemscript 2236,"{ bonus bMdef,1; bonus bLuk,1; if(isequipped(2636,2637)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); specialeffect(EF_RAINBOW, AREA, playerattached()); end;} if(isequipped(2636)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); specialeffect(EF_SPHERE, AREA, playerattached());} if(isequipped(2637)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); specialeffect(EF_ANGEL2, AREA, playerattached());}}";
+ setitemscript 2236,"{ bonus bMdef,1; bonus bLuk,1; if(isequipped(2636,2637)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); misceffect 410; end;} if(isequipped(2636)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); misceffect 72;} if(isequipped(2637)){if(@xmr == gettime(GETTIME_MINUTE))end; set @xmr,gettime(GETTIME_MINUTE); misceffect 338;}}";
//Gold Xmas Ring
setitemscript 2636,"{ bonus bLoseSPWhenUnequip,30; if(isequipped(2236)==0)end; if(getskilllv(\"AL_HEAL\")){skill \"TF_HIDING\",4+isequipped(2637);}else{skill \"AL_HEAL\",1+4*isequipped(2637);} }";
//Silver Xmas Ring
diff --git a/npc/custom/healer.txt b/npc/custom/healer.txt
index 9e0d4abe4..97c4e7284 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;
}
- specialeffect(EF_HEAL2, AREA, playerattached()); percentheal 100,100;
+ specialeffect2 EF_HEAL2; percentheal 100,100;
if (.@Buffs) {
- specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10;
- specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10;
+ specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10;
+ specialeffect2 EF_BLESSING; 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 4b56a36e5..cc09055a4 100644
--- a/npc/custom/jobmaster.txt
+++ b/npc/custom/jobmaster.txt
@@ -162,8 +162,8 @@ function Job_Menu {
resetlvl(4);
SkillPoint = 0;
}
- specialeffect(EF_ANGEL2, AREA, playerattached());
- specialeffect(EF_ELECTRIC, AREA, playerattached());
+ specialeffect2 EF_ANGEL2;
+ specialeffect2 EF_ELECTRIC;
if (.platinum)
callsub Get_Platinum;
close;
diff --git a/npc/custom/quests/hunting_missions.txt b/npc/custom/quests/hunting_missions.txt
index 5ba860ed4..611bdd480 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.";
- specialeffect(EF_STORMKICK4, AREA, playerattached());
+ specialeffect2 EF_STORMKICK4;
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;
- specialeffect(EF_ANGEL, AREA, playerattached());
- specialeffect(EF_TRUESIGHT, AREA, playerattached());
+ specialeffect2 EF_ANGEL;
+ specialeffect2 EF_TRUESIGHT;
set #Mission_Points, #Mission_Points+.@Mission_Points;
set BaseExp, BaseExp+.@Base_Exp;
set JobExp, JobExp+.@Job_Exp;
diff --git a/npc/custom/quests/may_hats.txt b/npc/custom/quests/may_hats.txt
index d4103874f..a1864f96f 100644
--- a/npc/custom/quests/may_hats.txt
+++ b/npc/custom/quests/may_hats.txt
@@ -17,7 +17,7 @@ gonryun,187,140,4 script Yakima 4_F_EINWOMAN,{
mes callfunc("F_Hi");
mes "I can make some items for you.";
mes "They are quite rare novadays...";
- specialeffect EF_HITBODY;
+ specialeffect 417;
next;
switch (select("Bird Nest", "Lion Mask", "Skeleton Manteau", "Fashion Hip Sack", "Sales Banner", "Leave")) {
case 1:
diff --git a/npc/custom/quests/quest_shop.txt b/npc/custom/quests/quest_shop.txt
index 6805220f7..f96b4cb75 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;
- specialeffect(EF_FLOWERLEAF, AREA, playerattached());
+ specialeffect2 EF_FLOWERLEAF;
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/custom/woe_controller.txt b/npc/custom/woe_controller.txt
index 5f619c1db..14e288be7 100644
--- a/npc/custom/woe_controller.txt
+++ b/npc/custom/woe_controller.txt
@@ -22,7 +22,7 @@ prontera,149,193,4 script WOE Information 2_BOARD1,{
end;
OnAgitStart:
while(agitcheck()) {
- specialeffect(EF_BEGINSPELL6);
+ misceffect EF_BEGINSPELL6;
sleep 425;
}
end;
diff --git a/npc/events/RWC_2012.txt b/npc/events/RWC_2012.txt
index ae1ded057..70d6c0d60 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;
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
mes "[Driller]";
mes "Yay! Success! Your "+.@name$+" now has a card slot. Check it out!";
close;
} else {
- specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect2 EF_LORD;
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.";
- specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect2 EF_LORD;
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.";
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
}
//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;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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 323792344..a47e7f661 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!*";
- specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect2 EF_LORD;
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 cba1581e0..0a631cfb6 100644
--- a/npc/events/christmas_2005.txt
+++ b/npc/events/christmas_2005.txt
@@ -108,7 +108,7 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{
mes "~With the number one designer, Louise Kim,~";
mes "~you are the most blessed soul.~";
emotion e_ho;
- specialeffect(EF_BLESSING);
+ misceffect EF_BLESSING;
next;
mes "-Immediately, she puts Rosary in an-";
mes "-unknown liquid and dissolves it.-";
@@ -120,7 +120,7 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{
mes "~With the number one designer, Louise Kim,~";
mes "~you are the luckiest soul.~";
emotion e_ho;
- specialeffect(EF_GLORIA);
+ misceffect EF_GLORIA;
next;
mes "-She starts sewing the hat with -";
mes "-a Cactus Needle and a thread.-";
@@ -131,7 +131,7 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{
mes "~The most talented disigner,~";
mes "~L_O_U_I_S_E K_I_M~";
emotion e_lv;
- specialeffect(EF_BENEDICTIO);
+ misceffect EF_BENEDICTIO;
next;
mes "[Designer Louise Kim]";
mes "Here!! All done~~";
@@ -299,7 +299,7 @@ prontera,155,285,3 script Enjoy#enjoy 4_M_MONK,{
mes "........................";
mes "Get lost,you devil!!!!!!";
specialeffect EF_BEGINASURA;
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
Hp /= 2;
Hp /= 2;
close2;
@@ -408,7 +408,7 @@ prontera,155,285,3 script Enjoy#enjoy 4_M_MONK,{
donpcevent "Christ#christ02::OnCommandEmotion";
donpcevent "Mas#mas02::OnCommandEmotion";
donpcevent "Event#event02::OnCommandEmotion";
- specialeffect(EF_HITLINE2);
+ misceffect EF_HITLINE2;
delitem Branch_Of_Dead_Tree,5; //Branch_of_Dead_Tree
christ_solo05 = 6;
donpcevent "Happymerry#happymerry02::OnCommandOff";
@@ -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.~";
- specialeffect(EF_GLORIA, AREA, playerattached());
+ specialeffect2 EF_GLORIA;
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 154fb95c5..0ccd987cf 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;
- specialeffect(EF_COUPLECASTING, AREA, playerattached());
+ specialeffect2 EF_COUPLECASTING;
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;
- specialeffect(EF_SIGNUM, AREA, playerattached());
+ specialeffect2 EF_SIGNUM;
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;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
mes "- I can definitely feel that";
mes "- ^0000FFRina^000000 has been released";
mes "- from the curse.";
diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt
index 4e8a3c6e8..d192456aa 100644
--- a/npc/events/gdevent_aru.txt
+++ b/npc/events/gdevent_aru.txt
@@ -1351,33 +1351,33 @@ OnMVP:
end;
OnTimer1000:
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_1_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_3_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_5_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_7_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_9_a"));
+ specialeffect EF_MVP,AREA,"paper_sp_1_a";
+ specialeffect EF_MVP,AREA,"paper_sp_3_a";
+ specialeffect EF_MVP,AREA,"paper_sp_5_a";
+ specialeffect EF_MVP,AREA,"paper_sp_7_a";
+ specialeffect EF_MVP,AREA,"paper_sp_9_a";
end;
OnTimer2000:
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_2_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_4_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_6_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_8_a"));
+ specialeffect EF_MVP,AREA,"paper_sp_2_a";
+ specialeffect EF_MVP,AREA,"paper_sp_4_a";
+ specialeffect EF_MVP,AREA,"paper_sp_6_a";
+ specialeffect EF_MVP,AREA,"paper_sp_8_a";
end;
OnTimer3000:
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_1_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_3_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_5_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_7_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_9_a"));
+ specialeffect EF_MVP,AREA,"paper_sp_1_a";
+ specialeffect EF_MVP,AREA,"paper_sp_3_a";
+ specialeffect EF_MVP,AREA,"paper_sp_5_a";
+ specialeffect EF_MVP,AREA,"paper_sp_7_a";
+ specialeffect EF_MVP,AREA,"paper_sp_9_a";
end;
OnTimer4000:
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_2_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_4_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_6_a"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_8_a"));
+ specialeffect EF_MVP,AREA,"paper_sp_2_a";
+ specialeffect EF_MVP,AREA,"paper_sp_4_a";
+ specialeffect EF_MVP,AREA,"paper_sp_6_a";
+ specialeffect EF_MVP,AREA,"paper_sp_8_a";
stopnpctimer;
end;
}
diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt
index 1b55f8492..dcb529ebe 100644
--- a/npc/events/gdevent_sch.txt
+++ b/npc/events/gdevent_sch.txt
@@ -1348,33 +1348,33 @@ OnMVP:
end;
OnTimer1000:
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_1_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_3_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_5_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_7_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_9_s"));
+ specialeffect EF_MVP,AREA,"paper_sp_1_s";
+ specialeffect EF_MVP,AREA,"paper_sp_3_s";
+ specialeffect EF_MVP,AREA,"paper_sp_5_s";
+ specialeffect EF_MVP,AREA,"paper_sp_7_s";
+ specialeffect EF_MVP,AREA,"paper_sp_9_s";
end;
OnTimer2000:
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_2_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_4_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_6_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_8_s"));
+ specialeffect EF_MVP,AREA,"paper_sp_2_s";
+ specialeffect EF_MVP,AREA,"paper_sp_4_s";
+ specialeffect EF_MVP,AREA,"paper_sp_6_s";
+ specialeffect EF_MVP,AREA,"paper_sp_8_s";
end;
OnTimer3000:
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_1_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_3_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_5_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_7_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_9_s"));
+ specialeffect EF_MVP,AREA,"paper_sp_1_s";
+ specialeffect EF_MVP,AREA,"paper_sp_3_s";
+ specialeffect EF_MVP,AREA,"paper_sp_5_s";
+ specialeffect EF_MVP,AREA,"paper_sp_7_s";
+ specialeffect EF_MVP,AREA,"paper_sp_9_s";
end;
OnTimer4000:
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_2_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_4_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_6_s"));
- specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_8_s"));
+ specialeffect EF_MVP,AREA,"paper_sp_2_s";
+ specialeffect EF_MVP,AREA,"paper_sp_4_s";
+ specialeffect EF_MVP,AREA,"paper_sp_6_s";
+ specialeffect EF_MVP,AREA,"paper_sp_8_s";
stopnpctimer;
end;
}
diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt
index 940ffe30a..101434be3 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!!";
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
next;
specialeffect EF_PIERCESELF;
mes "[Hoirin]";
diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt
index 19627e6a0..2a64e13be 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:
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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) {
- specialeffect(EF_CHANGECOLD, AREA, playerattached());
+ specialeffect2 EF_CHANGECOLD;
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;
- specialeffect(EF_CHANGECOLD, AREA, playerattached());
+ specialeffect2 EF_CHANGECOLD;
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:
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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) {
- specialeffect(EF_CHANGECOLD, AREA, playerattached());
+ specialeffect2 EF_CHANGECOLD;
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.";
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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.";
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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:
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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 1b1022dcf..de59b7599 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 !!!!!";
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
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;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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.";
- specialeffect(EF_FIRESPLASHHIT, AREA, playerattached());
+ specialeffect2 EF_FIRESPLASHHIT;
percentheal -50,0;
close;
}
@@ -1086,7 +1086,7 @@ OnTouch:
- script Magical Seal#SS FAKE_NPC,{
.@seal_check = questprogress(3041,PLAYTIME);
if (.@seal_check == 1) {
- specialeffect(EF_SILENCEATTACK, AREA, playerattached());
+ specialeffect2 EF_SILENCEATTACK;
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/jobs/2-2e/SoulLinker.txt b/npc/jobs/2-2e/SoulLinker.txt
index db916fc35..c67e9b9f5 100644
--- a/npc/jobs/2-2e/SoulLinker.txt
+++ b/npc/jobs/2-2e/SoulLinker.txt
@@ -434,7 +434,7 @@ OnTouch:
mes "[Maia]";
mes "This Witherless Rose will";
mes "wither away instead of you...";
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "Maia#link2"));
+ specialeffect EF_MAPPILLAR2,AREA,"Maia#link2";
next;
mes "[Maia]";
mes "This Witherless Rose will";
diff --git a/npc/merchants/enchan_arm.txt b/npc/merchants/enchan_arm.txt
index 434fabdb5..5b4cac2dc 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;
- specialeffect(EF_MAPPILLAR, AREA, playerattached());
+ specialeffect2 EF_MAPPILLAR;
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:
- specialeffect(EF_PHARMACY_FAIL, AREA, playerattached());
+ specialeffect2 EF_PHARMACY_FAIL;
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 256c2d802..1b5404a78 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;
}
- specialeffect(EF_READYPORTAL, AREA, playerattached());
- specialeffect(EF_TELEPORTATION, AREA, playerattached());
- specialeffect(EF_PORTAL, AREA, playerattached());
+ specialeffect2 EF_READYPORTAL;
+ specialeffect2 EF_TELEPORTATION;
+ specialeffect2 EF_PORTAL;
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;
}
- specialeffect(EF_READYPORTAL, AREA, playerattached());
- specialeffect(EF_TELEPORTATION, AREA, playerattached());
- specialeffect(EF_PORTAL, AREA, playerattached());
+ specialeffect2 EF_READYPORTAL;
+ specialeffect2 EF_TELEPORTATION;
+ specialeffect2 EF_PORTAL;
next;
Zeny -= .@cost[.@i];
switch(.@i) {
diff --git a/npc/other/arena/arena_aco.txt b/npc/other/arena/arena_aco.txt
index 99971eecd..0c46eea21 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;
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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 32bd12178..fbd2ba193 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;
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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 30734f043..b81831345 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;
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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 9a0c26aa3..c862585aa 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;
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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 3bb1cf43a..044b1eb31 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;
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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;
}
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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 c3133af30..d7865d441 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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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";
}
- specialeffect(EH_HIT5, AREA, playerattached());
+ specialeffect2 EH_HIT5;
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";
}
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
warp "arena_room",100,75;
end;
}
diff --git a/npc/other/divorce.txt b/npc/other/divorce.txt
index f490df2f9..e3d6f5ee7 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;
- specialeffect(EF_DEVIL, AREA, playerattached());
+ specialeffect2 EF_DEVIL;
wedding_sign = 0;
Zeny -= 2500000;
Sp = 0;
diff --git a/npc/other/gympass.txt b/npc/other/gympass.txt
index 50f7b18f7..d30fafeb8 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;
- specialeffect(EF_EARTHSPIKE, AREA, playerattached());
+ specialeffect2 EF_EARTHSPIKE;
next;
- specialeffect(EF_DEVIL, AREA, playerattached());
+ specialeffect2 EF_DEVIL;
next;
- specialeffect(EF_COIN, AREA, playerattached());
+ specialeffect2 EF_COIN;
next;
- specialeffect(EF_SIGHTRASHER, AREA, playerattached());
+ specialeffect2 EF_SIGHTRASHER;
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;
- specialeffect(EF_EARTHSPIKE, AREA, playerattached());
+ specialeffect2 EF_EARTHSPIKE;
next;
- specialeffect(EF_DEVIL, AREA, playerattached());
+ specialeffect2 EF_DEVIL;
next;
- specialeffect(EF_COIN, AREA, playerattached());
+ specialeffect2 EF_COIN;
next;
- specialeffect(EF_SIGHTRASHER, AREA, playerattached());
+ specialeffect2 EF_SIGHTRASHER;
next;
mes "[Ripped]";
mes "How about that?";
diff --git a/npc/other/poring_war.txt b/npc/other/poring_war.txt
index d89bb3fed..b3e0eb15a 100644
--- a/npc/other/poring_war.txt
+++ b/npc/other/poring_war.txt
@@ -1052,7 +1052,7 @@ OnInit:
OnEnable:
enablenpc "#wop_warp_a";
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#wop_warp_a"));
+ specialeffect EF_MAPPILLAR2,AREA,"#wop_warp_a";
end;
OnDisable:
@@ -1074,7 +1074,7 @@ OnInit:
OnEnable:
enablenpc "#wop_warp_d";
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#wop_warp_d"));
+ specialeffect EF_MAPPILLAR2,AREA,"#wop_warp_d";
end;
OnDisable:
diff --git a/npc/quests/bard_quest.txt b/npc/quests/bard_quest.txt
index 173efeca8..79eca7720 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";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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;
- specialeffect(EF_RESURRECTION, AREA, playerattached());
+ specialeffect2 EF_RESURRECTION;
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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
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;
- specialeffect(EF_POISONREACT2, AREA, playerattached());
+ specialeffect2 EF_POISONREACT2;
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 ad0306b2c..048201063 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";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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 a070bf8df..f785023fe 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.";
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2 EF_HEAL2;
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) {
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2 EF_HEAL2;
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) {
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2 EF_HEAL2;
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) {
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2 EF_HEAL2;
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) {
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2 EF_HEAL2;
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) {
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2 EF_HEAL2;
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 69cfb3cbf..2762325cb 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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
}
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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
close;
} else {
getexp 1000,500;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
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.";
- specialeffect(EF_PNEUMA, AREA, playerattached());
+ specialeffect2 EF_PNEUMA;
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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
//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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
break;
} else {
diff --git a/npc/quests/first_class/tu_archer.txt b/npc/quests/first_class/tu_archer.txt
index 834323086..479e71e67 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?");
- specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
+ specialeffect2 EF_TALK_FROSTJOKE;
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!");
- specialeffect(EF_TALK_SCREAM, AREA, playerattached());
+ specialeffect2 EF_TALK_SCREAM;
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;
- specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
+ specialeffect2 EF_TALK_FROSTJOKE;
//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.";
- specialeffect(EF_WIND, AREA, playerattached());
+ specialeffect2 EF_WIND;
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){
- specialeffect(EF_WIND, AREA, playerattached());
+ specialeffect2 EF_WIND;
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!";
- specialeffect(EF_WIND, AREA, playerattached());
+ specialeffect2 EF_WIND;
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!";
- specialeffect(EF_WIND, AREA, playerattached());
+ specialeffect2 EF_WIND;
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;
- specialeffect(EF_WIND, AREA, playerattached());
+ specialeffect2 EF_WIND;
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 198913b83..73a3007f3 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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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.";
- specialeffect(EF_NAPALMBEAT, AREA, playerattached());
+ specialeffect2 EF_NAPALMBEAT;
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.";
- specialeffect(EF_LIGHTBOLT, AREA, playerattached());
+ specialeffect2 EF_LIGHTBOLT;
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;
- specialeffect(EF_SIGHT, AREA, playerattached());
+ specialeffect2 EF_SIGHT;
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;
- specialeffect(EF_STONECURSE, AREA, playerattached());
+ specialeffect2 EF_STONECURSE;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_SOULSTRIKE, AREA, playerattached());
+ specialeffect2 EF_SOULSTRIKE;
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;
- specialeffect(EF_GLASSWALL, AREA, playerattached());
+ specialeffect2 EF_GLASSWALL;
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;
- specialeffect(EF_FIREBALL, AREA, playerattached());
+ specialeffect2 EF_FIREBALL;
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.";
- specialeffect(EF_FROSTDIVER, AREA, playerattached());
+ specialeffect2 EF_FROSTDIVER;
next;
- specialeffect(EF_FROSTDIVER2, AREA, playerattached());
+ specialeffect2 EF_FROSTDIVER2;
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;
- specialeffect(EF_THUNDERSTORM, AREA, playerattached());
+ specialeffect2 EF_THUNDERSTORM;
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;
- specialeffect(EF_FIREWALL, AREA, playerattached());
+ specialeffect2 EF_FIREWALL;
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;
- specialeffect(EF_ENERGYCOAT, AREA, playerattached());
+ specialeffect2 EF_ENERGYCOAT;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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 58e654122..13f251d71 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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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;
- specialeffect(EF_DETOXICATION, AREA, playerattached());
+ specialeffect2 EF_DETOXICATION;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
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;
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
close;
} else if(tu_thief01 == 8){
mes "Heya pal.";
diff --git a/npc/quests/kiel_hyre_quest.txt b/npc/quests/kiel_hyre_quest.txt
index 4fe113d57..3a21bbfa0 100644
--- a/npc/quests/kiel_hyre_quest.txt
+++ b/npc/quests/kiel_hyre_quest.txt
@@ -1967,7 +1967,7 @@ kh_vila,184,20,0 script Book#kh1::BookKHQ1 HIDDEN_NPC,{
mes "wall slides opens open";
mes "to reveal a secret path.^000000";
KielHyreQuest = 28;
- specialeffect(EF_READYPORTAL2, AREA, getnpcid(0, "Wall#kh"));
+ specialeffect EF_READYPORTAL2,AREA,"Wall#kh";
close;
}
else {
@@ -6393,11 +6393,11 @@ kh_kiehl02,50,52,4 script Kiehl#Original 4_M_KHKIEL,{
next;
mes "[Mitchell]";
mes "Nooooo!";
- specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Mitchell#KiehlRoom"));
- specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent1"));
- specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent2"));
- specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent3"));
- specialeffect(PF_FOGWALL, AREA, getnpcid(0, "Agent#KHAgent4"));
+ specialeffect PF_FOGWALL,AREA,"Mitchell#KiehlRoom";
+ specialeffect PF_FOGWALL,AREA,"Agent#KHAgent1";
+ specialeffect PF_FOGWALL,AREA,"Agent#KHAgent2";
+ specialeffect PF_FOGWALL,AREA,"Agent#KHAgent3";
+ specialeffect PF_FOGWALL,AREA,"Agent#KHAgent4";
next;
cutin "kh_kiel03",2;
mes "[Kiehl]";
diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt
index eb07fb029..722509fbc 100644
--- a/npc/quests/newgears/2004_headgears.txt
+++ b/npc/quests/newgears/2004_headgears.txt
@@ -1927,10 +1927,10 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 4_M_ALCHE_A,{
enablenpc " #Alarm Mask Man2";
enablenpc " #Alarm Mask Man3";
enablenpc " #Alarm Mask Man4";
- specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man1"));
- specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man2"));
- specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man3"));
- specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man4"));
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man1";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man2";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man3";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man4";
initnpctimer;
if (countitem(Needle_Of_Alarm) > 2999 && countitem(Mr_Scream) > 0) {
if (select("Give him items", "Cancel") == 1) {
@@ -2042,10 +2042,10 @@ OnTimer4000:
disablenpc " #Alarm Mask Man2";
disablenpc " #Alarm Mask Man3";
disablenpc " #Alarm Mask Man4";
- specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man1"));
- specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man2"));
- specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man3"));
- specialeffect(EF_CLAYMORE, AREA, getnpcid(0, " #Alarm Mask Man4"));
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man1";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man2";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man3";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man4";
stopnpctimer;
end;
}
diff --git a/npc/quests/newgears/2010_headgears.txt b/npc/quests/newgears/2010_headgears.txt
index 16d76d5e6..7fb5178b8 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.";
- specialeffect(EF_MAPPILLAR2, AREA, playerattached());
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2 EF_MAPPILLAR2;
+ specialeffect2 EF_BLESSING;
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 17cacaff6..562609d31 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. -";
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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) {
- specialeffect(EF_BUBBLE, AREA, playerattached());
- specialeffect(EF_INVENOM, AREA, playerattached());
+ specialeffect2 EF_BUBBLE;
+ specialeffect2 EF_INVENOM;
.@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)) {
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",10;
.@rhea_ran = rand(1,20);
if (.@rhea_ran < 13) getitem Stone,1;
@@ -9844,7 +9844,7 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
next;
mes "[Expedition Messenger]";
mes "What's up? Why haven't you left...?";
- specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger"));
+ specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger";
next;
mes "[Expedition Messenger]";
mes "Argh... Why are you doing this?!";
@@ -9871,8 +9871,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "[???]";
mes "Argh...";
next;
- specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3"));
- specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3"));
+ specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger#3";
+ specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger#3";
mes "[???]";
mes "Argh... You...";
next;
@@ -9882,8 +9882,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "[???]";
mes "No... Noooo!";
next;
- specialeffect(EF_SOULBREAKER, AREA, playerattached());
- specialeffect(EF_SONICBLOWHIT, AREA, playerattached());
+ specialeffect2 EF_SOULBREAKER;
+ specialeffect2 EF_SONICBLOWHIT;
mes "[Expedition Messenger]";
mes "Argh... " + strcharinfo(PC_NAME) + ", are you alright? The report... The report...";
next;
@@ -9924,8 +9924,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "[???]";
mes "Argh!";
next;
- specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3"));
- specialeffect(EF_SOULBREAKER, AREA, getnpcid(0, "Expedition Messenger#3"));
+ specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger#3";
+ specialeffect EF_SOULBREAKER,AREA,"Expedition Messenger#3";
mes "[???]";
mes "Argh... You...";
next;
@@ -9935,8 +9935,8 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "[???]";
mes "No... Noooo!";
next;
- specialeffect(EF_SOULBREAKER, AREA, playerattached());
- specialeffect(EF_SONICBLOWHIT, AREA, playerattached());
+ specialeffect2 EF_SOULBREAKER;
+ specialeffect2 EF_SONICBLOWHIT;
mes "[Expedition Messenger]";
mes "Argh... " + strcharinfo(PC_NAME) + ", are you alright? The report... The report...";
next;
@@ -11548,7 +11548,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
specialeffect EF_BEGINSPELL2;
next;
mes "- The fire sparked, but then it immediatly blew out. -";
- specialeffect(EF_FIREARROW, AREA, getnpcid(0, "Wet Firewood#moc2"));
+ specialeffect EF_FIREARROW,AREA,"Wet Firewood#moc2";
next;
mes "[Defaria]";
mes "...............";
@@ -11567,7 +11567,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
specialeffect EF_BEGINSPELL2;
next;
mes "- The fire sparked, but then it immediately blew out.-";
- specialeffect(EF_FIREARROW, AREA, getnpcid(0, "Wet Firewood#moc2"));
+ specialeffect EF_FIREARROW,AREA,"Wet Firewood#moc2";
next;
mes "[Defaria]";
mes "...............";
@@ -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!";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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!";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
percentheal -10,0;
next;
mes "[Defaria]";
@@ -11804,8 +11804,8 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "Hopefully I can make a fire with your nice logs....";
specialeffect EF_BEGINSPELL2;
next;
- specialeffect(EF_FIREWALL, AREA, getnpcid(0, "Wet Firewood#moc2"));
- specialeffect(EF_TORCH, AREA, getnpcid(0, "Wet Firewood#moc2"));
+ specialeffect EF_FIREWALL,AREA,"Wet Firewood#moc2";
+ specialeffect EF_TORCH,AREA,"Wet Firewood#moc2";
mes "[Defaria]";
mes "Oh, this is as great as I'd hoped!";
mes "I guess my magic hasn't gotten that rusty after all..";
@@ -13096,17 +13096,17 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{
cutin "moc2_dan02",255;
switch(select("Smack his head.", "Punch his stomach.", "Slap his face.")) {
case 1:
- specialeffect(EF_HIT2, AREA, getnpcid(0, "Rayan#moc_room2_2"));
+ specialeffect EF_HIT2,AREA,"Rayan#moc_room2_2";
mes "- Wanting to stop Rayan from going berserk, you smacked the back of his head with the journal. Rayan staggered and then fell to the ground. Nice job! -";
next;
break;
case 2:
- specialeffect(EF_HIT4, AREA, getnpcid(0, "Rayan#moc_room2_2"));
+ specialeffect EF_HIT4,AREA,"Rayan#moc_room2_2";
mes "- Wanting to stop Rayan from going berserk, you sucker punched him in the 'ole bread basket. Rayan staggered and then fell to the ground...! -";
next;
break;
case 3:
- specialeffect(EF_HIT1, AREA, getnpcid(0, "Rayan#moc_room2_2"));
+ specialeffect EF_HIT1,AREA,"Rayan#moc_room2_2";
mes "- Wanting to stop Rayan from going berserk, you slapped his face with the journal. Rayan staggered and then fell onto the ground. Wah! -";
next;
break;
@@ -13117,7 +13117,7 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{
mes "[Rayan]";
mes "Ahh....";
mes "....? Isn't.. Isn't this?!....";
- specialeffect(EF_POISON, AREA, getnpcid(0, "Rayan#moc_room2_2"));
+ specialeffect EF_POISON,AREA,"Rayan#moc_room2_2";
next;
mes "[Rin]";
mes "Wah! What's going on?";
@@ -13159,7 +13159,7 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{
mes "You're Rin, right?";
mes "This is the last time you'll ever see me.";
mes "Haha... Muhahahahaha!!";
- specialeffect(EF_ENTRY, AREA, getnpcid(0, "Rayan#moc_room2_2"));
+ specialeffect EF_ENTRY,AREA,"Rayan#moc_room2_2";
donpcevent "Rayan#moc_room2_2::OnDisable";
next;
cutin "moc2_rin03",2;
@@ -13533,8 +13533,8 @@ OnTouch:
mes "Why? Why is Rin here? Wait, where am I?";
mes "Argh.. I can't move at all...";
next;
- specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_1"));
- specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_2"));
+ specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_1";
+ specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_2";
emotion e_gasp,"Rin#moc2_bt_rin01";
emotion e_gasp,1;
mes "[Rin]";
@@ -13543,8 +13543,8 @@ OnTouch:
next;
donpcevent "Rin#moc2_bt_rin01::OnDisable";
donpcevent "Rin#moc2_bt_rin02::OnEnable";
- specialeffect(EF_ICECRASH, AREA, getnpcid(0, "Rin#moc2_bt_rin01"));
- specialeffect(EF_METEORSTORM, AREA, getnpcid(0, "Rin#moc2_bt_rin01"));
+ specialeffect EF_ICECRASH,AREA,"Rin#moc2_bt_rin01";
+ specialeffect EF_METEORSTORM,AREA,"Rin#moc2_bt_rin01";
mes "[Rayan]";
mes "Hah, how impressive! You run like a rabbit!";
mes "I should have you killed you when I had the chance.";
@@ -13561,16 +13561,16 @@ OnTouch:
donpcevent "Dandelion Member#moc2_4::OnEnable";
donpcevent "Dandelion Member#moc2_5::OnEnable";
next;
- specialeffect(EF_FREEZED, AREA, getnpcid(0, "Rin#moc2_bt_rin02"));
+ specialeffect EF_FREEZED,AREA,"Rin#moc2_bt_rin02";
emotion e_gasp;
mapannounce "que_dan01", "Rin: When.. When did you...!?!",bc_map,"0x7b68ee";
mes "[Rayan]";
mes "I'm sorry that I have to do this.";
mes "...";
mes "Kill her.";
- specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_3"));
- specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_4"));
- specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Dandelion Member#moc2_5"));
+ specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_3";
+ specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_4";
+ specialeffect EF_BEGINSPELL2,AREA,"Dandelion Member#moc2_5";
next;
mapannounce "que_dan01", "Rayan: Follow me as soon as you take care of her. Our next meeting place is the usual place. I'm leaving.",bc_map,"0xA8A8A8";
donpcevent "Rayan#moc2_bt_r01::OnDisable";
@@ -13578,9 +13578,9 @@ OnTouch:
donpcevent "Dandelion Member#moc2_2::OnDisable";
mes "[" + strcharinfo(PC_NAME) + "]";
mes "Rin-!!!";
- specialeffect(EF_LIGHTBOLT, AREA, getnpcid(0, "Rin#moc2_bt_rin02"));
- specialeffect(EF_FIREPILLARBOMB, AREA, getnpcid(0, "Rin#moc2_bt_rin02"));
- specialeffect(EF_METEORSTORM, AREA, getnpcid(0, "Rin#moc2_bt_rin02"));
+ specialeffect EF_LIGHTBOLT,AREA,"Rin#moc2_bt_rin02";
+ specialeffect EF_FIREPILLARBOMB,AREA,"Rin#moc2_bt_rin02";
+ specialeffect EF_METEORSTORM,AREA,"Rin#moc2_bt_rin02";
donpcevent "Rin#moc2_bt_rin02::OnDisable";
next;
mes "You feel helpless: you can do nothing but watch her slowly get overpowered..";
diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt
index e64e1c84a..0dfd16d23 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)) {
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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) {
- specialeffect(EF_BUBBLE, AREA, playerattached());
- specialeffect(EF_INVENOM, AREA, playerattached());
+ specialeffect2 EF_BUBBLE;
+ specialeffect2 EF_INVENOM;
.@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;
- specialeffect(EF_BUBBLE, AREA, playerattached());
+ specialeffect2 EF_BUBBLE;
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 -";
- specialeffect(EF_HEALSP, AREA, playerattached());
+ specialeffect2 EF_HEALSP;
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 0f9616a35..8c743d99a 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;
- specialeffect(EF_PIERCE, AREA, playerattached());
+ specialeffect2 EF_PIERCE;
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;
- specialeffect(EF_PIERCE, AREA, playerattached());
+ specialeffect2 EF_PIERCE;
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;
- specialeffect(EF_PIERCE, AREA, playerattached());
+ specialeffect2 EF_PIERCE;
percentheal -10,0;
close;
}
@@ -784,16 +784,16 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{
ein_in01,127,94,3 script #exp_ein HIDDEN_NPC,{ end; }
function script F_Cherno {
- specialeffect(EF_COMBOATTACK1, AREA, getnpcid(0, "#exp_ein"));
+ specialeffect EF_COMBOATTACK1,AREA,"#exp_ein";
mes "^33355F*Bang*^000000";
next;
- specialeffect(EF_COMBOATTACK2, AREA, getnpcid(0, "#exp_ein"));
+ specialeffect EF_COMBOATTACK2,AREA,"#exp_ein";
mes "^33355F*Bang*^000000";
next;
- specialeffect(EF_COMBOATTACK3, AREA, getnpcid(0, "#exp_ein"));
+ specialeffect EF_COMBOATTACK3,AREA,"#exp_ein";
mes "^33355F*Bang*^000000";
next;
- specialeffect(EF_POISONATTACK, AREA, getnpcid(0, "#exp_ein"));
+ specialeffect EF_POISONATTACK,AREA,"#exp_ein";
mes "^33355F*Crash!*^000000";
mes ".....";
emotion e_swt,0,"Theo Cherno";
@@ -1294,65 +1294,65 @@ OnTimer68000:
end;
OnTimer73000:
mapannounce "airplane_01", "*Kzzz...Drrrr...Boom! CRASH!*",bc_map,0x00FF00;
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane";
end;
OnTimer73500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane";
end;
OnTimer74000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane";
end;
OnTimer74500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane";
end;
OnTimer75000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane";
end;
OnTimer75500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane";
end;
OnTimer76000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane";
end;
OnTimer76500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane";
end;
OnTimer77000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane";
end;
OnTimer77500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane";
end;
OnTimer78000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane";
mapannounce "airplane_01", "Engineer: Oh no! We've got a problem with the Number One Rear Engine!",bc_map,0x00FF00;
end;
OnTimer79000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane";
end;
OnTimer80000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane";
end;
OnTimer81000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane";
end;
OnTimer82000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane";
end;
OnTimer83000:
mapannounce "airplane_01", "Pilot: Hurry! Get the women, old people and children somewhere safe first! Hurry!",bc_map,0x00FF00;
end;
OnTimer84000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane";
end;
OnTimer85000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane";
end;
OnTimer86000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane";
end;
OnTimer87000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane";
end;
OnTimer88000:
emotion e_ag,0,"Airship Captain#02";
@@ -1368,46 +1368,46 @@ OnTimer98000:
end;
OnTimer103000:
mapannounce "airplane_01", "*Bang! Bang Bang! Bang Bang! Bang Bang Bang!*",bc_map,0x00FF00;
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer103500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom1#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom1#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer104000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom2#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom2#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer104500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom3#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom3#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer105000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom4#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom4#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer105500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom5#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom5#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer106000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom0#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom0#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer106500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom1#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom1#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer107000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom2#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom2#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer107500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom4#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom4#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer108000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom5#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom5#airplane";
killmonster "airplane_01","Airship#airplane02::OnCaptainMobDead";
end;
OnTimer113000:
@@ -1416,59 +1416,59 @@ OnTimer113000:
end;
OnTimer118000:
mapannounce "airplane_01", "*Bang! Bang Bang! Bang Bang! Bang Bang Bang!*",bc_map,0x00FF00;
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer118500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer119000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer119500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer120000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer120500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer121000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer121500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer122000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer122500:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane"));
- specialeffect(EF_HIT5, AREA, getnpcid(0, "Airship Captain#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane";
+ specialeffect EF_HIT5,AREA,"Airship Captain#02";
end;
OnTimer123000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom8#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom8#airplane";
mapannounce "airplane_01", "*Boom! Boom Boom! Boom Boom! Boom!*",bc_map,0x00FF00;
end;
OnTimer124000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom9#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom9#airplane";
end;
OnTimer125000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom10#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom10#airplane";
end;
OnTimer126000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom6#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom6#airplane";
end;
OnTimer127000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "boom7#airplane"));
+ specialeffect EF_SUI_EXPLOSION,AREA,"boom7#airplane";
end;
OnTimer128000:
emotion e_an,0,"Airship Captain#02";
@@ -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;
- specialeffect(EF_MAPPILLAR, AREA, playerattached());
+ specialeffect2 EF_MAPPILLAR;
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;
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
completequest 8043;
lhz_heart = 13;
if (RENEWAL_EXP)
diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt
index 3479261f5..1ac300153 100644
--- a/npc/quests/quests_hugel.txt
+++ b/npc/quests/quests_hugel.txt
@@ -297,7 +297,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "medicine you're";
mes "supposed to";
mes "need so badly.";
- specialeffect(EF_CHANGECOLD, AREA, getnpcid(0, "Postell Schuwell#D"));
+ specialeffect EF_CHANGECOLD,AREA,"Postell Schuwell#D";
next;
mes "[Allen]";
mes "Thank goodness...";
@@ -2443,17 +2443,17 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "[Herico]";
mes "Then...SPIT THEM OUT!";
percentheal -5,0;
- specialeffect(EF_HIT4, AREA, playerattached());
+ specialeffect2 EF_HIT4;
next;
mes "[Herico]";
mes "SPIT THEM OUT!";
percentheal -5,0;
- specialeffect(EF_HIT4, AREA, playerattached());
+ specialeffect2 EF_HIT4;
next;
mes "[Herico]";
mes "I SAID, SPIT THEM OUUUUUT!";
percentheal -5,0;
- specialeffect(EF_HIT4, AREA, playerattached());
+ specialeffect2 EF_HIT4;
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* -";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered mushrooms. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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* -";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered mushrooms. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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* -";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- You were being clumsy and broke the mushrooms. You have failed in gathering the mushrooms. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered mushrooms. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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* -";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered Clam Flesh. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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* -";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
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. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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* -";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered Clam Flesh. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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* -";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- Clams are too strong to open. You have failed in gathering Clam Flesh. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered Clam Flesh. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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*-";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- The bugs quickly ran away. You have failed to gather their shells. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered Moks Bugs Shells. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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*-";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- The bugs quickly ran away. You have failed to gather their shells. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered Moks Bugs Shells. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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*-";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- The bugs quickly ran away. You have failed to gather their shells. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered Moks Bugs Shells. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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*-";
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
next;
if (rand(1,5) > 4) {
mes "- The bugs quickly ran away. You have failed to gather their shells. -";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
close;
}
mes "- You have successfully gathered Moks Bugs Shells. -";
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
++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!";
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
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) {
- specialeffect(EF_BEGINSPELL5, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL5;
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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
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~";
- specialeffect((hg_ubu01 == 6)?EF_CONE:EF_MVP, AREA, playerattached());
+ specialeffect2 (hg_ubu01 == 6)?EF_CONE:EF_MVP;
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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
getexp RENEWAL_EXP?10000:100000,0;
getitem 12063,3;
erasequest 12043;
@@ -9384,7 +9384,7 @@ OnTouch:
mes "followed. Hold on a sec";
mes "while I take care of him.";
next;
- specialeffect(EF_SONICBLOWHIT, AREA, getnpcid(0, "Hit"));
+ specialeffect EF_SONICBLOWHIT,AREA,"Hit";
mes "[???]";
mes "Ha!";
next;
diff --git a/npc/quests/quests_juperos.txt b/npc/quests/quests_juperos.txt
index 2f2bb0956..558c80860 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...";
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
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";
- specialeffect(EF_SCREEN_QUAKE, AREA, playerattached());
+ specialeffect2 563;
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;
- specialeffect(EF_SCREEN_QUAKE, AREA, playerattached());
+ specialeffect2 563;
soundeffectall "earth_quake.wav",0;
close2;
cutin "5-1",255;
@@ -4912,7 +4912,7 @@ OnTouch:
next;
switch(select("Use it.", "Ignore it.")) {
case 1:
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
close2;
stopnpctimer;
warp "juperos_02",130,142;
diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt
index 8709629b0..26b7de092 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...";
- specialeffect(EF_SIGHT, AREA, playerattached());
+ specialeffect2 EF_SIGHT;
next;
mes "[Elder]";
mes "Yaaaaappp ---!";
- specialeffect(EF_SIGHTRASHER, AREA, playerattached());
- specialeffect(EF_VOLCANO, AREA, playerattached());
- specialeffect(EF_MAPPILLAR, AREA, playerattached());
+ specialeffect2 EF_SIGHTRASHER;
+ specialeffect2 EF_VOLCANO;
+ specialeffect2 EF_MAPPILLAR;
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...";
- specialeffect(EF_BENEDICTIO, AREA, playerattached());
+ specialeffect2 EF_BENEDICTIO;
next;
mes "[Elder]";
mes "Yaaaaapp ---!";
- specialeffect(EF_ASPERSIO, AREA, playerattached());
+ specialeffect2 EF_ASPERSIO;
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;
- specialeffect(EF_FORESTLIGHT4, AREA, playerattached());
+ specialeffect2 EF_FORESTLIGHT4;
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;
- specialeffect(EF_FORESTLIGHT4, AREA, playerattached());
+ specialeffect2 EF_FORESTLIGHT4;
mes "......";
next;
mes "["+strcharinfo(PC_NAME)+"]";
@@ -5203,7 +5203,7 @@ OnTouch_:
mes ".............";
next;
mes "*Shhhzzzzzzz!*";
- specialeffect(EF_MAPPILLAR, AREA, playerattached());
+ specialeffect2 EF_MAPPILLAR;
next;
mes "[????]";
mes "...........";
diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt
index 61888cab4..e05cd3313 100644
--- a/npc/quests/quests_louyang.txt
+++ b/npc/quests/quests_louyang.txt
@@ -4122,7 +4122,7 @@ lou_fild01,224,348,0 script Lady#delivery 4_F_CHNDRESS3,{
Zeny -= 100;
}
close2;
- specialeffect(EF_BLASTMINEBOMB, AREA, getnpcid(0, " #fire"));
+ specialeffect EF_BLASTMINEBOMB,AREA," #fire";
end;
}
mes "[Lady]";
diff --git a/npc/quests/quests_morocc.txt b/npc/quests/quests_morocc.txt
index e786e3580..0d509b2d4 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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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;
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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.";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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";
- specialeffect(EF_BASH3D2, AREA, playerattached());
+ specialeffect2 EF_BASH3D2;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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;
- specialeffect(EF_BASH3D2, AREA, playerattached());
+ specialeffect2 EF_BASH3D2;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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;
- specialeffect(EF_BASH3D2, AREA, playerattached());
+ specialeffect2 EF_BASH3D2;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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;
- specialeffect(EF_BASH3D2, AREA, playerattached());
+ specialeffect2 EF_BASH3D2;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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;
- specialeffect(EF_ENHANCE, AREA, playerattached());
+ specialeffect2 EF_ENHANCE;
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;
- specialeffect(EF_DETOXICATION, AREA, playerattached());
+ specialeffect2 EF_DETOXICATION;
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...";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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?";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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;
- specialeffect(EF_ENHANCE, AREA, playerattached());
+ specialeffect2 EF_ENHANCE;
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...?";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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;
- specialeffect(EF_FLASHER, AREA, playerattached());
+ specialeffect2 EF_FLASHER;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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!";
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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 8632e160c..c722f2677 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;
- specialeffect(EF_EXIT, AREA, playerattached());
+ specialeffect2 EF_EXIT;
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.";
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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.";
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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.";
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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...";
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_SUMMONSLAVE, AREA, playerattached());
+ specialeffect2 EF_SUMMONSLAVE;
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;
- specialeffect(EF_DARKBREATH, AREA, playerattached());
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_DARKBREATH;
+ specialeffect2 EF_HIT2;
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;
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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 -";
- specialeffect(EF_BEGINSPELL, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL;
specialeffect EF_FREEZED;
next;
} else {
@@ -7096,15 +7096,15 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
mes "- The wind disappears and -";
mes "- a very young girl appears -";
donpcevent "Maria Morebna#rus46::OnEnable";
- specialeffect(EF_FREEZED, AREA, getnpcid(0, "Maria Morebna#rus46"));
+ specialeffect EF_FREEZED,AREA,"Maria Morebna#rus46";
next;
mes "[Maria Morebna]";
mes "Thank you!";
mes "I'm finally out of there! Now I can.....................aaaaak!!!....";
next;
- specialeffect(EF_HIT2, AREA, getnpcid(0, "Maria Morebna#rus46"));
- specialeffect(EF_DARKBREATH, AREA, getnpcid(0, "Maria Morebna#rus46"));
- specialeffect(EF_DEVIL, AREA, getnpcid(0, "Maria Morebna#rus46"));
+ specialeffect EF_HIT2,AREA,"Maria Morebna#rus46";
+ specialeffect EF_DARKBREATH,AREA,"Maria Morebna#rus46";
+ specialeffect EF_DEVIL,AREA,"Maria Morebna#rus46";
mes "- Maria is attacked -";
mes "- and falls down!! -";
next;
@@ -7133,7 +7133,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
mes "Gray Wolf...";
mes "You think you can fight me?!";
next;
- specialeffect(EF_FIREHIT, AREA, getnpcid(0, "Gray Wolf#rus05"));
+ specialeffect EF_FIREHIT,AREA,"Gray Wolf#rus05";
mes "- Staggering from -";
mes "- Koshei's flames, -";
mes "- Gray Wolf quickly tell me -";
@@ -7261,7 +7261,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
mes "- The wounds and -";
mes "- curses on her body -";
mes "- are removed !! -";
- specialeffect(EF_ABSORBSPIRITS, AREA, getnpcid(0, "Maria Morebna#rus46"));
+ specialeffect EF_ABSORBSPIRITS,AREA,"Maria Morebna#rus46";
next;
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Ok! Next...";
@@ -7291,7 +7291,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
next;
}
mes "- !! -";
- specialeffect(EF_RESURRECTION, AREA, getnpcid(0, "Maria Morebna#rus46"));
+ specialeffect EF_RESURRECTION,AREA,"Maria Morebna#rus46";
next;
mes "[Gray Wolf]";
mes "Success!!";
@@ -7644,7 +7644,7 @@ moscovia,178,127,0 script The Blacksmith#rus06 1_M_SMITH,{
next;
mes "[The Blacksmith]";
mes "'^ff0000Spellshield Protection^000000.";
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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! -";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
percentheal -5,0;
close;
}
@@ -8705,7 +8705,7 @@ OnTouch:
mes "- something gleaming -";
mes "- seems to stare at you!! -";
close2;
- specialeffect(EF_FLASHER, AREA, playerattached());
+ specialeffect2 EF_FLASHER;
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;
- specialeffect(EF_FLASHER, AREA, playerattached());
+ specialeffect2 EF_FLASHER;
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;
- specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect2 EF_LORD;
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;
- specialeffect(EF_FLASHER, AREA, playerattached());
+ specialeffect2 EF_FLASHER;
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!!!";
- specialeffect(EF_FIREHIT, AREA, playerattached());
+ specialeffect2 EF_FIREHIT;
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!!'";
- specialeffect(EF_BARRIER, AREA, playerattached());
+ specialeffect2 EF_BARRIER;
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$ +" !!!";
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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!!!'";
- specialeffect(EF_BEGINSPELL3, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL3;
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?!";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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?!";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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-";
- specialeffect(EF_STUNATTACK, AREA, playerattached());
+ specialeffect2 EF_STUNATTACK;
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 9461461a5..0e0422530 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;
- specialeffect(EF_ENCHANTPOISON, AREA, playerattached());
+ specialeffect2 EF_ENCHANTPOISON;
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 d3d392817..59baa6f04 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;
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
mes "^3355FF*Pzzzz*^000000";
next;
mes "[Hamion]";
@@ -3722,10 +3722,10 @@ OnStart:
enablenpc "#ice_4f_2";
enablenpc "#ice_4f_3";
enablenpc "#ice_4f_4";
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#ice_4f_1"));
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#ice_4f_2"));
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#ice_4f_3"));
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#ice_4f_4"));
+ specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_1";
+ specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_2";
+ specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_3";
+ specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_4";
end;
OnTimer60000:
@@ -4847,7 +4847,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
cutin "",255;
lost_boy = 13;
completequest 8099;
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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;
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
if (RENEWAL_EXP)
getexp 90000,60000;
else
diff --git a/npc/quests/quests_veins.txt b/npc/quests/quests_veins.txt
index c448e32c7..c6c95bc17 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;
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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;
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
next;
}
mes "[Colonel Vito]";
diff --git a/npc/quests/seals/brisingamen_seal.txt b/npc/quests/seals/brisingamen_seal.txt
index 815459c41..6976517ce 100644
--- a/npc/quests/seals/brisingamen_seal.txt
+++ b/npc/quests/seals/brisingamen_seal.txt
@@ -3226,7 +3226,7 @@ OnTouch:
mes "Go, Lowen!";
mes "Cast Grand Cross, now!^000000";
next;
- specialeffect(EF_BEGINSPELL7, AREA, getnpcid(0, "#lowen"));
+ specialeffect EF_BEGINSPELL7,AREA,"#lowen";
mapannounce "que_god02","Mwahaha! Mortals are such fools...",0,0xA8A8A8;
donpcevent "#brisinsummon::OnDoppel1Off";
donpcevent "#brisinsummon::OnDoppel2On";
@@ -3237,7 +3237,7 @@ OnTouch:
mes "[" + strcharinfo(PC_NAME) + "]";
mes " ??!!!";
next;
- specialeffect(EF_BEGINSPELL7, AREA, getnpcid(0, "#doppelganger2"));
+ specialeffect EF_BEGINSPELL7,AREA,"#doppelganger2";
mes "[Male Voice]";
mes "Lowen!";
mes "Noooooooooo!!!";
@@ -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.";
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2 EF_BLESSING;
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.";
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2 EF_BLESSING;
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.";
- specialeffect(EF_IMPOSITIO, AREA, playerattached());
+ specialeffect2 EF_IMPOSITIO;
god_brising = 44;
close2;
hideonnpc "Berling#1";
diff --git a/npc/quests/seals/megingard_seal.txt b/npc/quests/seals/megingard_seal.txt
index 96a634a4e..228268602 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;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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;
- specialeffect(EF_HOLYCROSS, AREA, playerattached());
+ specialeffect2 EF_HOLYCROSS;
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;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
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;
- specialeffect(EF_HOLYCROSS, AREA, playerattached());
+ specialeffect2 EF_HOLYCROSS;
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 746167f20..e4775cfb2 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) {
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
.@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) {
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
.@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) {
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
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) {
- specialeffect(EF_AUTOCOUNTER, AREA, playerattached());
+ specialeffect2 EF_AUTOCOUNTER;
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 {
- specialeffect(EF_CRASHEARTH, AREA, playerattached());
+ specialeffect2 EF_CRASHEARTH;
.@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) {
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
.@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) {
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
.@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) {
- specialeffect(EF_HIT4, AREA, playerattached());
+ specialeffect2 EF_HIT4;
.@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) {
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
.@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) {
- specialeffect(EF_HEAL, AREA, playerattached());
+ specialeffect2 EF_HEAL;
.@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) {
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
.@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) {
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
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) {
- specialeffect(EF_AUTOCOUNTER, AREA, playerattached());
+ specialeffect2 EF_AUTOCOUNTER;
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 {
- specialeffect(EF_CRASHEARTH, AREA, playerattached());
+ specialeffect2 EF_CRASHEARTH;
.@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) {
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
.@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) {
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
.@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) {
- specialeffect(EF_HIT4, AREA, playerattached());
+ specialeffect2 EF_HIT4;
.@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) {
- specialeffect(EF_HIT5, AREA, playerattached());
+ specialeffect2 EF_HIT5;
.@p_vit -= .@damage;
mes "--------------------";
mes "Sudri successfully";
diff --git a/npc/quests/skills/assassin_skills.txt b/npc/quests/skills/assassin_skills.txt
index 7e03eac2f..4c282caef 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.";
- specialeffect(EF_INVENOM, AREA, playerattached());
+ specialeffect2 EF_INVENOM;
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;
- specialeffect(EF_INVENOM, AREA, playerattached());
+ specialeffect2 EF_INVENOM;
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;
- specialeffect(EF_SONICBLOW, AREA, playerattached());
+ specialeffect2 EF_SONICBLOW;
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;
- specialeffect(EF_SONICBLOW, AREA, playerattached());
+ specialeffect2 EF_SONICBLOW;
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;
- specialeffect(EF_SONICBLOW, AREA, playerattached());
+ specialeffect2 EF_SONICBLOW;
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;
- specialeffect(EF_SONICBLOW, AREA, playerattached());
+ specialeffect2 EF_SONICBLOW;
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;
- specialeffect(EF_SONICBLOW, AREA, playerattached());
+ specialeffect2 EF_SONICBLOW;
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.";
- specialeffect(EF_SONICBLOW, AREA, playerattached());
+ specialeffect2 EF_SONICBLOW;
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;
- specialeffect(EF_SONICBLOW, AREA, playerattached());
+ specialeffect2 EF_SONICBLOW;
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;
- specialeffect(EF_SONICBLOW, AREA, playerattached());
+ specialeffect2 EF_SONICBLOW;
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;
- specialeffect(EF_SONICBLOW, AREA, playerattached());
+ specialeffect2 EF_SONICBLOW;
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 6df565fb2..6fe904e28 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...!''";
- specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
+ specialeffect2 EF_TALK_FROSTJOKE;
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...!''";
- specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
+ specialeffect2 EF_TALK_FROSTJOKE;
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 4da84d035..82a516e5d 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!";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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!";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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!";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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!";
- specialeffect(EF_FLASHER, AREA, playerattached());
+ specialeffect2 EF_FLASHER;
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!";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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!";
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
percentheal -5,0;
close;
case 3:
mes "["+ strcharinfo(PC_NAME) +"]";
mes "Un, deux, trois~";
emotion e_no1,1;
- specialeffect(EF_FLASHER, AREA, playerattached());
+ specialeffect2 EF_FLASHER;
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;
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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";
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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;
- specialeffect(EF_VALLENTINE2, AREA, playerattached());
+ specialeffect2 EF_VALLENTINE2;
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;
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT2;
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 488e6eaf8..2d8aaf691 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;
- specialeffect(EF_FLASHER, AREA, playerattached());
+ specialeffect2 EF_FLASHER;
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 a463686da..9a63fba52 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) {
- specialeffect(EF_HEALSP, AREA, playerattached());
+ specialeffect2 EF_HEALSP;
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 {
- specialeffect(EF_POISONHIT, AREA, playerattached());
+ specialeffect2 EF_POISONHIT;
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 aafa899da..a1c64b09f 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) {
- specialeffect(EF_CHANGECOLD, AREA, playerattached());
+ specialeffect2 EF_CHANGECOLD;
specialeffect EF_CHANGEWIND;
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
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;
- specialeffect(EF_POTION7, AREA, playerattached());
+ specialeffect2 EF_POTION7;
}
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.";
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
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;
- specialeffect(EF_CHANGEWIND, AREA, playerattached());
+ specialeffect2 EF_CHANGEWIND;
next;
mes "[Haijara Greg]";
mes "Hmpf. Now you are";
mes "helpless, allowing";
mes "me to do this: ^FF0000Back Stab^000000!";
- specialeffect(EF_COMBOATTACK5, AREA, playerattached());
+ specialeffect2 EF_COMBOATTACK5;
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;
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
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;
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
close;
}
mes "[Haijara Greg]";
@@ -1205,7 +1205,7 @@ function script F_Kienna {
mes "You blocked me!";
mes "Very nice work~";
specialeffect EF_POTION1;
- specialeffect(EF_POTION7, AREA, playerattached());
+ specialeffect2 EF_POTION7;
++.@suc_1;
}
else {
diff --git a/npc/quests/skills/sage_skills.txt b/npc/quests/skills/sage_skills.txt
index cb7dd81be..420477f4f 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~~";
- specialeffect(EF_RUWACH, AREA, playerattached());
+ specialeffect2 EF_RUWACH;
next;
mes "[Mishuna]";
mes "Yap!";
- specialeffect(EF_BRANDISHSPEAR, AREA, playerattached());
+ specialeffect2 EF_BRANDISHSPEAR;
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~~";
- specialeffect(EF_RUWACH, AREA, playerattached());
+ specialeffect2 EF_RUWACH;
next;
mes "[Mishuna]";
mes "Yap!";
- specialeffect(EF_BRANDISHSPEAR, AREA, playerattached());
+ specialeffect2 EF_BRANDISHSPEAR;
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";
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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";
- specialeffect(EF_RUWACH, AREA, playerattached());
+ specialeffect2 EF_RUWACH;
next;
mes "[Mishuna]";
mes "@#$%^~ Yap!";
- specialeffect(EF_BRANDISHSPEAR, AREA, playerattached());
+ specialeffect2 EF_BRANDISHSPEAR;
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 31a9489f0..fd146a94f 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";
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
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.";
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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;
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
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.";
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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 4363a6a27..53c7b331f 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;
- specialeffect(EF_COMBOATTACK1, AREA, playerattached());
+ specialeffect2 EF_COMBOATTACK1;
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;
- specialeffect(EF_COMBOATTACK1, AREA, playerattached());
+ specialeffect2 EF_COMBOATTACK1;
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;
- specialeffect(EF_COMBOATTACK1, AREA, playerattached());
+ specialeffect2 EF_COMBOATTACK1;
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;
- specialeffect(EF_BEGINSPELL6, AREA, playerattached());
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL6;
+ specialeffect2 EF_SPELLBREAKER;
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.";
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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.";
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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;
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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;
- specialeffect(EF_BEGINSPELL5, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL5;
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;
- specialeffect(EF_BEGINSPELL4, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL4;
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;
- specialeffect(EF_BEGINSPELL2, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL2;
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;
- specialeffect(EF_BEGINSPELL3, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL3;
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;
- specialeffect(EF_BEGINSPELL7, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL7;
next;
if(select("Insert the Black Charm Stone.", "Run away.") == 2) close;
if ($@thana_summon == 4) {
@@ -2088,11 +2088,11 @@ OnTimer1000:
OnTimer5000:
.@pillar = 1;
OnTimer3000:
- specialeffect(EF_BEGINSPELL7, AREA, getnpcid(0, "#tteffect05"));
- specialeffect(EF_BEGINSPELL3, AREA, getnpcid(0, "#tteffect04"));
- specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "#tteffect03"));
- specialeffect(EF_BEGINSPELL4, AREA, getnpcid(0, "#tteffect02"));
- specialeffect(EF_BEGINSPELL5, AREA, getnpcid(0, "#tteffect01"));
+ specialeffect EF_BEGINSPELL7,AREA,"#tteffect05";
+ specialeffect EF_BEGINSPELL3,AREA,"#tteffect04";
+ specialeffect EF_BEGINSPELL2,AREA,"#tteffect03";
+ specialeffect EF_BEGINSPELL4,AREA,"#tteffect02";
+ specialeffect EF_BEGINSPELL5,AREA,"#tteffect01";
if (.@pillar) specialeffect EF_MAPPILLAR2;
end;
}
@@ -2235,8 +2235,8 @@ OnDisable:
thana_boss,141,218,0 script #sommon_thanatos FAKE_NPC,{
OnEnable:
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, "#sommon_thanatos"));
- specialeffect(EF_SEISMICWEAPON, AREA, getnpcid(0, "#sommon_thanatos"));
+ specialeffect EF_MAPPILLAR2,AREA,"#sommon_thanatos";
+ specialeffect EF_SEISMICWEAPON,AREA,"#sommon_thanatos";
monster "thana_boss",141,218,"Thanatos Phantom",1708,1,"#sommon_thanatos::OnMyMobDead";
end;
OnMyMobDead:
diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt
index 3b642ef3b..cf593eaae 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;
- specialeffect(EF_YUFITELHIT, AREA, playerattached());
+ specialeffect2 EF_YUFITELHIT;
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;
- specialeffect(EF_YUFITELHIT, AREA, playerattached());
+ specialeffect2 EF_YUFITELHIT;
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;
- specialeffect(EF_MAGNUMBREAK, AREA, playerattached());
+ specialeffect2 EF_MAGNUMBREAK;
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;
- specialeffect(EF_MAGNUMBREAK, AREA, playerattached());
+ specialeffect2 EF_MAGNUMBREAK;
next;
warp "umbala",111,121;
end;
@@ -8166,7 +8166,7 @@ OnTouch:
mes "["+strcharinfo(PC_NAME)+"]";
mes "What the...?";
mes "What's happening?!";
- specialeffect(EF_BEGINSPELL6, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL6;
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";
- specialeffect(EF_ENHANCE, AREA, playerattached());
+ specialeffect2 EF_ENHANCE;
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";
- specialeffect(EF_FLASHER, AREA, playerattached());
+ specialeffect2 EF_FLASHER;
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;
- specialeffect(EF_LEVEL99, AREA, playerattached());
+ specialeffect2 EF_LEVEL99;
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 064cdc461..d140a0d24 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) {
- specialeffect(EF_ANGEL, AREA, playerattached());
+ specialeffect2 EF_ANGEL;
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])))
- specialeffect(EF_LIGHTSPHERE, AREA, playerattached());
+ specialeffect2 EF_LIGHTSPHERE;
next;
}
mes "It feels like this wish could come true.";
@@ -569,13 +569,13 @@ dewata,89,191,6 script Small Shrine#dew1 CLEAR_NPC,{
L_Wish:
mes "Mysterious energy comes out from the shrine.";
- specialeffect(EF_FLASHER, AREA, getnpcid(0, "Small Shrine#dew1"));
- specialeffect(EF_FLASHER, AREA, getnpcid(0, "Small Shrine#dew2"));
- specialeffect(EF_FLASHER, AREA, getnpcid(0, "Small Shrine#dew3"));
- specialeffect(EF_FLASHER, AREA, getnpcid(0, "Small Shrine#dew4"));
+ specialeffect EF_FLASHER,AREA,"Small Shrine#dew1";
+ specialeffect EF_FLASHER,AREA,"Small Shrine#dew2";
+ specialeffect EF_FLASHER,AREA,"Small Shrine#dew3";
+ specialeffect EF_FLASHER,AREA,"Small Shrine#dew4";
next;
mes "You have received the shrine's blessing.";
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2 EF_BLESSING;
next;
return;
}
diff --git a/npc/re/cities/malangdo.txt b/npc/re/cities/malangdo.txt
index 2397b8c06..f4ac6300a 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;
- specialeffect(EF_HEALSP, AREA, playerattached());
+ specialeffect2 EF_HEALSP;
mes "[Innkeeper]";
mes "Now relax.";
emotion e_kis;
diff --git a/npc/re/cities/mora.txt b/npc/re/cities/mora.txt
index a58ee4463..1b231024c 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.";
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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 8ebf5879a..bc457cf0c 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
- specialeffect(EF_MAGICALATTHIT, AREA, playerattached());
- specialeffect(EF_POTION2, AREA, playerattached());
- specialeffect(EF_ANGEL2, AREA, playerattached());
+ specialeffect2 EF_MAGICALATTHIT;
+ specialeffect2 EF_POTION2;
+ specialeffect2 EF_ANGEL2;
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;
- specialeffect(EF_MAGICALATTHIT, AREA, playerattached());
- specialeffect(EF_POTION2, AREA, playerattached());
- specialeffect(EF_CRASHEARTH, AREA, playerattached());
- specialeffect(EF_COIN, AREA, playerattached());
+ specialeffect2 EF_MAGICALATTHIT;
+ specialeffect2 EF_POTION2;
+ specialeffect2 EF_CRASHEARTH;
+ specialeffect2 EF_COIN;
end;
}
mes "[Union Commander Cliff]";
diff --git a/npc/re/events/halloween_2014.txt b/npc/re/events/halloween_2014.txt
index 50786f2e9..2e9784058 100644
--- a/npc/re/events/halloween_2014.txt
+++ b/npc/re/events/halloween_2014.txt
@@ -170,7 +170,7 @@
mes "[Mighty Priest]";
mes "Dear Odin, show me your love!";
mes "Heal me with your love! Great!! Bam!!!!!";
- specialeffect(EF_HEAL2, AREA, getnpcid(0, "Exhausted Priest#pron14hal"));
+ specialeffect EF_HEAL2,AREA,"Exhausted Priest#pron14hal";
emotion e_swt, 1;
next;
mes "[Mighty Priest]";
@@ -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.";
- specialeffect(EF_SPRINKLESAND, AREA, playerattached());
+ specialeffect2 EF_SPRINKLESAND;
next;
mes "[Bolak]";
mes "Much better.";
@@ -1373,8 +1373,8 @@ niflheim,193,186,6 script Bonfire Spirit#14hal 4_TRACE,{
OnTimer21000:
OnTimer23000:
OnTimer25000:
- specialeffect(EF_TORCH, AREA, getnpcid(0, "Bonfire Spirit#14hal"));
- specialeffect(EF_DRAGONSMOKE, AREA, getnpcid(0, "Bonfire Spirit#14hal"));
+ specialeffect EF_TORCH,AREA,"Bonfire Spirit#14hal";
+ specialeffect EF_DRAGONSMOKE,AREA,"Bonfire Spirit#14hal";
end;
OnTimer5000:
@@ -1383,16 +1383,16 @@ niflheim,193,186,6 script Bonfire Spirit#14hal 4_TRACE,{
OnTimer13000:
OnTimer14000:
OnTimer16000:
- specialeffect(EF_DRAGONSMOKE, AREA, getnpcid(0, "Bonfire Spirit#14hal"));
+ specialeffect EF_DRAGONSMOKE,AREA,"Bonfire Spirit#14hal";
end;
OnTimer19000:
npctalk "Oh, No! The fire is dying!!!! Fire!!!!!!!!!!!!";
- specialeffect(EF_DRAGONSMOKE, AREA, getnpcid(0, "Bonfire Spirit#14hal"));
+ specialeffect EF_DRAGONSMOKE,AREA,"Bonfire Spirit#14hal";
end;
OnTimer20000:
- specialeffect(EF_SIGHTRASHER, AREA, getnpcid(0, "Bonfire Spirit#14hal"));
+ specialeffect EF_SIGHTRASHER,AREA,"Bonfire Spirit#14hal";
end;
OnTimer27000:
@@ -1543,7 +1543,7 @@ prt_church,96,91,4 script Spiritual Sister#14hal 1_F_PRIEST,5,5,{
mes "This is enough. I can make it soon.";
mes "Odin Crystal power! with Holy light!!!!";
next;
- specialeffect(EF_HOLYHIT, AREA, getnpcid(0, "Spiritual Sister#14hal"));
+ specialeffect EF_HOLYHIT,AREA,"Spiritual Sister#14hal";
mes "[Sister Haley]";
mes "Whoa~ It's done.";
mes "Hold ^0000cd this in your pocket^000000 and go to the crowd with live and dead ones, you will see who is dead or live.";
@@ -1680,18 +1680,18 @@ xmas_in,160,175,1 script Worried Wife#14hal 4_F_05,{
next;
mes "["+strcharinfo(PC_NAME)+"]";
mes "Well, So I will burn.. this.";
- specialeffect(EF_TORCH, AREA, playerattached());
+ specialeffect2 EF_TORCH;
sleep2 1000;
- specialeffect(EF_SMOKE, AREA, playerattached());
+ specialeffect2 EF_SMOKE;
sleep2 1000;
- specialeffect(EF_SMOKE, AREA, playerattached());
+ specialeffect2 EF_SMOKE;
sleep2 1000;
- specialeffect(EF_SMOKE, AREA, playerattached());
+ specialeffect2 EF_SMOKE;
next;
mes "["+strcharinfo(PC_NAME)+"]";
mes "It's almost ran out.. Why not he wakes up..";
mes "Oh!!";
- specialeffect(EF_RESURRECTION, AREA, getnpcid(0, "Richard#14hal02"));
+ specialeffect EF_RESURRECTION,AREA,"Richard#14hal02";
next;
mes "[Richard]";
mes "Uhh.. Umm..";
@@ -1726,7 +1726,7 @@ xmas_in,160,175,1 script Worried Wife#14hal 4_F_05,{
next;
mes "[Richard's Daughter]";
mes "Dad!!!";
- specialeffect(EF_SONICBLOWHIT, AREA, getnpcid(0, "Richard#14hal02"));
+ specialeffect EF_SONICBLOWHIT,AREA,"Richard#14hal02";
next;
mes "[Richard]";
mes "O, Ouch!!!";
diff --git a/npc/re/instances/BangungotHospital.txt b/npc/re/instances/BangungotHospital.txt
index 9e8e836c4..424626ac9 100644
--- a/npc/re/instances/BangungotHospital.txt
+++ b/npc/re/instances/BangungotHospital.txt
@@ -406,7 +406,7 @@ OnInstanceInit:
disablenpc instance_npcname("#Memorial Start_time");
end;
OnEnable:
- specialeffect(EF_BAT2, AREA, getnpcid(0, instance_npcname("#Memorial Start")));
+ specialeffect EF_BAT2,AREA,instance_npcname("#Memorial Start");
initnpctimer;
end;
OnDisable:
@@ -892,19 +892,19 @@ OnStopTimer:
end;
OnTimer1000:
mapannounce instance_mapname("1@ma_h"),"- Bangungot's Pillar of Spirit is curing Bangungot. If you don't hunt it now, he will fully recover!! -",bc_map,"0xFF8200";
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, instance_npcname("#Patternwarp45")));
+ specialeffect EF_MAPPILLAR2,AREA,instance_npcname("#Patternwarp45");
end;
OnTimer7000:
mapannounce instance_mapname("1@ma_h"),"Bangungot: I never die!!!!",bc_map,"0xFF82FF";
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, instance_npcname("#Patternwarp45")));
+ specialeffect EF_MAPPILLAR2,AREA,instance_npcname("#Patternwarp45");
end;
OnTimer14000:
mapannounce instance_mapname("1@ma_h"),"Bangungot: If you dare, kill me!! I will revive soon!!!",bc_map,"0xFF82FF";
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, instance_npcname("#Patternwarp45")));
+ specialeffect EF_MAPPILLAR2,AREA,instance_npcname("#Patternwarp45");
end;
OnTimer21000:
mapannounce instance_mapname("1@ma_h"),"Bangungot: I cannot die this way...!!!!",bc_map,"0xFF82FF";
- specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, instance_npcname("#Patternwarp45")));
+ specialeffect EF_MAPPILLAR2,AREA,instance_npcname("#Patternwarp45");
end;
OnTimer30000:
donpcevent instance_npcname("#Summon Pillar")+"::OnReset";
diff --git a/npc/re/instances/BuwayaCave.txt b/npc/re/instances/BuwayaCave.txt
index 094964867..859d6bd85 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:
- specialeffect(EF_GUIDEDATTACK, AREA, playerattached());
+ specialeffect2 EF_GUIDEDATTACK;
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 b8aff0a81..9ad8519b4 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!!!";
- specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect2 EF_LORD;
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 e954c9b15..1bd76aedb 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;
- specialeffect(EF_SPHERE, AREA, playerattached());
+ specialeffect2 EF_SPHERE;
progressbar "0xFFFF00",3;
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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);
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
getitem getarg(2),getarg(3);
close;
}
diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt
index a1d6884f9..9f3f29fdf 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.");
- specialeffect(EF_BLIND,AREA, AREA, playerattached());
+ specialeffect2 EF_BLIND,AREA;
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.");
- specialeffect(EF_FREEZE, AREA, playerattached());
+ specialeffect2 EF_FREEZE;
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.");
- specialeffect(EF_PHARMACY_FAIL, AREA, playerattached()); delitem Coagulated_Spell, .@cost; delequip .@part;
+ specialeffect2 EF_PHARMACY_FAIL; delitem Coagulated_Spell, .@cost; delequip .@part;
close;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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.");
- specialeffect(EF_PHARMACY_FAIL, AREA, playerattached());
+ specialeffect2 EF_PHARMACY_FAIL;
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.");
- specialeffect(EF_PHARMACY_FAIL, AREA, playerattached());
+ specialeffect2 EF_PHARMACY_FAIL;
delitem Coagulated_Spell, .@cost;
delequip .@part;
close;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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.");
- specialeffect(EF_PHARMACY_FAIL, AREA, playerattached());
+ specialeffect2 EF_PHARMACY_FAIL;
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;
- specialeffect(EF_PHARMACY_OK, AREA, playerattached());
+ specialeffect2 EF_PHARMACY_OK;
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 d6c5516e5..51e2f8a06 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;
- specialeffect(EF_SPHERE, AREA, playerattached());
+ specialeffect2 EF_SPHERE;
progressbar "ffff00", 2;
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
emotion e_sob;
mes "[Pudding]";
mes "Hm.... This equipment cannot accept the power of '^F2766EWill of Warrior^000000' or '^952420Thirst for Blood^000000'.";
@@ -1108,9 +1108,9 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{
if (.@menu==2){ .@equip_card[3] = 0; }
else { .@equip_card[2] = 0; }
.@equip_item = getequipid(.@position);
- specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Sorcerer#Bio4Reward"));
+ specialeffect EF_BEGINSPELL2, AREA, "Sorcerer#Bio4Reward";
progressbar "ffff00", 2;
- specialeffect(EF_FROSTWEAPON, AREA, playerattached());
+ specialeffect2 EF_FROSTWEAPON;
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];
@@ -1303,7 +1303,7 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{
setarray .@equip_card[0], getequipcardid(.@position,0),getequipcardid(.@position,1),getequipcardid(.@position,2),getequipcardid(.@position,3);
.@equip_card[(.@socket_type-1)] = .@enchant;
.@equip_item = getequipid(.@position);
- specialeffect(EF_BEGINSPELL3, AREA, getnpcid(0, "Sorcerer#Bio4Reward"));
+ specialeffect EF_BEGINSPELL3, AREA, "Sorcerer#Bio4Reward";
progressbar "ffff00", 2;
if (.@socket_type == 3)
delitem Blood_Thirst, 10;
@@ -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) {
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
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 {
- specialeffect(EF_FIREHIT, AREA, playerattached());
+ specialeffect2 EF_FIREHIT;
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]";
@@ -1608,42 +1608,42 @@ que_lhz,1,1,0 script #Eventctrl FAKE_NPC,{
end;
OnTimer1000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#01"));
+ specialeffect EF_SUI_EXPLOSION,AREA, "#01";
specialeffect EF_BEGINASURA, "Human Guinea pig#01";
end;
OnTimer2000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#02"));
+ specialeffect EF_SUI_EXPLOSION,AREA, "#02";
specialeffect EF_BEGINASURA, "Human Guinea pig#02";
end;
OnTimer3000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#03"));
+ specialeffect EF_SUI_EXPLOSION,AREA, "#03";
specialeffect EF_BEGINASURA, "Human Guinea pig#03";
end;
OnTimer4000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#04"));
+ specialeffect EF_SUI_EXPLOSION,AREA, "#04";
specialeffect EF_BEGINASURA, "Human Guinea pig#04";
end;
OnTimer5000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#05"));
+ specialeffect EF_SUI_EXPLOSION,AREA, "#05";
specialeffect EF_BEGINASURA, "Human Guinea pig#05";
end;
OnTimer6000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#06"));
+ specialeffect EF_SUI_EXPLOSION,AREA, "#06";
specialeffect EF_BEGINASURA, "Human Guinea pig#06";
end;
OnTimer7000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#07"));
+ specialeffect EF_SUI_EXPLOSION,AREA, "#07";
specialeffect EF_BEGINASURA, "Human Guinea pig#07";
end;
OnTimer8000:
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#08"));
+ specialeffect EF_SUI_EXPLOSION,AREA, "#08";
specialeffect EF_BEGINASURA, "Human Guinea pig#08";
stopnpctimer;
end;
@@ -1932,7 +1932,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
pushpc 0, 10;
percentheal -5,0;
specialeffect EF_AUTOCOUNTER;
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2 EF_BASH;
mes "You have been wounded by laboratory entrance system attack.";
close;
} else {
@@ -2442,7 +2442,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
OnTimer63000:
for(.@i = 1; .@i < 7; .@i++) {
- specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, instance_npcname("Valve#2_"+.@i+"")));
+ specialeffect EF_SUI_EXPLOSION, AREA, instance_npcname("Valve#2_"+.@i+"");
disablenpc instance_npcname("Valve#2_"+.@i+"");
}
'broken_pipes += 1;
@@ -2846,73 +2846,73 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
OnTimer1000:
mapannounce instance_mapname("1@lhz"),"Whisper: Who are you....",bc_map,"0x7DCBF0";
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Seyren Windsor#boss01")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Seyren Windsor#boss01");
end;
OnTimer2000:
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Cecile Damon#boss02")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Cecile Damon#boss02");
end;
OnTimer3000:
mapannounce instance_mapname("1@lhz"),"Whisper: Do not approach more...",bc_map,"0x7DCBF0";
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Gertie Wie#boss03")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Gertie Wie#boss03");
end;
OnTimer4000:
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Eremes Guile#boss04")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Eremes Guile#boss04");
end;
OnTimer5000:
mapannounce instance_mapname("1@lhz"),"Whisper: This is a very dangerous place..",bc_map,"0x7DCBF0";
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Trentini#boss05")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Trentini#boss05");
end;
OnTimer6000:
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Chen Liu#boss06")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Chen Liu#boss06");
end;
OnTimer7000:
mapannounce instance_mapname("1@lhz"),"Whisper: You won't go out alive....",bc_map,"0x7DCBF0";
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Alphochio Basil#boss07")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Alphochio Basil#boss07");
end;
OnTimer8000:
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Flamel Emul#boss08")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Flamel Emul#boss08");
end;
OnTimer9000:
mapannounce instance_mapname("1@lhz"),"Whisper: If you don't want to be a part of us....",bc_map,"0x7DCBF0";
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Randel Lawrence#boss09")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Randel Lawrence#boss09");
end;
OnTimer10000:
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Celia Alde#boss10")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Celia Alde#boss10");
end;
OnTimer11000:
mapannounce instance_mapname("1@lhz"),"Whisper: Leave now....",bc_map,"0x7DCBF0";
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Kathryne Keyron#boss11")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Kathryne Keyron#boss11");
end;
OnTimer12000:
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Margaretha Sorin#boss12")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Margaretha Sorin#boss12");
end;
OnTimer13000:
mapannounce instance_mapname("1@lhz"),"Whisper: Before this place is thoroughly filled with sorrow and pain....",bc_map,"0x7DCBF0";
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Howard Alt-Eisen#boss13")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Howard Alt-Eisen#boss13");
end;
OnTimer14000:
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Type_**Gren#boss14")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Type_**Gren#boss14");
end;
OnTimer15000:
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Type_**Roke#boss15")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Type_**Roke#boss15");
end;
OnTimer16000:
- specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Type_**Dree#boss16")));
+ specialeffect EF_SPHERE,AREA,instance_npcname("Type_**Dree#boss16");
end;
OnTimer17000:
diff --git a/npc/re/jobs/2e/kagerou_oboro.txt b/npc/re/jobs/2e/kagerou_oboro.txt
index efb1faf03..08f8d6024 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:
- specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached());
+ specialeffect2 EF_TALK_FROSTJOKE;
mes "Tried a recent Prontera joke to do something.";
next;
setquest 5141;
@@ -1990,15 +1990,15 @@ job_ko,127,125,4 script Red Leopard Joe#ko 4_M_JOB_ASSASSIN,{
mes "[Red Leopard Joe]";
mes "Let's now create a new prototype weapon.";
next;
- specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_01"));
+ specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_01";
mes "[Red Leopard Joe]";
mes "Feel free to use tools from here, and...";
next;
- specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_02"));
+ specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_02";
mes "[Red Leopard Joe]";
mes "...there...";
next;
- specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_03"));
+ specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_03";
setquest 5142;
mes "[Red Leopard Joe]";
mes "...and everywhere else. Now let's begin!!";
@@ -2183,15 +2183,15 @@ L_Weapon:
next;
switch(select("Crafting tools?", "I don't have enough materials.", "How do you expect me to make a weapon?" + getarg(0))) {
case 1:
- specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_01"));
+ specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_01";
mes "[Red Leopard Joe]";
mes "Feel free to use tools from here, and...";
next;
- specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_02"));
+ specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_02";
mes "[Red Leopard Joe]";
mes "...there...";
next;
- specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_03"));
+ specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_03";
mes "[Red Leopard Joe]";
mes "...and everywhere else.";
close;
@@ -2199,7 +2199,7 @@ L_Weapon:
mes "[Red Leopard Joe]";
mes "You haven't brought enough materials?";
next;
- specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Drawer#ko"));
+ specialeffect EF_GUIDEDATTACK,AREA,"Drawer#ko";
mes "[Red Leopard Joe]";
mes "Then we'll have to pay a visit to the village. Try the ^FF0000drawer^000000 over there. It'll take you to the village.";
close;
@@ -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) {
- specialeffect(EF_PERFECTION, AREA, playerattached());
+ specialeffect2 EF_PERFECTION;
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 {
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
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:
- specialeffect(EF_DETOXICATION, AREA, playerattached());
+ specialeffect2 EF_DETOXICATION;
mes "Ground the weapon.";
break;
case 2:
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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 6b04533db..1a03af44c 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! * -";
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2 EF_BLESSING;
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 ! * -";
- specialeffect(EF_ASPERSIO, AREA, playerattached());
+ specialeffect2 EF_ASPERSIO;
next;
- specialeffect(EF_RECOVERY, AREA, playerattached());
+ specialeffect2 EF_RECOVERY;
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. -";
- specialeffect(EF_GLORIA, AREA, playerattached());
+ specialeffect2 EF_GLORIA;
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.~";
- specialeffect(EF_GLORIA, AREA, playerattached());
+ specialeffect2 EF_GLORIA;
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.~";
- specialeffect(EF_GLORIA, AREA, playerattached());
+ specialeffect2 EF_GLORIA;
next;
mes "- After you finish the song, you feel light and strong with abundant devotion. -";
- specialeffect(EF_BLESSING, AREA, playerattached());
- specialeffect(EF_RESURRECTION, AREA, playerattached());
+ specialeffect2 EF_BLESSING;
+ specialeffect2 EF_RESURRECTION;
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;
- specialeffect(EF_CLOAKING, AREA, playerattached());
+ specialeffect2 EF_CLOAKING;
warp "job3_arch01",29,29;
hideonnpc "Valkyrie Illusion#arch";
end;
@@ -1262,7 +1262,7 @@ OnTouch:
mes "So bright and warm....";
next;
mes "- Shoooo -";
- specialeffect(EF_CLOAKING, AREA, getnpcid(0, "Valkyrie Anguhilde#end"));
+ specialeffect EF_CLOAKING,AREA,"Valkyrie Anguhilde#end";
hideonnpc "Valkyrie Anguhilde#end";
emotion e_omg,1;
next;
diff --git a/npc/re/jobs/3-1/guillotine_cross.txt b/npc/re/jobs/3-1/guillotine_cross.txt
index 19f4ac7cf..f70ee321c 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!";
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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!";
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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!";
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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!";
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
percentheal -30,0;
close;
}
diff --git a/npc/re/jobs/3-1/ranger.txt b/npc/re/jobs/3-1/ranger.txt
index 41e5b476f..78e200843 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:
- specialeffect(EF_POTION_CON, AREA, playerattached());
+ specialeffect2 EF_POTION_CON;
++$@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:
- specialeffect(EF_DEVIL, AREA, playerattached());
+ specialeffect2 EF_DEVIL;
--$@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;
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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;
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
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 ad8ab8f74..caa540585 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
- specialeffect(EF_METEORSTORM, AREA, playerattached());
+ specialeffect2 EF_METEORSTORM;
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
- specialeffect(EF_PIERCESELF, AREA, playerattached());
+ specialeffect2 EF_PIERCESELF;
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 13f99013b..137eefd40 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. - ";
- specialeffect(EF_DISPELL, AREA, playerattached());
+ specialeffect2 EF_DISPELL;
next;
mes "[Master]";
mes "Oh, that's interesting.";
diff --git a/npc/re/jobs/3-2/genetic.txt b/npc/re/jobs/3-2/genetic.txt
index e85819f97..cc7874f38 100644
--- a/npc/re/jobs/3-2/genetic.txt
+++ b/npc/re/jobs/3-2/genetic.txt
@@ -189,11 +189,11 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "- Zooooooooooooooooing -";
specialeffect EF_ENDURE;
next;
- specialeffect(EF_REPAIRWEAPON, AREA, getnpcid(0, "#from1to2gen"));
+ specialeffect EF_REPAIRWEAPON,AREA,"#from1to2gen";
mes "- (Screeching Sounds)!!! -";
mes "- (Screeching)!!! -";
next;
- specialeffect(EF_CRASHEARTH, AREA, getnpcid(0, "#from1to2gen"));
+ specialeffect EF_CRASHEARTH,AREA,"#from1to2gen";
mes "- Bump! Bump! Bump! -";
next;
mes "[Devries]";
@@ -451,8 +451,8 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "Damn!";
next;
if (job_gen == 60) {
- specialeffect(EF_FLASHER, AREA, getnpcid(0, "Super Cultivator#gen"));
- specialeffect(EF_PHARMACY_OK, AREA, getnpcid(0, "Super Cultivator#gen"));
+ specialeffect EF_FLASHER,AREA,"Super Cultivator#gen";
+ specialeffect EF_PHARMACY_OK,AREA,"Super Cultivator#gen";
mes "[Devries]";
mes "Popo, look at that!";
mes "That's really a mysterious plant!";
@@ -485,8 +485,8 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
job_gen = 62;
changequest 2215,2216;
} else {
- specialeffect(EF_SPELLBREAKER, AREA, getnpcid(0, "Super Cultivator#gen"));
- specialeffect(EF_PHARMACY_FAIL, AREA, getnpcid(0, "Super Cultivator#gen"));
+ specialeffect EF_SPELLBREAKER,AREA,"Super Cultivator#gen";
+ specialeffect EF_PHARMACY_FAIL,AREA,"Super Cultivator#gen";
mes "[Devries]";
mes "Uh oh! You failed, Popo.";
mes "It didn't grow at all, it's withered already.";
diff --git a/npc/re/jobs/3-2/royal_guard.txt b/npc/re/jobs/3-2/royal_guard.txt
index 87cf554ad..7fe7a1d2a 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;
- specialeffect(EF_MAPPILLAR, AREA, playerattached());
+ specialeffect2 EF_MAPPILLAR;
progressbar "FFFF00",7;
- specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect2 EF_LORD;
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) {
- specialeffect(EF_FREEZE, AREA, playerattached());
+ specialeffect2 EF_FREEZE;
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/3-2/sura.txt b/npc/re/jobs/3-2/sura.txt
index 567469d46..3eae13edf 100644
--- a/npc/re/jobs/3-2/sura.txt
+++ b/npc/re/jobs/3-2/sura.txt
@@ -130,8 +130,8 @@ ve_in,237,125,0 script King Crab#job_shu 1_M_PAY_ELDER,{
next;
mes "[King Crab & Sludge Worm]";
mes "Aaaaaahhhhhhhhk!!!!!!!!";
- specialeffect(EF_FIRESPLASHHIT, AREA, getnpcid(0, "King Crab#job_shu"));
- specialeffect(EF_FIRESPLASHHIT, AREA, getnpcid(0, "Sludge Worm#job_shu"));
+ specialeffect EF_FIRESPLASHHIT,AREA,"King Crab#job_shu";
+ specialeffect EF_FIRESPLASHHIT,AREA,"Sludge Worm#job_shu";
next;
mes "- What is that amazing power? -";
mes "- I've never seen this -";
diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt
index 1b6576737..bee91f382 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) {
- specialeffect(EF_ANGEL3, AREA, playerattached()); // On official it is some kind of Poring Angel, but I can't find it
+ specialeffect2(EF_ANGEL3); // 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);
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2(EF_HEAL2);
heal(9999, 0);
- specialeffect(EF_INCAGILITY, AREA, playerattached());
+ specialeffect2(EF_INCAGILITY);
sc_start(SC_INC_AGI, 240000, 10);
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2(EF_BLESSING);
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);
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2(EF_HEAL2);
heal(9999, 0);
- specialeffect(EF_INCAGILITY, AREA, playerattached());
+ specialeffect2(EF_INCAGILITY);
sc_start(SC_INC_AGI, 240000, 10);
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2(EF_BLESSING);
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]");
- specialeffect(EF_HEAL2, AREA, playerattached());
+ specialeffect2(EF_HEAL2);
heal(9999, 0);
- specialeffect(EF_INCAGILITY, AREA, playerattached());
+ specialeffect2(EF_INCAGILITY);
sc_start(SC_INC_AGI, 240000, 10);
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2(EF_BLESSING);
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.");
- specialeffect(EF_BEGINSPELL6, AREA, playerattached());
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2(EF_BEGINSPELL6);
+ specialeffect2(EF_SPELLBREAKER);
next();
mes("[Therapist]");
mes("Press ^4d4dffALT + S^000000 to open your Skill window to see your skills.");
@@ -2317,7 +2317,7 @@ izlude,140,249,7 script Academy Student#0 4_M_NOV_RUMIN,{
close();
}
if (questprogress(7478) == 1 && !questprogress(7479)) {
- specialeffect(EF_STEAL, AREA, getnpcid(0, "Cultivated Red Plant#"+strnpcinfo(NPC_NAME_HIDDEN)));
+ specialeffect(EF_STEAL, AREA, "Cultivated Red Plant#"+strnpcinfo(NPC_NAME_HIDDEN));
donpcevent("Cultivated Red Plant#"+strnpcinfo(NPC_NAME_HIDDEN)+"::OnDisable");
emotion(e_gasp, 1);
emotion(e_heh);
@@ -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!");
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2(EF_BASH);
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!");
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2(EF_BLESSING);
next();
mes("[Odd Novice]");
mes("Just keep calm");
mes("and have a potion");
mes("But that's not the last of it.");
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2(EF_STEAL);
next();
mes("[Odd Novice]");
mes("I have stolen one thread of your hair.");
@@ -5664,7 +5664,7 @@ izlude,95,146,5 script Mom#iz 4_F_CAVE1,{
mes("^0000cd[Come to me, honey~]^000000");
next();
enablenpc("Etinifni#"+strnpcinfo(NPC_NAME_HIDDEN));
- specialeffect(EF_PORTAL, AREA, getnpcid(0, "Etinifni#"+strnpcinfo(NPC_NAME_HIDDEN)));
+ specialeffect(EF_PORTAL, AREA, "Etinifni#"+strnpcinfo(NPC_NAME_HIDDEN));
mes("[Etinifni]");
mes("What's up? Where am I?");
next();
@@ -5750,7 +5750,7 @@ izlude,99,138,3 script Romantic Male#iz 4_M_SITDOWN,{
mes("[Romantic Male]");
mes("Are you lifting up our good old memories renting my wedding dress and your tuxedo!! It will strenghthen our relationship, won't it?");
next();
- specialeffect(EF_HEARTCASTING, AREA, getnpcid(0, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN)));
+ specialeffect(EF_HEARTCASTING, AREA, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN));
emotion(e_kis, 0, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN));
mes("[Romantic Male]");
mes("Honey~~ I love you!! Sweetheart~");
@@ -5784,7 +5784,7 @@ izlude,97,138,5 script Romantic Female#iz 4_F_SITDOWN,{
mes("[Romantic Female]");
mes("You are tired of sitting, aren't you?");
next();
- specialeffect(EF_HEARTCASTING, AREA, getnpcid(0, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN)));
+ specialeffect(EF_HEARTCASTING, AREA, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN));
emotion(e_kis, 0, "Romantic Female#"+strnpcinfo(NPC_NAME_HIDDEN));
mes("[Romantic Female]");
mes("My sweetheart!!! I love you!!!");
@@ -5792,7 +5792,7 @@ izlude,97,138,5 script Romantic Female#iz 4_F_SITDOWN,{
mes("[Romantic Male]");
mes("Yes, thank you for sharing your SP! You are also tired, aren't you?");
next();
- specialeffect(EF_HEARTCASTING, AREA, getnpcid(0, "Romantic Male#"+strnpcinfo(NPC_NAME_HIDDEN)));
+ specialeffect(EF_HEARTCASTING, AREA, "Romantic Male#"+strnpcinfo(NPC_NAME_HIDDEN));
emotion(e_kis2, 0, "Romantic Male#"+strnpcinfo(NPC_NAME_HIDDEN));
mes("[Romantic Male]");
mes("My sweetheart!! I love you!!!");
@@ -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.");
- specialeffect(EF_TRIPLEATTACK, AREA, playerattached());
+ specialeffect2(EF_TRIPLEATTACK);
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.");
- specialeffect(EF_SPHERE, AREA, playerattached());
- specialeffect(EF_SPHERE, AREA, playerattached());
+ specialeffect2(EF_SPHERE);
+ specialeffect2(EF_SPHERE);
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();
- specialeffect(EF_SPHERE, AREA, playerattached());
- specialeffect(EF_SPHERE, AREA, playerattached());
+ specialeffect2(EF_SPHERE);
+ specialeffect2(EF_SPHERE);
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();
- specialeffect(EF_SANCTUARY, AREA, playerattached());
+ specialeffect2(EF_SANCTUARY);
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();
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2(EF_REPAIRWEAPON);
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();
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2(EF_REPAIRWEAPON);
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 18ba3fbe1..6ac0d9935 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.";
- specialeffect(EF_BEGINSPELL6, AREA, playerattached());
- specialeffect(EF_SPELLBREAKER, AREA, playerattached());
+ specialeffect2 EF_BEGINSPELL6;
+ specialeffect2 EF_SPELLBREAKER;
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 74328278f..04c9395c1 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;
}
- specialeffect(EF_LORD, AREA, playerattached());
- specialeffect(EF_SIGHTRASHER, AREA, playerattached());
- specialeffect(EF_STORMGUST, AREA, playerattached());
+ specialeffect2 EF_LORD;
+ specialeffect2 EF_SIGHTRASHER;
+ specialeffect2 EF_STORMGUST;
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;
- specialeffect(EF_RECOVERY, AREA, playerattached());
+ specialeffect2 EF_RECOVERY;
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 7acd3b606..2dae1bcaf 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;
}
- specialeffect(EF_INVENOM, AREA, playerattached());
+ specialeffect2 EF_INVENOM;
progressbar "0xffff00",3;
// Warlock - quest items
diff --git a/npc/re/merchants/blessed_refiner.txt b/npc/re/merchants/blessed_refiner.txt
index 6e548e25b..369d476a5 100644
--- a/npc/re/merchants/blessed_refiner.txt
+++ b/npc/re/merchants/blessed_refiner.txt
@@ -172,7 +172,7 @@
close;
}
specialeffect EF_CURSEATTACK;
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
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 b1f6754a5..0e5b31ea2 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)
- specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect2 EF_LORD;
else if (.@equip_safe && .@card_break)
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
else if (!.@equip_safe && !.@card_break)
- specialeffect(EF_FIREPILLAR, AREA, playerattached());
+ specialeffect2 EF_FIREPILLAR;
else
- specialeffect(EF_MAXPOWER, AREA, playerattached());
+ specialeffect2 EF_MAXPOWER;
// Output results.
mes "-- Result of Card Separation --";
diff --git a/npc/re/merchants/enchan_mal.txt b/npc/re/merchants/enchan_mal.txt
index bea4c6e03..864505b85 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.
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
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;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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 46979c82b..fe2b21754 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;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
delitem Mora_Coin,2;
delitem .@item,1;
switch(.@enchant_type) {
@@ -1119,18 +1119,18 @@ L_Socket:
Zeny -= 100000;
delequip .@part;
if (.@enchant == 9) {
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
mes "[Artifact Researcher]";
mes "This!";
mes "I... I'm sorry but the equipment has been destroyed.";
close;
}
if (.@enchant == 0) {
- specialeffect(EF_SHIELDCHARGE, AREA, playerattached());
+ specialeffect2 EF_SHIELDCHARGE;
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 {
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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 {
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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 ee32d4306..b7d95aa71 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;
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
getexp .@exp[.@i],0;
close;
}
diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt
index 874e514a3..2d72b3541 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;
}
- specialeffect(EF_READYPORTAL, AREA, playerattached());
- specialeffect(EF_TELEPORTATION, AREA, playerattached());
- specialeffect(EF_PORTAL, AREA, playerattached());
+ specialeffect2 EF_READYPORTAL;
+ specialeffect2 EF_TELEPORTATION;
+ specialeffect2 EF_PORTAL;
next;
Zeny -= .@cost[.@i];
switch(.@i) {
@@ -835,8 +835,8 @@ OnInit:
initnpctimer;
end;
OnTimer5000:
- specialeffect(EF_REFINEOK, AREA, getnpcid(0, "Suhnmi#eden"));
- specialeffect(EF_REFINEOK, AREA, getnpcid(0, "Mighty Hammer#ed"));
+ specialeffect EF_REFINEOK,AREA,"Suhnmi#eden";
+ specialeffect EF_REFINEOK,AREA,"Mighty Hammer#ed";
initnpctimer;
end;
}
diff --git a/npc/re/quests/eden/eden_quests.txt b/npc/re/quests/eden/eden_quests.txt
index a0f4fa922..9e49a415b 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!";
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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 c1ee52d52..92849c7a5 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;
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2 EF_BASH;
mes "[Viorel]";
mes "Now focus~!";
mes "You... need...";
mes "... concentration.";
next;
- specialeffect(EF_PROVIDENCE, AREA, playerattached());
+ specialeffect2 EF_PROVIDENCE;
mes "[Viorel]";
mes "Good. Almost done!";
next;
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
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;
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2 EF_BASH;
mes "[Viorel]";
mes "Now focus~!";
mes "You... need...";
mes "... concentration.";
next;
- specialeffect(EF_PRESSURE, AREA, playerattached());
+ specialeffect2 EF_PRESSURE;
mes "[Viorel]";
mes "Concentrate a little more!";
next;
- specialeffect(EF_PROVIDENCE, AREA, playerattached());
+ specialeffect2 EF_PROVIDENCE;
mes "[Viorel]";
mes "Good. Almost done!";
next;
- specialeffect(EF_SUI_EXPLOSION, AREA, playerattached());
+ specialeffect2 EF_SUI_EXPLOSION;
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;
- specialeffect(EF_ABSORBSPIRITS, AREA, playerattached());
+ specialeffect2 EF_ABSORBSPIRITS;
mes "[Jeyna]";
mes "We need to...";
mes "Stabilize a little more.";
mes ".......";
next;
- specialeffect(EF_CURE, AREA, playerattached());
+ specialeffect2 EF_CURE;
mes "[Jeyna]";
mes "In a few moments, the ^FF4800Homunculus^000000 will return to its embryo state.";
next;
- specialeffect(EF_HOLYHIT, AREA, playerattached());
+ specialeffect2 EF_HOLYHIT;
mes "[Jeyna]";
mes "Into a special embryo...";
next;
callsub L_CheckHomunculus;
- specialeffect(EF_BLESSING, AREA, playerattached());
+ specialeffect2 EF_BLESSING;
morphembryo;
setquest 4159;
erasequest 4158;
diff --git a/npc/re/quests/magic_books.txt b/npc/re/quests/magic_books.txt
index bcf94c4a0..3ffac3243 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;
- specialeffect(EF_DISPELL, AREA, playerattached());
+ specialeffect2 EF_DISPELL;
progressbar "ffff00",4;
- specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect2 EF_LORD;
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;
}
- specialeffect(EF_DISPELL, AREA, playerattached());
+ specialeffect2 EF_DISPELL;
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.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
close2;
setquest 12222;
end;
@@ -828,8 +828,8 @@ function script Magic_Book_Essence {
close;
}
if (questprogress(getarg(0)) == 1 && countitem(getarg(1)) >= getarg(2)) {
- specialeffect(EF_BLIND, AREA, playerattached());
- specialeffect(EF_BEGINSPELL, AREA, playerattached());
+ specialeffect2 EF_BLIND;
+ specialeffect2 EF_BEGINSPELL;
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);
- specialeffect(EF_LORD, AREA, playerattached());
+ specialeffect2 EF_LORD;
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 80df8d650..e243300d5 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;
- specialeffect(EF_BASH3D, AREA, playerattached());
+ specialeffect2 EF_BASH3D;
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;
}
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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 ad7aed094..ff8038166 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;
- specialeffect(EF_ASSUMPTIO, AREA, playerattached());
+ specialeffect2 EF_ASSUMPTIO;
consumeitem 607; //Yggdrasilberry
.@rand = rand(1,10);
if (.@rand > 4 && .@rand < 9) getitem White_Potion,2;
@@ -828,7 +828,7 @@ brasilis,203,64,3 script Strange Kid#bra 4_M_KID1,{
brasilis,56,224,7 script Mage Paje#bra 4_M_BIBI,{
mes "[Mage Paje]";
mes "Abracadabra~";
- specialeffect(EF_POISONHIT, AREA, getnpcid(0, "Poring#bra"));
+ specialeffect EF_POISONHIT,AREA,"Poring#bra";
setarray .@display[0], 4_NFCOCK, 4_CAT, 4_PORING;
setnpcdisplay "Poring#bra",.@display[rand(3)];
if (brazil_gua != 5) close;
@@ -868,7 +868,7 @@ brasilis,56,224,7 script Mage Paje#bra 4_M_BIBI,{
mes "Good luck~!";
brazil_gua = 6;
changequest 2195,2196;
- specialeffect(EF_ASSUMPTIO, AREA, playerattached());
+ specialeffect2 EF_ASSUMPTIO;
close;
}
@@ -925,7 +925,7 @@ OnTouch:
mes "Fly fly far away. bbaaaeeeccckkk--!";
brazil_gua = 7;
changequest 2196,2197;
- specialeffect(EF_SEISMICWEAPON, AREA, playerattached());
+ specialeffect2 EF_SEISMICWEAPON;
close2;
warp "bra_fild01",68,146;
end;
@@ -950,7 +950,7 @@ OnTouch_:
mes "Smelling! This smell is from a human!";
mes "Somewhere, a human!";
mes "I got it. You are!!!";
- specialeffect(EF_HIT1, AREA, getnpcid(0, "Jaguar#bra"));
+ specialeffect EF_HIT1,AREA,"Jaguar#bra";
emotion e_omg,1;
next;
mes "[Jaguar]";
@@ -1875,7 +1875,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
next;
mes "- munch -";
mes "- mumble mumble mumble -";
- specialeffect(EF_POTION7, AREA, getnpcid(0, "Recluse#bra"));
+ specialeffect EF_POTION7,AREA,"Recluse#bra";
next;
mes "[Jasi]";
mes "Uh, this taste... is!";
@@ -2281,7 +2281,7 @@ bra_in01,149,184,3 script Door#bra CLEAR_NPC,{
mes "^FF0000kkkkhee- hihihihi!!!^000000";
mes "You hear water flushing.";
next;
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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.";
- specialeffect(EF_WATERFALL_SMALL_T2_90, AREA, playerattached());
+ specialeffect2 EF_WATERFALL_SMALL_T2_90;
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;
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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;
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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;
- specialeffect(EF_VENOMDUST, AREA, playerattached());
+ specialeffect2 EF_VENOMDUST;
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) {
- specialeffect(EF_DEVIL, AREA, playerattached());
+ specialeffect2 EF_DEVIL;
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 ef1352e1e..52a604278 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.";
- specialeffect(EF_PNEUMA, AREA, playerattached());
+ specialeffect2 EF_PNEUMA;
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...";
- specialeffect(EF_PNEUMA, AREA, playerattached());
+ specialeffect2 EF_PNEUMA;
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.";
- specialeffect(EF_BASH3D2, AREA, playerattached());
+ specialeffect2 EF_BASH3D2;
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:
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2 EF_BASH;
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;
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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;
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
progressbar "0xFFFF00",3;
Zeny -= 100000;
diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt
index 817b4780d..0aa4ffa1a 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);
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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;
}
- specialeffect(EF_DISPELL, AREA, playerattached());
+ specialeffect2 EF_DISPELL;
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.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
setquest getarg(0);
close;
}
@@ -1131,17 +1131,17 @@ function script unknown_d {
mes "You see some traces of digging.";
close;
}
- specialeffect(EF_SPRINKLESAND, AREA, playerattached());
- specialeffect(EF_BEGINSPELL_N1, AREA, playerattached());
+ specialeffect2 EF_SPRINKLESAND;
+ specialeffect2 EF_BEGINSPELL_N1;
progressbar "ffff00",4;
erasequest getarg(0);
mes "You were able to find information on the "+getitemname(getarg(1))+".";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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!!!!!!!!!!!!!";
- specialeffect(EF_HIT1, AREA, playerattached());
- specialeffect(EF_HIT2, AREA, playerattached());
+ specialeffect2 EF_HIT1;
+ specialeffect2 EF_HIT2;
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--!";
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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;
}
- specialeffect(EF_OVERTHRUST, AREA, playerattached());
+ specialeffect2 EF_OVERTHRUST;
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;
}
- specialeffect(EF_OVERTHRUST, AREA, playerattached());
+ specialeffect2 EF_OVERTHRUST;
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;
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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 ac6717529..d669d0d46 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 -";
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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);
- specialeffect(EF_ENHANCE, AREA, playerattached());
+ specialeffect2 EF_ENHANCE;
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.";
- specialeffect(EF_FORESTLIGHT4, AREA, playerattached());
+ specialeffect2 EF_FORESTLIGHT4;
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...";
- specialeffect(EF_FORESTLIGHT4, AREA, playerattached());
+ specialeffect2 EF_FORESTLIGHT4;
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 786aeccb1..9a67c4af8 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;
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2 EF_BASH;
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;
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2 EF_BASH;
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;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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;
}
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
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 542b7c2cd..8c47fb2ed 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) {
- specialeffect(EF_CONE, AREA, playerattached());
+ specialeffect2 EF_CONE;
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;
- specialeffect(EF_TRIPLEATTACK, AREA, playerattached());
+ specialeffect2 EF_TRIPLEATTACK;
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";
- specialeffect(EF_MVP, AREA, playerattached());
+ specialeffect2 EF_MVP;
next;
mes "[Guard]";
mes "Job well done!";
@@ -7330,14 +7330,14 @@ malaya,55,72,4 script Nurse#ma_n1 4_F_NURSE,{
close;
}
mes "The voice seems to be coming from the bushes near the entrance of the hospital.";
- specialeffect(EF_STEAL, AREA, getnpcid(0, "Bushes#ma"));
+ specialeffect EF_STEAL,AREA,"Bushes#ma";
malaya_bang = 13;
changequest 11293,11294;
close;
} else if (malaya_bang == 13) {
mes "The voice seems to be coming from the bushes near the entrance of the hospital.";
mes "Let's check around.";
- specialeffect(EF_STEAL, AREA, getnpcid(0, "Bushes#ma"));
+ specialeffect EF_STEAL,AREA,"Bushes#ma";
close;
} else if (malaya_bang == 14) {
mes "[Nurse Las]";
@@ -8789,11 +8789,11 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
next;
mes "The Tattooist placed the Ancient Grudges around the workplace.";
next;
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#01"));
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#02"));
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#03"));
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#04"));
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#05"));
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#01";
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#02";
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#03";
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#04";
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#05";
mes "The Ancient Grudge lit up and tools starts to glow. He smiled satisfyingly at the glowing tools and materials.";
next;
mes "And then "+.@name$+" stared intensely at the doll as if to remember every detail of it in his head.";
@@ -8903,11 +8903,11 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
}
mes "He held up the powder in both hands and then blew it onto the drawing.";
next;
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#01"));
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#02"));
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#03"));
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#04"));
- specialeffect(EF_FLAMELAUNCHER, AREA, getnpcid(0, "Ancient Grudge#05"));
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#01";
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#02";
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#03";
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#04";
+ specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#05";
mes "All Ancient Grudges started to burn and then the glowing light from the "+.@name$+" drawing faded away.";
next;
specialeffect EF_LIGHTSPHERE;
diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt
index 34293d200..39ca8649c 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;
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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:
- specialeffect(EF_ICEARROW, AREA, playerattached());
+ specialeffect2 EF_ICEARROW;
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:
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2 EF_BASH;
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:
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
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:
- specialeffect(EF_ICEARROW, AREA, playerattached());
+ specialeffect2 EF_ICEARROW;
.@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:
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2 EF_BASH;
.@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:
- specialeffect(EF_HIT1, AREA, playerattached());
+ specialeffect2 EF_HIT1;
.@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;
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
} else
- specialeffect(EF_ICEARROW, AREA, playerattached());
+ specialeffect2 EF_ICEARROW;
.@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;
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
} else
- specialeffect(EF_BASH, AREA, playerattached());
+ specialeffect2 EF_BASH;
.@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;
- specialeffect(EF_GUARD, AREA, playerattached());
+ specialeffect2 EF_GUARD;
}
.@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;
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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);
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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);
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
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.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
close;
}
@@ -5125,17 +5125,17 @@ function script mora_remains {
close;
}
if (questprogress(getarg(0))) {
- specialeffect(EF_BLIND, AREA, playerattached());
- specialeffect(EF_BEGINSPELL, AREA, playerattached());
+ specialeffect2 EF_BLIND;
+ specialeffect2 EF_BEGINSPELL;
progressbar "ffff00",4;
erasequest getarg(0);
mes "These must be ["+getarg(1)+"]'s Remains. So carefully gather his remains.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
getitem getarg(3), rand(1,getarg(4));
if (rand(10)) {
next;
mes "You picked up "+getarg(2)+" Mora Coins next to the remains.";
- specialeffect(EF_STEAL, AREA, playerattached());
+ specialeffect2 EF_STEAL;
getitem Mora_Coin,getarg(2);
}
close;
diff --git a/npc/warps/fields/abyss_warper.txt b/npc/warps/fields/abyss_warper.txt
index fd8854234..204c55842 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";
- specialeffect(EF_PORTAL, AREA, playerattached());
+ specialeffect2 EF_PORTAL;
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;
- specialeffect(EF_PORTAL, AREA, playerattached());
+ specialeffect2 EF_PORTAL;
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;
- specialeffect(EF_PORTAL, AREA, playerattached());
+ specialeffect2 EF_PORTAL;
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 6fc319377..5f291e658 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;
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 2:
@@ -1212,7 +1212,7 @@ OnEnable:
mes "like this will work.^000000";
++.@rp_temp;
++.@ro_of02;
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
}
@@ -1236,7 +1236,7 @@ OnEnable:
mes "is starting to look more solid.^000000";
++.@rp_temp;
++.@ro_of02;
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 3:
@@ -1277,7 +1277,7 @@ OnEnable:
mes "much of the gate's damage.^000000";
++.@rp_temp;
++.@ro_of02;
- specialeffect(EF_REPAIRWEAPON, AREA, playerattached());
+ specialeffect2 EF_REPAIRWEAPON;
next;
break;
case 4:
diff --git a/src/map/script.c b/src/map/script.c
index 01bd4d9b5..91f1d8cc9 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -14890,40 +14890,24 @@ BUILDIN(npcskilleffect) {
*------------------------------------------*/
BUILDIN(specialeffect) {
struct block_list *bl = NULL;
- int type = script_getnum(st, 2);
- enum send_target target = AREA;
-
- if (script_hasdata(st, 3)) {
- target = script_getnum(st, 3);
- }
+ int type = script_getnum(st,2);
+ enum send_target target = script_hasdata(st,3) ? (send_target)script_getnum(st,3) : AREA;
- if (script_hasdata(st, 4)) {
- if (script_isstringtype(st, 4)) {
- struct npc_data *nd = npc->name2id(script_getstr(st, 4));
- if (nd != NULL) {
- bl = &nd->bl;
- }
- } else {
- bl = map->id2bl(script_getnum(st, 4));
- }
+ if (script_hasdata(st,4)) {
+ struct npc_data *nd = npc->name2id(script_getstr(st,4));
+ if (nd != NULL)
+ bl = &nd->bl;
} else {
bl = map->id2bl(st->oid);
}
- if (bl == NULL) {
+ if (bl == NULL)
return true;
- }
if (target == SELF) {
- struct map_session_data *sd;
- if (script_hasdata(st, 5)) {
- sd = map->id2sd(script_getnum(st, 5));
- } else {
- sd = script->rid2sd(st);
- }
- if (sd != NULL) {
+ struct map_session_data *sd = script->rid2sd(st);
+ if (sd != NULL)
clif->specialeffect_single(bl, type, sd->fd);
- }
} else {
clif->specialeffect(bl, type, target);
}
@@ -23580,7 +23564,7 @@ void script_parse_builtin(void) {
BUILDIN_DEF(getskilllist,""),
BUILDIN_DEF(clearitem,""),
BUILDIN_DEF(classchange,"ii?"),
- BUILDIN_DEF_DEPRECATED(misceffect,"i"),
+ BUILDIN_DEF(misceffect,"i"),
BUILDIN_DEF(playbgm,"s"),
BUILDIN_DEF(playbgmall,"s?????"),
BUILDIN_DEF(soundeffect,"si"),
@@ -23595,8 +23579,8 @@ void script_parse_builtin(void) {
BUILDIN_DEF(petskillsupport,"viiii"), // [Skotlex]
BUILDIN_DEF(skilleffect,"vi"), // skill effect [Celest]
BUILDIN_DEF(npcskilleffect,"viii"), // npc skill effect [Valaris]
- BUILDIN_DEF(specialeffect,"i???"), // npc skill effect [Valaris]
- BUILDIN_DEF_DEPRECATED(specialeffect2,"i??"), // skill effect on players[Valaris]
+ BUILDIN_DEF(specialeffect,"i??"), // npc skill effect [Valaris]
+ BUILDIN_DEF(specialeffect2,"i??"), // skill effect on players[Valaris]
BUILDIN_DEF(nude,""), // nude command [Valaris]
BUILDIN_DEF(mapwarp,"ssii??"), // Added by RoVeRT
BUILDIN_DEF(atcommand,"s"), // [MouseJstr]