Script: Dec4 dart trap

From Ultima Online: The Second Age
Revision as of 22:53, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> sndfx; <span style="color:#0000FF">trigger</span> enterrange(0x01) { <span style="color:#0000FF">if</span> (!isPlayer|...")
(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);
}