Difference between revisions of "Script Function: Q41L"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q41L(<span style="color:#0000FF">obj</span> Q4P2, <span style="color:#0000FF">obj</span> t...") |
(No difference)
|
Latest revision as of 11:01, 10 October 2018
function int Q41L(obj Q4P2, obj target) { if (isCounselor(target)) { return (0x00); } int Q5NC = 0x00; loc Q4P3 = getLocation(Q4P2); int Q6A1 = getZ(Q4P3); loc Q5YV = getLocation(target); int Q6A3 = getZ(Q5YV); int Q4HE = 0x08; if (Q6A3 >= Q6A1) { int Q63Q = Q6A1 + Q4HE; if (Q6A3 <= Q63Q) { Q5NC = 0x01; } } return (Q5NC); }