Script Function: Q50D

From Ultima Online: The Second Age
Revision as of 15:21, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q50D(<span style="color:#0000FF">obj</span> victim) { <span style="color:#0000FF">if...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q50D(obj victim)
 {
   if (!isMobile(victim))
   {
     return (0x00);
   }
   int Q5YT = getObjType(victim);
   switch (Q5YT)
   {
   case 0x18
   case 0x1A
   case 0x32
   case 0x38
   case 0x03
     return (0x01);
     break;
   default
     return (0x00);
     break;
   }
   return (0x00);
 }