Script: Radiusdamage

From Ultima Online: The Second Age
Revision as of 16:33, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> sndfx; <span style="color:#0000FF">function</span> Q6AA(); <span style="color:#0000FF">trigger</span> creation { cal...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits sndfx;
function Q6AA();
trigger creation
{
  callback(this, 0x14, 0x95);
  return (0x01);
}
trigger callback(0x95)
{
  list Q6AB;
  getMobsInRange(Q6AB, getLocation(this), 0x0A);
  int x = numInList(Q6AB);
  while(x != 0x00)
  {
    x--;
    obj Q61K = Q6AB[x];
    if (isPlayer(Q61K))
    {
      Q6AA(Q61K);
    }
    ;
    ;
  }
  ;
  callback(this, 0x14, 0x95);
  return (0x00);
}