Script Function: Statfix

From Ultima Online: The Second Age
Revision as of 03:30, 19 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> statfix(<span style="color:#0000FF">obj</span> it) { for(<span style="color:#0000FF...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void statfix(obj it)
 {
   for(int i = 0x00; i < 0x03; i++)
   {
     int Q5G7 = getRealStat(it, i);
     int Q5W9 = Q5G7;
     if (Q5G7 < 0x00)
     {
       Q5W9 = 0x00;
     }
     if (Q5G7 >= 0xC8)
     {
       Q5W9 = 0x00;
     }
     if (Q5W9 != Q5G7)
     {
       int Q527 = setRealStat(it, i, Q5W9);
     }
   }
   return ();
 }