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/quests/first_class/tu_acolyte.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/quests/first_class/tu_acolyte.txt')
-rw-r--r-- | npc/quests/first_class/tu_acolyte.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/quests/first_class/tu_acolyte.txt b/npc/quests/first_class/tu_acolyte.txt index 2762325cb..69cfb3cbf 100644 --- a/npc/quests/first_class/tu_acolyte.txt +++ b/npc/quests/first_class/tu_acolyte.txt @@ -310,7 +310,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{ tu_acolyte01 = 3; if(getskilllv("AL_HEAL") == 0){ getexp 0,100; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); } close; case 3: @@ -399,11 +399,11 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{ delitem Mace, 1; if(Class == Job_Acolyte_High) { getexp 2000,1000; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); close; } else { getexp 1000,500; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); close; } } else { @@ -654,7 +654,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{ mes "[Asthe]"; mes "Pneuma shields characters"; mes "within a 3*3 block, or a 9 cell area, from ^FF0000long range attacks^000000. If you party with Archers or other Bow users, be careful since you might accidentally block their attacks."; - specialeffect2 EF_PNEUMA; + specialeffect(EF_PNEUMA, AREA, playerattached()); next; mes "[Asthe]"; mes "There are some Undead monsters"; @@ -795,7 +795,7 @@ prt_monk,230,106,3 script Asthe#tu 1_F_PRIEST,{ getexp 1000,1000; else getexp 5000,3000; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); close; } mes "If you get into an"; @@ -873,7 +873,7 @@ monk_in,18,38,6 script Priest Gardron#tu 4_M_MINISTER,{ getexp 1000,1000; else getexp 2000,2000; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); //getitem Blue_Potion,1; close; } else { @@ -1145,7 +1145,7 @@ prt_monk,226,257,6 script Ill Girl#tu 4_F_04,{ getexp 0,500; else getexp 0,1000; - specialeffect2 EF_CONE; + specialeffect(EF_CONE, AREA, playerattached()); next; break; } else { |