mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-29 12:44:20 +00:00
correction chien de garde
This commit is contained in:
parent
a0228b8692
commit
73012b83ea
2 changed files with 25 additions and 1 deletions
|
|
@ -198,6 +198,30 @@ export default {
|
||||||
spells() {
|
spells() {
|
||||||
let results = this.$pagination.pages
|
let results = this.$pagination.pages
|
||||||
|
|
||||||
|
// JSON Migration Generation
|
||||||
|
// console.log(results)
|
||||||
|
// let json = []
|
||||||
|
// for (var spell of results) {
|
||||||
|
// json.push({
|
||||||
|
// 'nom':spell.frontmatter.title,
|
||||||
|
// 'ecole':spell.frontmatter.school,
|
||||||
|
// 'niveau':spell.frontmatter.level,
|
||||||
|
// 'portee':spell.frontmatter.range,
|
||||||
|
// 'duree':spell.frontmatter.duration,
|
||||||
|
// 'temps_incantation':spell.frontmatter.casting_time,
|
||||||
|
// 'composante_v':spell.frontmatter.components.material,
|
||||||
|
// 'composante_s':spell.frontmatter.components.somatic,
|
||||||
|
// 'composante_m':spell.frontmatter.components.material,
|
||||||
|
// 'composante_m_description':spell.frontmatter.components.materials,
|
||||||
|
// 'concentration':spell.frontmatter.concentration,
|
||||||
|
// 'rituel':spell.frontmatter.ritual,
|
||||||
|
// 'description':spell.rawContent,
|
||||||
|
// 'resume':spell.frontmatter.description,
|
||||||
|
// 'source':spell.frontmatter.source,
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
// console.log(json)
|
||||||
|
|
||||||
// Filter concetration
|
// Filter concetration
|
||||||
if (this.mustBeConcentration !== undefined) {
|
if (this.mustBeConcentration !== undefined) {
|
||||||
results = results.filter(item => {
|
results = results.filter(item => {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Chien de garde"
|
title: "Chien de garde"
|
||||||
description: "Chien <em>invisible</em> et immobile qui donne l'alarme et attaque les intrus."
|
description: "Chien <em>invisible</em> et immobile qui donne l'alarme et attaque les intrus."
|
||||||
school: "Invoaction"
|
school: "Invocation"
|
||||||
level: 4
|
level: 4
|
||||||
concentration: false
|
concentration: false
|
||||||
casting_time: "1 action"
|
casting_time: "1 action"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue