{% load character_extras %}
{% if character.profile_picture %} Image de profil {% endif %} {% if character.private %} {% endif %} {{ character.name }}

{{ character.race.name }} {{ character.profile.name }} niv. {{ character.level }}
⚔️ {{ character.attack_melee|modifier }} / 🏹 {{ character.attack_range|modifier }} / 🪄 {{ character.attack_magic|modifier }} / 🛡️ {{ character.defense }}
🎲 {{ character.modifier_initiative|modifier }} / 💪 {{ character.modifier_strength|modifier }}

{% include "character/snippets/character_details/health_bar.html" %} {% if character.mana_max > 0 %}
{% include "character/snippets/character_details/mana_bar.html" %}
{% endif %}

{% with character.states.all as character_states %} {% for state in all_states %} {{ state.name }} {% endfor %} {% endwith %}

{% if character.player == user %} Jouer {% if party %} {% if character in party.characters.all %} Quitter le groupe {% elif character in party.invited_characters.all %} Rejoindre Refuser l'invitation {% endif %} {% else %} Supprimer {% endif %} {% elif character|managed_by:user %} Gérer {% else %} Observer {% endif %}