Difference between revisions of "Script Function: activate"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> activate(<span style="color:#0000FF">obj</span> victim) { <span style="color:#0000FF">...") |
(No difference)
|
Latest revision as of 01:17, 21 October 2018
function void activate(obj victim) { loc Q61V = getLocation(this); doLocAnimation(Q61V, 0x119B, 0x0A, 0x05, 0x00, 0x00); list Q67L; getObjectsAt(Q67L, Q61V); appendToList(Q67L, victim); int Q53A = numInList(Q67L); for(int i = 0x00; i < Q53A; i++) { if (isMobile(Q67L[i])) { loseHP(Q67L[i], 0x0A); } } return (); }