(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
function int Q50K(obj this, obj target)
{
if (!isHuman(target))
{
return (0x00);
}
if (isNPC(target))
{
return (0x00);
}
if (isDead(target))
{
return (0x00);
}
if (!canSeeObj(this, target))
{
return (0x00);
}
return (0x01);
}