Script Function: Q5RL

From Ultima Online: The Second Age
Revision as of 03:03, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5RL() { <span style="color:#0000FF">if</span> (!hasObjVar|<span style="color:#FF...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q5RL()
 {
   if (!hasObjVar(this, "plateMailCost"))
   {
     Q4HY = (0x00 - 0x05);
   }
   else
   {
     Q4HY = getObjVar(this, "plateMailCost");
     Q4HY = (0x00 - Q4HY);
   }
   if (hasObjVar(this, "pmf"))
   {
     removeObjVar(this, "pmf");
   }
   return ();
 }