{% if entry.actor %}
{{ entry.actor }}
{% endif %}
{{ entry.message }}
{% if entry.damage %}
-{{ entry.damage }} HP
{% endif %}
{% if entry.heal %}
+{{ entry.heal }} HP
{% endif %}
{% if entry.is_crit %}
CRITICAL!
{% endif %}
{% else %}
Combat begins!
{% if is_player_turn %}
Take your action.
{% else %}
Waiting for enemy turn...
{% endif %}
{% endfor %}
[+] Raw State JSON (click to toggle)
{{ raw_state | tojson(indent=2) }}
Turn Order
{% for combatant_id in turn_order %}
{% set ns = namespace(combatant=None) %}
{% for c in encounter.combatants %}
{% if c.combatant_id == combatant_id %}
{% set ns.combatant = c %}
{% endif %}
{% endfor %}