1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-29 20:54:19 +00:00

ajout des liens sur les listes d'immunités des monstres

This commit is contained in:
Maxime Moraine 2020-04-29 16:06:16 +02:00
parent 233fc74f78
commit 912bb67c5e

View file

@ -113,12 +113,12 @@
</div>
<div class="monster-condition-immunities" v-if="monsterStats.conditionImmunities && monsterStats.conditionImmunities.length > 0">
<strong>Immunité contre <template v-if="monsterStats.conditionImmunities.length == 1">l'état</template><template v-else>les états</template></strong>
<span v-html="displayConditionImmunities()"></span>
<!-- <span v-for="(condition, idx) in monsterStats.conditionImmunities">
<!-- <span v-html="displayConditionImmunities()"></span> -->
<span v-for="(condition, idx) in monsterStats.conditionImmunities">
<template v-if="idx < monsterStats.conditionImmunities.length - 2 && idx > 1">,</template>
<template v-if="idx == monsterStats.conditionImmunities.length - 1">et</template>
<em><router-link :to="{ path: conditionPath(condition) }">{{displayCondition(condition)}}</router-link></em>
</span> -->
</span>
</div>
<div class="monster-senses">
<strong>Sens</strong>