Difference between revisions of "Script Function: Q43G"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q43G(<span style="color:#0000FF">obj</span> Q5UY, <span style="color:#0000FF">obj</span> Q...") |
(No difference)
|
Latest revision as of 09:53, 10 October 2018
function int Q43G(obj Q5UY, obj Q4XN, int damage) { int Q5TQ = 0x00; if (isValid(Q5UY)) { if (hasObjVar(Q5UY, "magicItemDamage")) { int Q54V = getObjVar(Q5UY, "magicItemDamage"); Q5TQ = Q54V * 0x0A; } else { if (isValid(Q4XN)) { if (isMobile(Q4XN)) { Q5TQ = getSkillLevel(Q4XN, 0x19); } } } } else { if (isValid(Q4XN)) { if (isMobile(Q4XN)) { Q5TQ = getSkillLevel(Q4XN, 0x19); } } } return (Q43F(Q5TQ, damage)); }