Script: Fs damage

From Ultima Online: The Second Age
Revision as of 21:28, 18 October 2018 by Grimoric (talk | contribs)
(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);
}