Script Function: Q5JE

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q5JE(obj victim)
 {
   if (isDead(this))
   {
     return (0x00);
   }
   if (!hasObjVar(this, "poison_strength"))
   {
     setObjVar(this, "poison_strength", 0x01);
     return (0x01);
   }
   if (getCurHP(this) < 0x00)
   {
     return (0x00);
   }
   return (0x01);
 }