Difference between revisions of "Script Function: Q5RL"

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

Latest revision as of 03:03, 12 October 2018

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