Script: Radiusdamage

From Ultima Online: The Second Age
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);
}