Script Function: Q5HL

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q5HL(obj Q5HY)
 {
   if (0x00)
   {
     bark(Q5HY, "Penalizing stats.");
   }
   for(int i = 0x00; i < 0x2E; i++)
   {
     loseSkillLevel(Q5HY, i, (getSkillLevel(Q5HY, i) / 0x0A));
   }
   int Q4Q1;
   for(i = 0x00; i < 0x03; i++)
   {
     Q4Q1 = modifyRealStat(Q5HY, i, (0x00 - getRealStat(Q5HY, i) / 0x0A));
   }
   removeObjVar(Q5HY, "killcount");
   return ();
 }