From abb53e429bc28ff4f2e53fd89cb2dcac26bb51ad Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 27 Feb 2023 15:37:51 +0000 Subject: [PATCH] Added a page and recipe for the bubble spell --- .../data/unicopia/recipes/spells/bubble.json | 14 ++++++++++++++ .../spellbook/chapters/air_magic.json | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 src/main/resources/data/unicopia/recipes/spells/bubble.json diff --git a/src/main/resources/data/unicopia/recipes/spells/bubble.json b/src/main/resources/data/unicopia/recipes/spells/bubble.json new file mode 100644 index 00000000..49127861 --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/spells/bubble.json @@ -0,0 +1,14 @@ +{ + "type": "unicopia:spellbook/crafting", + "material": { "item": "unicopia:gemstone", "spell": "unicopia:none" }, + "traits": { + "water": 9, "air": 9 + }, + "ingredients": [ + { "item": "unicopia:gemstone", "spell": "unicopia:catapult" } + ], + "result": { + "item": "unicopia:gemstone", + "spell": "unicopia:bubble" + } +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/spellbook/chapters/air_magic.json b/src/main/resources/data/unicopia/spellbook/chapters/air_magic.json index 362e746c..910b56d3 100644 --- a/src/main/resources/data/unicopia/spellbook/chapters/air_magic.json +++ b/src/main/resources/data/unicopia/spellbook/chapters/air_magic.json @@ -79,6 +79,25 @@ "One can add apply force by the strength trait" ] }, + { + "title": "Bubble", + "level": 2, + "elements": [ + "A defensive and utility spell. Bubble will trap the target in a giant soap bubble, rendering them defensless.", + "Use it again will pop the bubble", + { "x": 125, "y": -20, "width": 32, "height": 32, "texture": "unicopia:textures/gui/trait/air.png" }, + { "x": 125, "y": -20, "width": 16, "height": 16, "texture": "unicopia:textures/gui/trait/water.png" } + ] + }, + { + "title": "", + "level": 2, + "elements": [ + { "recipe": "unicopia:spells/bubble" }, + "Requires:", + "- 1 catapult gem\n- At least 9x water trait\n- At least 9x air trait" + ] + }, { "title": "8th Hoof '12", "level": 4,