Script: Radiusdamage

From Ultima Online: The Second Age
Revision as of 19:28, 12 October 2018 by Grimoric (talk | contribs)
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); // This is not linked sins it is an empty function in this page and has no other references from anywhere.
    }
    ;
    ;
  }
  ;
  callback(this, 0x14, 0x95);
  return (0x00);
}