summaryrefslogtreecommitdiff
path: root/npc/custom/healer.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2017-06-03 15:34:53 -0400
committerHaru <haru@dotalux.com>2017-06-03 21:34:53 +0200
commit19883c583e5e1471c87ae80e67f34882a7e75bc6 (patch)
tree7d7e1a7a04081ce9725f771402a88a09d859f5e6 /npc/custom/healer.txt
parent9d28c5187812e496b10d6fbaf62c642a69916021 (diff)
downloadhercules-19883c583e5e1471c87ae80e67f34882a7e75bc6.tar.gz
hercules-19883c583e5e1471c87ae80e67f34882a7e75bc6.tar.bz2
hercules-19883c583e5e1471c87ae80e67f34882a7e75bc6.tar.xz
hercules-19883c583e5e1471c87ae80e67f34882a7e75bc6.zip
Unify specialeffect, convert legacy scripts (#1746)
* allow to use specialeffect() on any unit, and to send to any player * update the documentation for specialeffect() * remove specialeffect2 from databases * remove specialeffect2 from npcs * remove misceffect from npcs * convert specialeffect calls with strings to use GID * add missing constants to specialeffect calls * flag specialeffect2() as deprecated * flag misceffect() as deprecated
Diffstat (limited to 'npc/custom/healer.txt')
-rw-r--r--npc/custom/healer.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/custom/healer.txt b/npc/custom/healer.txt
index 97c4e7284..9e0d4abe4 100644
--- a/npc/custom/healer.txt
+++ b/npc/custom/healer.txt
@@ -25,10 +25,10 @@
if(select("^0055FFHeal^000000", "^777777Cancel^000000") == 2) close;
Zeny -= .@price;
}
- specialeffect2 EF_HEAL2; percentheal 100,100;
+ specialeffect(EF_HEAL2, AREA, playerattached()); percentheal 100,100;
if (.@Buffs) {
- specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10;
- specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10;
+ specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10;
+ specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10;
}
if (.@Delay) @HD = gettimetick(2)+.@Delay;
end;