Script: Dec1 floor crumble

From Ultima Online: The Second Age
Revision as of 22:58, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> enterrange(0x00) { <span style="color:#0000FF">loc</span> toLocation...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits globals;
trigger enterrange(0x00)
{
  loc toLocation = 0x14A6, 0x0236, 0x00;
  doLocAnimation(getLocation(this), 0x11C1, 0x03, 0x0F, 0x00, 0x00);
  if (!teleport(target, toLocation))
  {
    return (0x01);
  }
  loseHP(target, dice(0x14, 0x0A));
  return (0x00);
}