Difference between revisions of "Script Function: Q5UK"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5UK(<span style="color:#0000FF">obj</span> user, <span style="color:#0000FF">obj</span>...") |
(No difference)
|
Latest revision as of 15:12, 10 October 2018
function void Q5UK(obj user, obj usedon, int num, int Q5NO) { if (user == usedon) { return (); } obj Q49N = user; obj victim = usedon; if (Q5NO) { Q49N = usedon; victim = user; } if (getCompileFlag(0x01)) { if (!canBeFreelyAggressedBy(victim, Q49N)) { committedCrimeAt(Q49N, getLocation(victim), 0x01E0); } } else { callGuards(Q49N, getLocation(victim), num); } return (); }