Script Function: Q4A1

From Ultima Online: The Second Age
Revision as of 17:43, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4A1(<span style="color:#0000FF">int</span> Q5NY, <span style="color:#0000FF">int</span> m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4A1(int Q5NY, int metal, int Q55Z)
 {
   if (getArrayIntElem(0x00, 0x04, Q5NY) > metal)
   {
     return (0x00);
   }
   if (getArrayIntElem(0x00, 0x05, Q5NY) > Q55Z)
   {
     return (0x00);
   }
   return (0x01);
 }