(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
function int Q5JE(obj victim)
{
if (isDead(this))
{
return (0x00);
}
if (!hasObjVar(this, "poison_strength"))
{
setObjVar(this, "poison_strength", 0x01);
return (0x01);
}
if (getCurHP(this) < 0x00)
{
return (0x00);
}
return (0x01);
}