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/custom/etc | |
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/custom/etc')
-rw-r--r-- | npc/custom/etc/airplane.txt | 4 | ||||
-rw-r--r-- | npc/custom/etc/monster_arena.txt | 2 | ||||
-rw-r--r-- | npc/custom/etc/mvp_arena.txt | 4 |
3 files changed, 5 insertions, 5 deletions
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: |