Script Function: Q4TL

From Ultima Online: The Second Age
Revision as of 05:10, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4TL(<span style="color:#0000FF">obj</span> me) { <span style="color:#0000FF">obj</s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4TL(obj me)
 {
   obj multi = getMultiSlaveId(me);
   int Q4FW = getDecayCount(multi);
   if (getDecayMax(multi) == 0xFFFF)
   {
     resetMultiCarriedDecay(multi);
     return (0x00);
   }
   if (Q4FW > 0x00)
   {
     Q59B(multi);
     resetMultiCarriedDecay(multi);
     return (0x01);
   }
   return (0x00);
 }