Script: Trap gas wall

From Ultima Online: The Second Age
Revision as of 08:11, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> creation { setType|<span style="color:#FF0000;font-weight:bold">se...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits globals;
trigger creation
{
  setType(this, 0x01);
  return (0x00);
}
trigger enterrange(0x03)
{
  if (isDead(target))
  {
    return (0x01);
  }
  doLocAnimation(getLocation(this), 0x113A, 0x03, 0x10, 0x00, 0x00);
  return (0x01);
}
trigger enterrange(0x01)
{
  if (isDead(target))
  {
    return (0x01);
  }
  doLocAnimation(getLocation(this), 0x113A, 0x03, 0x10, 0x00, 0x00);
  loseHP(target, dice(0x03, 0x0A));
  return (0x01);
}