Encounter Info

Round
{{ encounter.round_number or 1 }}
Status
{{ encounter.status or 'active' }}
Current Turn
{% if is_player_turn %} Your Turn {% else %} Enemy Turn {% endif %}
{% if player_combatant %}

Player

{{ player_combatant.name }}
{% set hp_percent = (player_combatant.current_hp / player_combatant.max_hp * 100) if player_combatant.max_hp > 0 else 0 %}
HP {{ player_combatant.current_hp }}/{{ player_combatant.max_hp }}
{% if player_combatant.max_mp and player_combatant.max_mp > 0 %} {% set mp_percent = (player_combatant.current_mp / player_combatant.max_mp * 100) if player_combatant.max_mp > 0 else 0 %}
MP {{ player_combatant.current_mp }}/{{ player_combatant.max_mp }}
{% endif %}
{% endif %} {% if enemy_combatants %}

Enemies ({{ enemy_combatants | length }})

{% for enemy in enemy_combatants %}
{{ enemy.name }} {% if enemy.current_hp <= 0 %} (Defeated) {% endif %}
{% set enemy_hp_percent = (enemy.current_hp / enemy.max_hp * 100) if enemy.max_hp > 0 else 0 %}
HP {{ enemy.current_hp }}/{{ enemy.max_hp }}
{% endfor %}
{% endif %}