Also known as: COMBATLIST · FIGHTING-LIST · FIGHTINGLIST · TARGETING
Help: Combat List
The combat list is the active list of characters currently being serviced
by the combat loop.
When a fight starts, the attacker is added to the list and both sides are
marked as in combat. A character is not supposed to be added twice, and
combat cleanup removes dead, invalid, separated, or targetless actors.
What Can Remove You
You can leave the active combat list when your target is gone, dead, in a
different room, no longer valid, or when your own combat state is cleaned
up. Some safety code also clears everyone who was still targeting a bad
or dead character.
Why It Matters
This keeps old fights from fluttering forever. It also means fleeing,
rescuing, killing a target, or moving combatants around can change who
actually gets attacked by the next round.
See Also: combat, combatfix