Script Function: Q50H

From Ultima Online: The Second Age
Revision as of 03:51, 8 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q50H(<span style="color:#0000FF">obj</span> caster, <span style="color:#0000FF">obj</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q50H(obj caster, obj victim)
 {
   if (caster == victim)
   {
     return (0x00);
   }
   if (getMobFlag(victim, 0x02))
   {
     return (0x00);
   }
   if (isInvulnerable(victim))
   {
     return (0x00);
   }
   return (0x01);
 }