{# Combat Log Partial - Displays combat action history #}
{# This partial is swapped via HTMX when combat actions occur #}
{% if combat_log %}
{% for entry in combat_log %}
{% if entry.actor %}
{{ entry.actor }}
{% endif %}
{{ entry.message }}
{% if entry.damage %}
{% if entry.is_crit %}CRITICAL! {% endif %}{{ entry.damage }} damage
{% endif %}
{% if entry.heal %}
+{{ entry.heal }} HP
{% endif %}