Script Function: Q4CJ

From Ultima Online: The Second Age
Revision as of 14:32, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4CJ(<span style="color:#0000FF">obj</span> Q5H7) { <span style="color:#0000FF">if</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
 }