Script Function: Q5JB
From Ultima Online: The Second Age
function void Q5JB(obj victim, int strength) { Q4FG = getCurHP(victim); switch (strength) { case 0x01 actionBark(victim, 0x21, "* You feel a bit nauseous... *", "* " + getName(victim) + " looks ill. *"); Q42Y = Q4FG / 0x14; break; case 0x02 actionBark(victim, 0x21, "* You feel disoriented and nauseous! *", "* " + getName(victim) + " looks extremely ill. *"); Q42Y = Q4FG / 0x0F; Q4R0 = 0x0A; break; case 0x03 actionBark(victim, 0x21, "* You begin to feel pain throughout your body! *", "* " + getName(victim) + " stumbles around in confusion and pain. *"); Q42Y = Q4FG / 0x08; Q4R0 = 0x0A; break; case 0x04 actionBark(victim, 0x21, "* You feel extremely weak and are in severe pain! *", "* " + getName(victim) + " is wracked with extreme pain. *"); Q42Y = Q4FG / 0x04; Q4R0 = 0x05; break; case 0x05 actionBark(victim, 0x21, "* You are in extreme pain, and require immediate aid! *", "* " + getName(victim) + " begins to spasm uncontrollably. *"); Q42Y = Q4FG / 0x02; Q4R0 = 0x05; break; } return (); }