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

intégration des cinq royaumes

This commit is contained in:
Maxime Moraine 2020-06-10 10:30:32 +02:00
parent 62cf701300
commit 29a950bc72
25 changed files with 866 additions and 43 deletions

View file

@ -17,9 +17,14 @@
<span>{{ displayAC() }}</span>
</div>
<div class="monster-hit-points">
<strong>Points de vie</strong>
<strong v-if="$store.state.l5r">Points de combativité</strong>
<strong v-else>Points de vie</strong>
<span>{{ hp }}</span>
</div>
<div v-if="$store.state.l5r" class="monster-vitality-points">
<strong>Points de vitalité</strong>
<span>{{ vp }}</span>
</div>
<div class="monster-movement">
<strong>Vitesse</strong>
<template>{{ displayMovement() }}</template>
@ -224,6 +229,10 @@ export default {
return ""
},
vp () {
return Number(this.monsterStats.abilityScores.con) + 4 + Math.floor(this.monsterStats.challenge)
},
languages () {
let result = this.monsterStats.languages.join(', ')
if (this.monsterStats.customLanguage) {