Script Function: Q50H

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