Script Function: Q50D

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q50D(obj victim)
 {
   if (!isMobile(victim))
   {
     return (0x00);
   }
   int Q5YT = getObjType(victim);
   switch (Q5YT)
   {
   case 0x18
   case 0x1A
   case 0x32
   case 0x38
   case 0x03
     return (0x01);
     break;
   default
     return (0x00);
     break;
   }
   return (0x00);
 }