Find
You are looking at a life draining mandibles
They don't look particularly dangerous...
Created by
omenofdoom
, last updated 18 Dec 2007
Code
if second of hit then doit;
##doit:
$hh = $init_obj's health;
$hm = $init_obj's healthmax;
if $hh < $hm then healit else fullme;
$th = $target's health;
$tm = $target's healthmax;
if $th < 1 then deadit else hurtit;
##healit:
add 2 to $hh;
set $hh = $init_obj's health;
print "[$init_obj] drains some of [$target]'s life force";
print "[$init_obj] feels healthier";
##fullme:
print "[$init_obj] is fully replenished";
##deadit:
set $th = 0;
print "[$target] falls to the floor, drained of all life";
##hurtit:
take 2 from $th;
print "[$target] is weakened from [$actor]";
set $target's health = $th;