Compare commits
No commits in common. "e14e1c8b83cf7e9cf351e374f20da91edda6ace6" and "eea47d851d3ad6cb9a44e6c09a8da6992640554f" have entirely different histories.
e14e1c8b83
...
eea47d851d
6 changed files with 98 additions and 13833 deletions
|
@ -124,32 +124,29 @@
|
||||||
.flickity-button {
|
.flickity-button {
|
||||||
background: #588597;
|
background: #588597;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Spells */
|
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
|
||||||
}
|
}
|
||||||
.list-col{
|
.list-col{
|
||||||
width: 75%;
|
flex-grow: 2;
|
||||||
float: left;
|
min-width: 600px;
|
||||||
}
|
}
|
||||||
.view-col {
|
.view-col {
|
||||||
width: 25%;
|
flex-grow: 1;
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
@media screen and (max-width: 768px) {
|
|
||||||
.list-col,
|
|
||||||
.view-col {
|
|
||||||
width: 100%;
|
|
||||||
float: none;
|
|
||||||
}
|
}
|
||||||
|
@media screen and (min-width: 768px) {
|
||||||
|
|
||||||
.list-col {
|
.list-col {
|
||||||
zoom:70%
|
margin-right: 1%;
|
||||||
};
|
}
|
||||||
|
.view-col {
|
||||||
|
|
||||||
|
max-width: 600px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.w2ui-grid-data {
|
.w2ui-grid-data {
|
||||||
|
@ -161,4 +158,5 @@
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
}
|
}
|
||||||
.w2ui-grid .w2ui-grid-body table {
|
.w2ui-grid .w2ui-grid-body table {
|
||||||
|
|
||||||
}
|
}
|
13430
data/spells/csvjson.json
13430
data/spells/csvjson.json
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,2 @@
|
||||||
{ "GRI1-fr": "spells-grimoire-fr.json",
|
{ "GRI-fr": "spells-grimoire-fr.json"
|
||||||
"GRI1-en":"spells-grimoire-en.json"
|
|
||||||
}
|
}
|
64
data/spells/spells-grimoire.json
Normal file
64
data/spells/spells-grimoire.json
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
{ "spell": [ {
|
||||||
|
"name": "Acid Splash",
|
||||||
|
"source": "PHB",
|
||||||
|
"page": 211,
|
||||||
|
"srd": true,
|
||||||
|
"basicRules": true,
|
||||||
|
"level": 0,
|
||||||
|
"school": "C",
|
||||||
|
"time": [
|
||||||
|
{
|
||||||
|
"number": 1,
|
||||||
|
"unit": "action"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"range": {
|
||||||
|
"type": "point",
|
||||||
|
"distance": {
|
||||||
|
"type": "feet",
|
||||||
|
"amount": 60
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"v": true,
|
||||||
|
"s": true
|
||||||
|
},
|
||||||
|
"duration": [
|
||||||
|
{
|
||||||
|
"type": "instant"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"entries": [
|
||||||
|
"You hurl a bubble of acid. Choose one creature you can see within range, or choose two creatures you can see within range that are within 5 feet of each other. A target must succeed on a Dexterity saving throw or take {@damage 1d6} acid damage.",
|
||||||
|
"This spell's damage increases by {@dice 1d6} when you reach 5th level ({@damage 2d6}), 11th level ({@damage 3d6}), and 17th level ({@damage 4d6})."
|
||||||
|
],
|
||||||
|
"scalingLevelDice": {
|
||||||
|
"label": "acid damage",
|
||||||
|
"scaling": {
|
||||||
|
"1": "1d6",
|
||||||
|
"5": "2d6",
|
||||||
|
"11": "3d6",
|
||||||
|
"17": "4d6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"damageInflict": [
|
||||||
|
"acid"
|
||||||
|
],
|
||||||
|
"savingThrow": [
|
||||||
|
"dexterity"
|
||||||
|
],
|
||||||
|
"miscTags": [
|
||||||
|
"SCL",
|
||||||
|
"SGT"
|
||||||
|
],
|
||||||
|
"areaTags": [
|
||||||
|
"ST",
|
||||||
|
"MT"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
16
js/spells.js
16
js/spells.js
|
@ -38,10 +38,11 @@ fetch(jsonsource)
|
||||||
searchable: { operator: "contains" },
|
searchable: { operator: "contains" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "source",
|
field: "desc",
|
||||||
text: "Source",
|
text: "Description",
|
||||||
sortable: true,
|
size: "500%",
|
||||||
tooltip: "Which book is this from ?",
|
style: "test",
|
||||||
|
resizable: true,
|
||||||
searchable: { operator: "contains" },
|
searchable: { operator: "contains" },
|
||||||
render(record, extra) {
|
render(record, extra) {
|
||||||
return (
|
return (
|
||||||
|
@ -51,6 +52,13 @@ fetch(jsonsource)
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: "source",
|
||||||
|
text: "Source",
|
||||||
|
sortable: true,
|
||||||
|
tooltip: "Which book is this from ?",
|
||||||
|
searchable: { operator: "contains" },
|
||||||
|
},
|
||||||
{ field: "page", text: "Page", sortable: true },
|
{ field: "page", text: "Page", sortable: true },
|
||||||
{ field: "level", text: "Level", sortable: true, size: 65 },
|
{ field: "level", text: "Level", sortable: true, size: 65 },
|
||||||
{ field: "school", text: "School", sortable: true },
|
{ field: "school", text: "School", sortable: true },
|
||||||
|
|
Loading…
Reference in a new issue