Script Function: Q4AK
From Ultima Online: The Second Age
function int Q4AK() { Q453 = 0x00; if (random(0x00, 0x01) == 0x01) { Q63S = Q4GK(); Q453 = Q453 + 0x08; } else { if (Q559 < 0x06) { if (random(0x00, 0x01) == 0x00) { Q453 = Q453 + 0x08; } } Q63S = Q4OB(); } Q453 = Q453 + random(Q63S, 0x07); Q5XJ = Q4BF(Q453); if (Q5XJ == 0x00) { return (Q453); } return (Q5XJ); }