Script: Sha rune daemon

From Ultima Online: The Second Age
Jump to: navigation, search
inherits globals;
trigger speech("godStart")
{
  callback(this, 0x02, 0x24);
  return (0x00);
}
trigger creation
{
  callback(this, 0x02, 0x24);
  setType(this, 0x01);
  return (0x00);
}
trigger callback(0x24)
{
  list Q5DQ;
  messageToRange(getLocation(this), 0x03, "switchType", Q5DQ);
  callback(this, 0x02, 0x24);
  return (0x00);
}