Difference between revisions of "Script Function: Q4ZV"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4ZV(<span style="color:#0000FF">obj</span> Q5HY, <span style="color:#0000FF">obj</span> p...") |
(No difference)
|
Latest revision as of 03:31, 12 October 2018
function int Q4ZV(obj Q5HY, obj pet) { list Q48U; if (!hasObjListVar(pet, "myBoss")) { return (0x00); } getObjListVar(Q48U, pet, "myBoss"); if (!isInList(Q48U, Q5HY)) { return (0x00); } if (!hasObjVar(pet, "myLoyalty")) { return (0x00); } int myLoyalty = getObjVar(pet, "myLoyalty"); if (myLoyalty < 0x01) { return (0x00); } return (0x01); }