Difference between revisions of "Script Function: Q5HL"
From Ultima Online: The Second Age
(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<...") |
(No difference)
|
Latest revision as of 17:29, 12 October 2018
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 (); }