mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-29 20:54:19 +00:00
Merge branch 'master' into deploy
This commit is contained in:
commit
19d3ac2177
3 changed files with 28 additions and 4 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"
|
||||||
|
|
|
||||||
|
|
@ -6496,9 +6496,9 @@ pretty-time@^1.1.0:
|
||||||
integrity sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA==
|
integrity sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA==
|
||||||
|
|
||||||
prismjs@^1.13.0:
|
prismjs@^1.13.0:
|
||||||
version "1.20.0"
|
version "1.21.0"
|
||||||
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.20.0.tgz#9b685fc480a3514ee7198eac6a3bf5024319ff03"
|
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.21.0.tgz#36c086ec36b45319ec4218ee164c110f9fc015a3"
|
||||||
integrity sha512-AEDjSrVNkynnw6A+B1DsFkd6AVdTnp+/WoUixFRULlCLZVRZlVQMVWio/16jv7G1FscUxQxOQhWwApgbnxr6kQ==
|
integrity sha512-uGdSIu1nk3kej2iZsLyDoJ7e9bnPzIgY0naW/HdknGj61zScaprVEVGHrPoXqI+M9sP0NDnTK2jpkvmldpuqDw==
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
clipboard "^2.0.0"
|
clipboard "^2.0.0"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue