Find
You are looking at a material called queenmandibs
Created by
omenofdoom
, last updated 23 Dec 2007
Code
if second of hit then doit;
##doit:
var $hit1 = (crunches,chews,mangles);
print "[$init_obj] $hit1 [$target] with [$actor]!";
$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;
##isitme:
if $actor's host = $init_obj then changemenow else nope;
##changemenow:
set $actor's healthmax = 250;
set $actor's health = 250;
$mat = $actor's material;
swap $mat take "_omegamandibs_";
swap $mat add "_queenmandibs_";
set $actor's material to $mat;
set $actor's class to 'gaping maw';
set $actor's class to 'gaping maws';