Script Function: Q4AN

From Ultima Online: The Second Age
Revision as of 21:32, 10 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4AN() { Q453 = 0x10; <span style="color:#0000FF">if</span> (Q559 < 0x0A) {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4AN()
 {
   Q453 = 0x10;
   if (Q559 < 0x0A)
   {
     Q453 = 0x0F;
   }
   else
   {
     Q63S = Q5BJ();
     Q453 = Q453 + random(Q63S, 0x02);
   }
   if (Q4AP < 0x04)
   {
     return (0x00 - 0x10);
   }
   Q5XJ = Q4BF(Q453);
   if (Q5XJ == 0x00)
   {
     return (Q453);
   }
   return (Q5XJ);
 }