Difference between revisions of "Script Function: Q5LY"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5LY(<span style="color:#0000FF">obj</span> Q68S) { <span style="color:#0000FF">int...") |
|||
Line 7: | Line 7: | ||
} | } | ||
num++; | num++; | ||
− | [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](Q68S, <span style="color:#800000">" | + | [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](Q68S, <span style="color:#800000">"statfix"</span>, num); |
<span style="color:#0000FF">return</span> (); | <span style="color:#0000FF">return</span> (); | ||
} | } |
Revision as of 05:11, 24 October 2018
function void Q5LY(obj Q68S) { int num = 0x00; if (hasObjVar(Q68S, "fixStats")) { num = getObjVar(Q68S, "fixStats"); } num++; setObjVar(Q68S, "statfix", num); return (); }