Script: Fs damage

From Ultima Online: The Second Age
Revision as of 22:51, 5 October 2018 by Grimoric (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits globals;
trigger creation
{
  callback(this, 0x02, 0x3E);
  return (0x01);
}
trigger callback(0x3E)
{
  list Q4GI;
  getMobsInRange(Q4GI, getLocation(this), 0x00);
  for(int i = 0x00; i < numInList(Q4GI); i++)
  {
    loseHP(Q4GI[i], dice(0x14, 0x05));
  }
  callback(this, 0x02, 0x3E);
  return (0x01);
}