diff options
author | Haru <haru@dotalux.com> | 2017-06-03 22:52:17 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-06-03 22:52:17 +0200 |
commit | 10cb83a30cc50d757e05924fb29c11fc68abda49 (patch) | |
tree | d25f9efea9b8d07a2ea1d784f08811acf136629a /npc/re/jobs/2e/kagerou_oboro.txt | |
parent | 68059ee62a223edb323abba0bc980faab8ed4b52 (diff) | |
parent | 9913f13573d737b4c54c7cad23b77c6a940fe8f4 (diff) | |
download | hercules-10cb83a30cc50d757e05924fb29c11fc68abda49.tar.gz hercules-10cb83a30cc50d757e05924fb29c11fc68abda49.tar.bz2 hercules-10cb83a30cc50d757e05924fb29c11fc68abda49.tar.xz hercules-10cb83a30cc50d757e05924fb29c11fc68abda49.zip |
Merge pull-request #1746
This is equivalent to, and replaces, commit 19883c583
Diffstat (limited to 'npc/re/jobs/2e/kagerou_oboro.txt')
-rw-r--r-- | npc/re/jobs/2e/kagerou_oboro.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/npc/re/jobs/2e/kagerou_oboro.txt b/npc/re/jobs/2e/kagerou_oboro.txt index 08f8d6024..efb1faf03 100644 --- a/npc/re/jobs/2e/kagerou_oboro.txt +++ b/npc/re/jobs/2e/kagerou_oboro.txt @@ -1662,7 +1662,7 @@ OnTouch: next; switch(select("Try something.", "Do nothing.")) { case 1: - specialeffect2 EF_TALK_FROSTJOKE; + specialeffect(EF_TALK_FROSTJOKE, AREA, playerattached()); mes "Tried a recent Prontera joke to do something."; next; setquest 5141; @@ -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,"Crafting Tools#ko_01"; + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_01")); mes "[Red Leopard Joe]"; mes "Feel free to use tools from here, and..."; next; - specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_02"; + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_02")); mes "[Red Leopard Joe]"; mes "...there..."; next; - specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_03"; + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "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,"Crafting Tools#ko_01"; + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_01")); mes "[Red Leopard Joe]"; mes "Feel free to use tools from here, and..."; next; - specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_02"; + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "Crafting Tools#ko_02")); mes "[Red Leopard Joe]"; mes "...there..."; next; - specialeffect EF_GUIDEDATTACK,AREA,"Crafting Tools#ko_03"; + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "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,"Drawer#ko"; + specialeffect(EF_GUIDEDATTACK, AREA, getnpcid(0, "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) { - specialeffect2 EF_PERFECTION; + specialeffect(EF_PERFECTION, AREA, playerattached()); erasequest 5142; if (.@weapon_who == 0) { setquest 5143; @@ -2361,7 +2361,7 @@ job_ko,131,124,0 script Crafting Tools#ko_01 CLEAR_NPC,{ mes "Let's take it to Red Leopard Joe."; close; } else { - specialeffect2 EF_SUI_EXPLOSION; + specialeffect(EF_SUI_EXPLOSION, AREA, playerattached()); mes "The weapon was destroyed while doing the finishing touches to it."; next; mes "There must have been something missed while creating the weapon. Very sad this happened but you'll have to start all over again."; @@ -2380,11 +2380,11 @@ L_ForgeWeapon: set .@i, select("Grind the weapon", "Temper the weapon" + getarg(0)); switch (.@i) { case 1: - specialeffect2 EF_DETOXICATION; + specialeffect(EF_DETOXICATION, AREA, playerattached()); mes "Ground the weapon."; break; case 2: - specialeffect2 EF_REPAIRWEAPON; + specialeffect(EF_REPAIRWEAPON, AREA, playerattached()); mes "Tempered the weapon."; break; case 3: |