mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-12-17 15:40:37 +00:00
intégration des cinq royaumes
This commit is contained in:
parent
62cf701300
commit
29a950bc72
25 changed files with 866 additions and 43 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue