Script: Planttodd

From Ultima Online: The Second Age
Revision as of 16:49, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">trigger</span> 1000 enterrange(0x05) { <span style="color:#0000FF">if</span> (isPlayer|<span style="color:#FF0000;font-weight:bold">isPlayer...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
trigger 1000 enterrange(0x05)
{
  if (isPlayer(target))
  {
    obj player = target;
    doLightning(target);
    loc Q5IZ = getLocation(player);
    sfx(Q5IZ, 0x020A, 0x020A);
    animateMobile(player, 0x14, 0x05, 0x01, 0x00, 0x00);
    doDamage(player, player, 0x0A);
  }
  return (0x01);
}