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/events/gdevent_aru.txt | |
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/events/gdevent_aru.txt')
-rw-r--r-- | npc/events/gdevent_aru.txt | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt index d192456aa..4e8a3c6e8 100644 --- a/npc/events/gdevent_aru.txt +++ b/npc/events/gdevent_aru.txt @@ -1351,33 +1351,33 @@ OnMVP: end; OnTimer1000: - specialeffect EF_MVP,AREA,"paper_sp_1_a"; - specialeffect EF_MVP,AREA,"paper_sp_3_a"; - specialeffect EF_MVP,AREA,"paper_sp_5_a"; - specialeffect EF_MVP,AREA,"paper_sp_7_a"; - specialeffect EF_MVP,AREA,"paper_sp_9_a"; + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_1_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_3_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_5_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_7_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_9_a")); end; OnTimer2000: - specialeffect EF_MVP,AREA,"paper_sp_2_a"; - specialeffect EF_MVP,AREA,"paper_sp_4_a"; - specialeffect EF_MVP,AREA,"paper_sp_6_a"; - specialeffect EF_MVP,AREA,"paper_sp_8_a"; + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_2_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_4_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_6_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_8_a")); end; OnTimer3000: - specialeffect EF_MVP,AREA,"paper_sp_1_a"; - specialeffect EF_MVP,AREA,"paper_sp_3_a"; - specialeffect EF_MVP,AREA,"paper_sp_5_a"; - specialeffect EF_MVP,AREA,"paper_sp_7_a"; - specialeffect EF_MVP,AREA,"paper_sp_9_a"; + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_1_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_3_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_5_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_7_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_9_a")); end; OnTimer4000: - specialeffect EF_MVP,AREA,"paper_sp_2_a"; - specialeffect EF_MVP,AREA,"paper_sp_4_a"; - specialeffect EF_MVP,AREA,"paper_sp_6_a"; - specialeffect EF_MVP,AREA,"paper_sp_8_a"; + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_2_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_4_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_6_a")); + specialeffect(EF_MVP, AREA, getnpcid(0, "paper_sp_8_a")); stopnpctimer; end; } |