Difference between revisions of "Script Function: Q4RB"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q4RB(<span style="color:#0000FF">obj</span> item) { <span style="color:#0000FF">s...") |
(No difference)
|
Latest revision as of 15:33, 12 October 2018
function string Q4RB(obj item) { string Q5K9 = ""; string Q4R4 = ""; int Q5NC = 0x00; int val = 0x00; Q5K9 = getArticle(getObjType(item)); Q5NC = getResource(val, item, "magic", 0x03, 0x02); if (Q5NC) { if (val > 0x00) { if (Q5K9 != "") { Q5K9 = Q5K9 + " "; } Q5K9 = Q5K9 + "magic"; } } if (Q5K9 != "") { Q5K9 = Q5K9 + " "; } Q4R4 = Q5K9 + getNameByType(getObjType(item)); return (Q4R4); }