Script Function: Q4DB

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q4DB()
 {
   bark(this, "I regret nothing!");
   list args;
   message(getBackpack(this), "cleanup", args);
   makeVulnerable(this);
   setCurHP(this, 0x00);
   loseHP(this, 0x2710);
   return ();
 }
 function void Q4DB()
 {
   removeObjVar(this, "trapLevel");
   removeObjVar(this, "trapType");
   return ();
 }
 function void Q4DB()
 {
   clearList(Q5V0);
   clearList(Q4PF);
   clearList(Q5QM);
   clearList(Q61M);
   clearList(Q4QW);
   clearList(Q4P4);
   clearList(Q5T7);
   clearList(Q5RM);
   clearList(Q4NI);
   if (hasObjVar(Q56M, "inUse"))
   {
     removeObjVar(Q56M, "inUse");
   }
   if (hasScript(Q56M, "removeinuse"))
   {
     removeObjVar(Q56M, "removeinuse");
   }
   return ();
 }