diff options
Diffstat (limited to 'localserver/npc')
-rw-r--r-- | localserver/npc/025-2-4_aegis_blackbox.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/localserver/npc/025-2-4_aegis_blackbox.txt b/localserver/npc/025-2-4_aegis_blackbox.txt new file mode 100644 index 0000000..524d704 --- /dev/null +++ b/localserver/npc/025-2-4_aegis_blackbox.txt @@ -0,0 +1,33 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// Aegis Shield & Mana Tree Blackbox + +// Syntax: +// 02524_Tree_BlackBox( target name, target GID ) +// 02524_Revenge_BlackBox( - ) +// 02524_Avenge_BlackBox( deadflag ) +function script 02524_Tree_BlackBox { + .@prayer$=getarg(0); + .@gid=getarg(1); + .@org=getcharid(3); + message .@prayer$, strcharinfo(0)+" is praying for you!"; + if (!attachrid(.@gid)) return; + percentheal 100, 100; + @purifio=max(gettimetick(2), @purifio)+60; + attachrid(.@org); + getmapxy(.@m$, .@x, .@y, 0); + .@mob=monster(.@m$, .@x+any(-2,-3,2,3), .@y+any(-1,0,1), "Pinkie of Doom", PinkieSuseran, 1); + unitattack(.@mob, .@org); + return; +} + +function script 02524_Revenge_BlackBox { + return; +} + +function script 02524_Avenge_BlackBox { + return; +} + |