mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 21:24:18 +00:00
traductions de contenus OGL Kobold Press
This commit is contained in:
parent
164276c042
commit
e56e8d2cd5
46 changed files with 33178 additions and 35 deletions
|
|
@ -22,7 +22,8 @@
|
|||
:color="challenge.color"
|
||||
:value="challengeRate"
|
||||
></v-progress-linear>
|
||||
<span class="subtitle-2">PX : </span>{{ totalXP }} ({{ Math.floor(totalXP / pc) }} par PJ)
|
||||
<span class="subtitle-2">PX : </span>{{ totalXP }} ({{ Math.floor(totalXP / pc) }} par PJ)<br>
|
||||
<span class="subtitle-2">Points de combat : </span>{{ totalPC }}
|
||||
</div>
|
||||
<v-row class="d-flex align-center my-0" v-for="(c, idx) in creatures">
|
||||
<v-col class="px-0 py-1">
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
<div class="spell-duration"><strong>Durée</strong> : <span v-if="spell.frontmatter.concentration">concentration, </span>{{ spell.frontmatter.duration }}</div>
|
||||
<div class="spell-classes" v-if="!isShort">
|
||||
<strong>Classe</strong> : <span v-for="(c, idx) in spell.frontmatter.classes" :key="idx">{{c}}<template v-if="idx != spell.frontmatter.classes.length-1">, </template><template v-if="idx == spell.frontmatter.classes.length-1 && spell.frontmatter.customClasses">, </template></span>
|
||||
<template v-if="spell.frontmatter.classes"><strong>Classe</strong> : <span v-for="(c, idx) in spell.frontmatter.classes" :key="idx">{{c}}<template v-if="idx != spell.frontmatter.classes.length-1">, </template><template v-if="idx == spell.frontmatter.classes.length-1 && spell.frontmatter.customClasses">, </template></span></template>
|
||||
<template v-if="spell.frontmatter.customClasses">
|
||||
<template>{{ spell.frontmatter.customClasses }}</template>
|
||||
</template>
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
</template>
|
||||
<div v-else v-html="spell.frontmatter.description" class="mt-4"></div>
|
||||
|
||||
<!-- <p v-if="spell.frontmatter.source" class="source">Source : <em>{{ spell.frontmatter.source }}</em></p> -->
|
||||
<p v-if="spell.frontmatter.source" class="source">Source : <em>{{ spell.frontmatter.source }}</em></p>
|
||||
<p v-if="spell.author" class="source">Auteur : <em>{{ spell.author }}</em></p>
|
||||
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -283,6 +283,8 @@ export default {
|
|||
monsters() {
|
||||
let results = this.$pagination.pages
|
||||
|
||||
// console.log(results)
|
||||
|
||||
// Filter ID
|
||||
let minID = this.challengeRange[0]
|
||||
let maxID = this.challengeRange[1]
|
||||
|
|
|
|||
|
|
@ -280,6 +280,8 @@ export default {
|
|||
spells() {
|
||||
let results = this.$pagination.pages
|
||||
|
||||
// console.log(results)
|
||||
|
||||
// Filter concentration
|
||||
if (this.mustBeConcentration !== undefined) {
|
||||
results = results.filter(item => {
|
||||
|
|
@ -322,9 +324,11 @@ export default {
|
|||
let classFiltered = []
|
||||
for (var i = 0; i < selectedClasses.length; i++) {
|
||||
for (var j = 0; j < results.length; j++) {
|
||||
if (results[j].frontmatter.classes.indexOf(selectedClasses[i]) > -1) {
|
||||
if (classFiltered.indexOf(results[j]) < 0) {
|
||||
classFiltered.push(results[j])
|
||||
if (results[j].frontmatter.classes) {
|
||||
if (results[j].frontmatter.classes.indexOf(selectedClasses[i]) > -1) {
|
||||
if (classFiltered.indexOf(results[j]) < 0) {
|
||||
classFiltered.push(results[j])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue