summaryrefslogtreecommitdiff
path: root/npc/battleground/tierra
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/battleground/tierra
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/battleground/tierra')
-rw-r--r--npc/battleground/tierra/tierra01.txt6
-rw-r--r--npc/battleground/tierra/tierra02.txt6
2 files changed, 6 insertions, 6 deletions
diff --git a/npc/battleground/tierra/tierra01.txt b/npc/battleground/tierra/tierra01.txt
index 22a612c81..bdf41b0bd 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,{
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
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,{
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
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,{
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
mes("[Valley Ghost]");
mes("Boo...Boo...");
close;
diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt
index a54935089..abdb50a3f 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,{
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
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,{
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
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,{
- specialeffect2 EF_HEAL;
+ specialeffect(EF_HEAL, AREA, playerattached());
mes("[Valley Ghost]");
mes("Boo...Boo...");
close;