{% extends 'admin/layout.html.twig' %} {% block page_title %}Compétences MMO{% endblock %} {% block breadcrumb %} /CSIWO /Compétences MMO {% endblock %} {% block header_action %}+ Nouvelle compétence{% endblock %} {% block content %}
{{ skills|length }} compétence{{ skills|length != 1 ? 's' }}
{% if skills is empty %}

Aucune compétence. Créer la première →

{% else %} {% set typeLabels = {0: 'Aucun', 1: 'Compétence', 2: 'Talent', 3: 'Parchemin', 4: 'Passif'} %} {% set availLabels = {0: 'Combat', 1: 'Menu', 2: 'Partout', 3: 'Autre'} %} {% set dmgLabels = {0: '—', 1: 'Physique', 2: 'Magique'} %} {% for skill in skills %} {% endfor %}
ID Nom Type Disponibilité Coût EG Dégâts Fonction déclenchée Ennemi
{{ skill.id }} {{ skill.name }} {{ typeLabels[skill.skillType] ?? skill.skillType }} {{ availLabels[skill.availability] ?? skill.availability }} {{ skill.egCost > 0 ? skill.egCost : '—' }} {% if skill.damageCategory > 0 %}{{ dmgLabels[skill.damageCategory] }}{% else %}—{% endif %} {{ skill.triggersFunctionLabel ?? '—'|raw }} {% if skill.enemySkill %}✓{% else %}—{% endif %}
Modifier
{% endif %} {% endblock %}