Script: Cov1 fire trap

From Ultima Online: The Second Age
Revision as of 00:45, 6 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> sndfx; <span style="color:#0000FF">trigger</span> enterrange(0x03) { doLocAnimation|<span style="color:#FF0000;font-we...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits sndfx;
trigger enterrange(0x03)
{
  doLocAnimation(getLocation(this), 0x3709, 0x01, 0x38, 0x00, 0x00);
  sfx(getLocation(this), 0x0225, 0x00);
  return (0x01);
}
trigger enterrange(0x00)
{
  doLocAnimation(getLocation(this), 0x3709, 0x01, 0x0100, 0x00, 0x00);
  loseHP(target, dice(0x08, 0x08));
  sfx(getLocation(this), 0x0225, 0x00);
  return (0x01);
}