Difference between revisions of "Script Function: Q50G"

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

Latest revision as of 05:25, 10 October 2018

 function int Q50G(obj usedon)
 {
   if (isMobile(usedon))
   {
     if (!isDead(usedon))
     {
       if (!isCounselor(usedon))
       {
         if (!getMobFlag(usedon, 0x01))
         {
           return (0x01);
         }
       }
     }
   }
   return (0x00);
 }