Difference between revisions of "Script Function: Q4A1"

From Ultima Online: The Second Age
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 17:43, 12 October 2018

 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);
 }