Difference between revisions of "Script Function: Q4TL"

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> Q4TL(<span style="color:#0000FF">obj</span> me) { <span style="color:#0000FF">obj</s...")
 
(No difference)

Latest revision as of 06:10, 12 October 2018

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