Script: Cov3 spike slave

From Ultima Online: The Second Age
Revision as of 21:30, 18 October 2018 by Grimoric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits globals;
member int Q468;
trigger creation
{
  setType(this, 0x01);
  return (0x00);
}
trigger message("doAnimation")
{
  list Q67G;
  doLocAnimation(getLocation(this), 0x111C, 0x02, 0x10, 0x00, 0x00);
  getMobsInRange(Q67G, getLocation(this), 0x01);
  for(int i = 0x00; i < numInList(Q67G); i++)
  {
    loseHP(Q67G[i], dice(0x14, 0x05));
  }
  return (0x00);
}