if targetexists "harmful"
@canceltarget
@cancelautotarget
endif
if not listexists 'BodyTypes'
createlist 'BodyTypes'
//dragon
pushlist 'BodyTypes' 0x3b
//human
pushlist 'BodyTypes' 0x190
pushlist 'BodyTypes' 0x191
//wraith
pushlist 'BodyTypes' 0x2ec
pushlist 'BodyTypes' 0x2eb
//elf
pushlist 'BodyTypes' 0x25d
pushlist 'BodyTypes' 0x25e
//garg
pushlist 'BodyTypes' 0x29a
//lich
// pushlist 'BodyTypes' 0x2ed
//vamp
// pushlist 'BodyTypes' 0x2e9
// pushlist 'BodyTypes' 0x2e8
endif
//find lowest hp friend
clearignorelist
ignoreobject 'self'
@setalias 'buddy' 'self'
for 0 to 'BodyTypes'
while @findtype BodyTypes[] 'any' ground 0 10
if @infriendlist 'found' and hits 'found' < hits 'buddy'
@setalias 'buddy' 'found'
endif
ignoreobject 'found'
endwhile
endfor
if targetexists 'server' or targetexists 'beneficial'
target! 'buddy'
endif
if @inrange 'buddy' 10
if poisoned 'buddy' and not yellowhits 'buddy'
cast 'cure' 'buddy'
elseif hits 'buddy' < 99 and not yellowhits 'buddy'
cast 'heal' 'buddy'
elseif yellowhits 'buddy' and diffhits 'self' < 5
cast "Cleansing Winds" 'buddy'
endif
endif
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}