Difference between revisions of "Script: Dec1 fs damage"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> creation { callback|<span style="color:#FF0000;font-weight:bold">c...") |
(No difference)
|
Revision as of 22:58, 5 October 2018
inherits globals;
trigger creation { callback(this, 0x01, 0x3D); return (0x01); }
trigger callback(0x3D) { list Q4GI; if (!hasObjVar(this, "disarmed")) { getMobsInRange(Q4GI, getLocation(this), 0x00); for(int i = 0x00; i < numInList(Q4GI); i++) { loseHP(Q4GI[i], dice(0x14, 0x05)); } } callback(this, 0x01, 0x3D); return (0x01); }