Script: Dec4 dart trap

From Ultima Online: The Second Age
Revision as of 21:29, 18 October 2018 by Grimoric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits sndfx;
trigger enterrange(0x01)
{
  if (!isPlayer(target))
  {
    return (0x00);
  }
  sfx(getLocation(this), 0x0223, 0x00);
  doLocAnimation(getLocation(this), 0x112C, 0x02, 0x03, 0x00, 0x00);
  loseHP(target, dice(0x02, 0x04));
  return (0x00);
}