From e6b6b93597ab6d37916192b31809f20c10788f82 Mon Sep 17 00:00:00 2001 From: LUCASTUCIOUS-OnePlus Date: Sat, 4 Mar 2023 12:12:36 +0100 Subject: [PATCH 1/2] add spells json --- data/spells/index.json | 2 + data/spells/spells-grimoire-fr.json | 64 +++++++++++++++++++++++++++++ data/spells/spells-grimoire.json | 64 +++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+) create mode 100644 data/spells/index.json create mode 100644 data/spells/spells-grimoire-fr.json create mode 100644 data/spells/spells-grimoire.json diff --git a/data/spells/index.json b/data/spells/index.json new file mode 100644 index 0000000..16c04ad --- /dev/null +++ b/data/spells/index.json @@ -0,0 +1,2 @@ +{ "GRI-fr": "spells-grimoire-fr.json" +} \ No newline at end of file diff --git a/data/spells/spells-grimoire-fr.json b/data/spells/spells-grimoire-fr.json new file mode 100644 index 0000000..93da6ad --- /dev/null +++ b/data/spells/spells-grimoire-fr.json @@ -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" +                         ] +                 }, +} + + +] + +} \ No newline at end of file diff --git a/data/spells/spells-grimoire.json b/data/spells/spells-grimoire.json new file mode 100644 index 0000000..93da6ad --- /dev/null +++ b/data/spells/spells-grimoire.json @@ -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" +                         ] +                 }, +} + + +] + +} \ No newline at end of file From 270dd5ab191cc794ca3c7c6b3132c72e246ab29c Mon Sep 17 00:00:00 2001 From: LUCASTUCIOUS-OnePlus Date: Sun, 12 Mar 2023 02:07:46 +0100 Subject: [PATCH 2/2] add meta for responsiveness --- index.html | 2 +- spells.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 278e4b5..3a27d4f 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + fateforge-tools diff --git a/spells.html b/spells.html index 1324c54..ff363fa 100644 --- a/spells.html +++ b/spells.html @@ -3,7 +3,7 @@ - + Spells - fateforge.tools