A state can hold child states. Its parent, the superstate, handles what its children leave to it, so shared behaviour is written once.
Typed from end to end
Name the context, events and states once. The analyzer then reports a misspelt state, an unknown event, or a wrong field in the context or a state's memory.
Memory for each state
A state can keep data of its own, made fresh on each entry and dropped when it leaves, with its type inferred from the factory that makes it.
History of what happened
Record the states you choose with the data they were given, and check the sequence, such as the skills of a combo before an ultimate.
Timed states
Give a state a duration, fixed or a random range, and the machine moves on when it runs out.
Events from the inside out
An event goes to the innermost active state first. A state that does not handle it passes it to its parent.
One tree, many machines
Build a tree once and share it. Each owner gets its own machine, which reads no clock and is driven by the time you pass it.