Script Function: Q5HL

From Ultima Online: The Second Age
Revision as of 17:29, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5HL(<span style="color:#0000FF">obj</span> Q5HY) { <span style="color:#0000FF">if<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 ();
 }