blob: 524d70404159324e040963cadfd65bbd57a2bd39 (
plain) (
tree)
|
|
// 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;
}
|