diff options
author | mekolat <mekolat@users.noreply.github.com> | 2017-06-03 15:34:53 -0400 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-06-03 21:34:53 +0200 |
commit | 19883c583e5e1471c87ae80e67f34882a7e75bc6 (patch) | |
tree | 7d7e1a7a04081ce9725f771402a88a09d859f5e6 /npc/battleground | |
parent | 9d28c5187812e496b10d6fbaf62c642a69916021 (diff) | |
download | hercules-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')
-rw-r--r-- | npc/battleground/flavius/flavius01.txt | 4 | ||||
-rw-r--r-- | npc/battleground/flavius/flavius02.txt | 4 | ||||
-rw-r--r-- | npc/battleground/tierra/tierra01.txt | 6 | ||||
-rw-r--r-- | npc/battleground/tierra/tierra02.txt | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/npc/battleground/flavius/flavius01.txt b/npc/battleground/flavius/flavius01.txt index 8370f1e53..ee8ac5cb3 100644 --- a/npc/battleground/flavius/flavius01.txt +++ b/npc/battleground/flavius/flavius01.txt @@ -301,7 +301,7 @@ OnStop: } bat_b01,10,294,3 script Battle Therapist#b01_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."); @@ -346,7 +346,7 @@ OnTouch: } bat_b01,389,14,3 script Battle Therapist#b01_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."); diff --git a/npc/battleground/flavius/flavius02.txt b/npc/battleground/flavius/flavius02.txt index 232dd7e39..69a54017b 100644 --- a/npc/battleground/flavius/flavius02.txt +++ b/npc/battleground/flavius/flavius02.txt @@ -301,7 +301,7 @@ OnStop: } bat_b02,10,294,3 script Battle Therapist#b02_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."); @@ -346,7 +346,7 @@ OnTouch: } bat_b02,389,14,3 script Battle Therapist#b02_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."); 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; |