diff options
author | Haru <haru@dotalux.com> | 2017-06-03 22:47:54 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-06-03 22:47:54 +0200 |
commit | 68059ee62a223edb323abba0bc980faab8ed4b52 (patch) | |
tree | f50fddbe254d80033eeb74752843ebb6d0eda92f /npc/events/RWC_2012.txt | |
parent | 1b02f9269f15582c7d211f1d1a3a0c1c7ce68a88 (diff) | |
download | hercules-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.
Diffstat (limited to 'npc/events/RWC_2012.txt')
-rw-r--r-- | npc/events/RWC_2012.txt | 10 |
1 files changed, 5 insertions, 5 deletions
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; |