Script Function: Q5RL

From Ultima Online: The Second Age
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 ();
 }