Skip to content

Threat Registry

A per-creature, per-attacker threat-score accumulator. It's the foundation the boss encounters are built on - tanks, off-tanks, threat modifiers, taunts. The system is purely additive: ordinary trash mobs never touch it and keep picking the nearest target. Bosses that opt in consult the table on every AI tick and chase the player holding the most accumulated threat instead.

How to use it

There's no player-facing command. From outside the encounter the system is invisible - what you see is a boss that doesn't just snap to whoever last clipped it. Tank it, and it stays on you while your party pours damage into its back. Heal at range, and your healing reads as threat too, depending on how the boss is tuned.

The encounter designer flags a creature as threat-aware. Once that's set:

  • Every point of damage a player deals to the creature adds threat equal to the damage.
  • The creature's AI checks the table on each target-reacquire tick and prefers the highest-threat valid target - alive, same map, within perception range - over its nearest-target heuristic.
  • If no attacker clears the minimum threshold, the creature falls back to standard targeting.

Behaviour notes

  • In-memory only. The table lives in memory and resets on server reboot. That's deliberate: combat ends, the registry forgets you exist.
  • Idle eviction. If a creature's table goes untouched for 5 minutes, the whole entry drops. A sweep runs roughly once a minute.
  • Disconnect sweep. When a player disconnects, every mob's table loses that player's row.
  • Death cleanup. When the creature dies, its whole table drops immediately.