Script Function: Q4CJ

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q4CJ(obj Q5H7)
 {
   if (!hasObjVar(Q5H7, "myBoss"))
   {
     return (0x00);
   }
   if (!hasObjVar(Q5H7, "myLoyalty"))
   {
     return (0x00);
   }
   int Q525 = getObjVar(Q5H7, "myLoyalty");
   if (Q525 < 0x01)
   {
     return (0x00);
   }
   return (0x01);
 }