Script Function: Q4AL

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