Compare commits
2 commits
eea47d851d
...
e14e1c8b83
Author | SHA1 | Date | |
---|---|---|---|
e14e1c8b83 | |||
3609e60f19 |
6 changed files with 13830 additions and 95 deletions
|
@ -124,29 +124,32 @@
|
|||
.flickity-button {
|
||||
background: #588597;
|
||||
}
|
||||
|
||||
/* Spells */
|
||||
.container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: stretch;
|
||||
|
||||
}
|
||||
.list-col {
|
||||
flex-grow: 2;
|
||||
min-width: 600px;
|
||||
width: 75%;
|
||||
float: left;
|
||||
}
|
||||
.view-col {
|
||||
flex-grow: 1;
|
||||
width: 25%;
|
||||
float: left;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.list-col,
|
||||
.view-col {
|
||||
width: 100%;
|
||||
float: none;
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
|
||||
.list-col{
|
||||
margin-right: 1%;
|
||||
}
|
||||
.view-col {
|
||||
|
||||
max-width: 600px;
|
||||
}
|
||||
zoom:70%
|
||||
};
|
||||
}
|
||||
|
||||
.w2ui-grid-data {
|
||||
|
@ -158,5 +161,4 @@
|
|||
white-space: break-spaces;
|
||||
}
|
||||
.w2ui-grid .w2ui-grid-body table {
|
||||
|
||||
}
|
13430
data/spells/csvjson.json
Normal file
13430
data/spells/csvjson.json
Normal file
File diff suppressed because one or more lines are too long
374
data/spells/dragons_spells_formatted (2).csv
Normal file
374
data/spells/dragons_spells_formatted (2).csv
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,3 @@
|
|||
{ "GRI-fr": "spells-grimoire-fr.json"
|
||||
{ "GRI1-fr": "spells-grimoire-fr.json",
|
||||
"GRI1-en":"spells-grimoire-en.json"
|
||||
}
|
|
@ -1,64 +0,0 @@
|
|||
{ "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,11 +38,10 @@ fetch(jsonsource)
|
|||
searchable: { operator: "contains" },
|
||||
},
|
||||
{
|
||||
field: "desc",
|
||||
text: "Description",
|
||||
size: "500%",
|
||||
style: "test",
|
||||
resizable: true,
|
||||
field: "source",
|
||||
text: "Source",
|
||||
sortable: true,
|
||||
tooltip: "Which book is this from ?",
|
||||
searchable: { operator: "contains" },
|
||||
render(record, extra) {
|
||||
return (
|
||||
|
@ -52,13 +51,6 @@ fetch(jsonsource)
|
|||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
field: "source",
|
||||
text: "Source",
|
||||
sortable: true,
|
||||
tooltip: "Which book is this from ?",
|
||||
searchable: { operator: "contains" },
|
||||
},
|
||||
{ field: "page", text: "Page", sortable: true },
|
||||
{ field: "level", text: "Level", sortable: true, size: 65 },
|
||||
{ field: "school", text: "School", sortable: true },
|
||||
|
|
Loading…
Reference in a new issue