summaryrefslogtreecommitdiff
path: root/npc/custom/battleground/bg_kvm01.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/battleground/bg_kvm01.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/battleground/bg_kvm01.txt')
-rw-r--r--npc/custom/battleground/bg_kvm01.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/custom/battleground/bg_kvm01.txt b/npc/custom/battleground/bg_kvm01.txt
index c27e042a2..a66e202e3 100644
--- a/npc/custom/battleground/bg_kvm01.txt
+++ b/npc/custom/battleground/bg_kvm01.txt
@@ -35,9 +35,9 @@ OnEnterBG:
bat_c01,54,123,0 script #bat_c01a HIDDEN_NPC,{
end;
-OnKvM01LightA: misceffect 54; end;
-OnKvM01LightB: misceffect 55; end;
-OnKvM01LightC: misceffect 56; end;
+OnKvM01LightA: specialeffect(EF_BEGINSPELL2); end;
+OnKvM01LightB: specialeffect(EF_BEGINSPELL3); end;
+OnKvM01LightC: specialeffect(EF_BEGINSPELL4); end;
}
bat_c01,56,125,0 duplicate(#bat_c01a) #bat_c01b HIDDEN_NPC
@@ -286,7 +286,7 @@ bat_c01,51,130,5 script Therapist in battle::TherapistKvM01a 4_F_SISTER,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
- specialeffect2 312;
+ specialeffect(EF_HEAL, AREA, playerattached());
close;
}
@@ -294,7 +294,7 @@ bat_c01,148,53,1 script Therapist in battle::TherapistKvM01b 4_F_SISTER,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
- specialeffect2 312;
+ specialeffect(EF_HEAL, AREA, playerattached());
close;
}