Script Function: Q50K

From Ultima Online: The Second Age
Jump to: navigation, search
 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);
 }