Encounters track last_action_at (updated on attack and defend). If 30 seconds pass with no actions, combat fizzles out with a message to both players and combat mode is popped. start_encounter initializes the timestamp so fresh encounters don't immediately timeout. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| commands.py | ||
| encounter.py | ||
| engine.py | ||
| moves.py | ||