Files
spigot-tyrant/design/user-stories/us-002-transfer-and-reset-tyrant.md
T
dmg ddd256802b
Release / release (push) Successful in 2m19s
CI / build (push) Successful in 1m1s
feat(succession): transfer tyrant reign on death
2026-08-14 22:46:58 -04:00

28 lines
1.4 KiB
Markdown

---
type: User Story
title: "US-002: Transfer and reset the Tyrant role"
description: End a Tyrant's reign cleanly and establish a valid successor after death.
status: done
---
# US-002: Transfer and reset the Tyrant role
As a **player**, I want defeating the Tyrant to transfer power predictably so that the central conflict always has meaningful consequences.
## Acceptance criteria
- [x] A player directly credited with killing the Tyrant becomes the new Tyrant.
- [x] A Tyrant death without a player killer selects an eligible opted-in player active within the preceding 24 hours at random.
- [x] The former Tyrant is excluded from random succession when another eligible candidate exists.
- [x] The former Tyrant's level, unlocks, unspent choices, and Tyrant ability cooldowns reset when the reign ends.
- [x] Every Assassin, Fixer, Tamer, Vigilante, and Follower assignment is cleared when the Tyrant dies.
- [x] A new Vigilante is selected under the normal candidate rules after succession.
- [x] The new Tyrant receives exactly one starting unlock choice.
- [x] The Tyrant's displayed name is red and the Tyrant has a red glowing outline while the game is running.
- [x] Succession cannot assign the same player as both Tyrant and Vigilante.
## Related
- [Tyrant game state machine](../concepts/game-state-machine.md)
- [Progress and purchase Tyrant unlocks](us-003-progress-and-purchase-unlocks.md)