fx
Browse files
src/lib/components/MonsterGenerator/MonsterGenerator.svelte
CHANGED
@@ -71,13 +71,13 @@ Here is the output schema:
|
|
71 |
"defence": {"type": "integer", "minimum": 0, "maximum": 100, "description": "Defensive capability (0=paper thin, 100=impenetrable)"},
|
72 |
"attack": {"type": "integer", "minimum": 0, "maximum": 100, "description": "Attack power (0=harmless, 100=devastating)"},
|
73 |
"speed": {"type": "integer", "minimum": 0, "maximum": 100, "description": "Movement speed (0=immobile, 100=lightning fast)"},
|
74 |
-
"
|
75 |
"attackActionDescription": {"type": "string", "description": "Description of a primary attack that deals damage"},
|
76 |
"boostActionDescription": {"type": "string", "description": "Description of an action that buffs the monster's own stats/status"},
|
77 |
"disparageActionDescription": {"type": "string", "description": "Description of an action that lowers enemy stats/status"},
|
78 |
"specialActionDescription": {"type": "string", "description": "Description of a powerful action with single use per battle"}
|
79 |
},
|
80 |
-
"required": ["name", "description", "rarity", "HP", "defence", "attack", "speed", "
|
81 |
}
|
82 |
\`\`\`
|
83 |
|
|
|
71 |
"defence": {"type": "integer", "minimum": 0, "maximum": 100, "description": "Defensive capability (0=paper thin, 100=impenetrable)"},
|
72 |
"attack": {"type": "integer", "minimum": 0, "maximum": 100, "description": "Attack power (0=harmless, 100=devastating)"},
|
73 |
"speed": {"type": "integer", "minimum": 0, "maximum": 100, "description": "Movement speed (0=immobile, 100=lightning fast)"},
|
74 |
+
"specialAbilityDescription": {"type": "string", "description": "Description of a passive trait that gives the monster a unique advantage in battle"},
|
75 |
"attackActionDescription": {"type": "string", "description": "Description of a primary attack that deals damage"},
|
76 |
"boostActionDescription": {"type": "string", "description": "Description of an action that buffs the monster's own stats/status"},
|
77 |
"disparageActionDescription": {"type": "string", "description": "Description of an action that lowers enemy stats/status"},
|
78 |
"specialActionDescription": {"type": "string", "description": "Description of a powerful action with single use per battle"}
|
79 |
},
|
80 |
+
"required": ["name", "description", "rarity", "HP", "defence", "attack", "speed", "specialAbilityDescription", "attackActionDescription", "boostActionDescription", "disparageActionDescription", "specialActionDescription"]
|
81 |
}
|
82 |
\`\`\`
|
83 |
|
src/lib/components/MonsterGenerator/MonsterResult.svelte
CHANGED
@@ -153,7 +153,6 @@
|
|
153 |
</div>
|
154 |
</div>
|
155 |
{/if}
|
156 |
-
</div>
|
157 |
|
158 |
<div class="action-buttons">
|
159 |
<button class="action-button download" onclick={downloadImage}>
|
|
|
153 |
</div>
|
154 |
</div>
|
155 |
{/if}
|
|
|
156 |
|
157 |
<div class="action-buttons">
|
158 |
<button class="action-button download" onclick={downloadImage}>
|
src/lib/components/MonsterGenerator/test.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "Sandwalker",
|
3 |
+
"description": "A fusion of a humanoid form and an oversized, armored suit, resembling a hazmat suit with a clear visor and metallic gauntlets that can extend into massive, spiked claws. The suit has several pockets and compartments for carrying tools and supplies, and its feet are equipped with large, rubbery pads for traversing sandy terrain.",
|
4 |
+
"rarity": "unique",
|
5 |
+
"HP": "100",
|
6 |
+
"defence": "80",
|
7 |
+
"attack": "50",
|
8 |
+
"speed": "30",
|
9 |
+
"specialAbility": "Sandstorm Whirlwind",
|
10 |
+
"attackActionDescription": "Primary attack that deals damage to enemies within range.",
|
11 |
+
"boostActionDescription": "Action that buffs the monster's own stats/status.",
|
12 |
+
"disparageActionDescription": "Action that lowers enemy stats/status.",
|
13 |
+
"specialActionDescription": "Powerful attack that creates a sandstorm, obscuring vision and dealing damage to enemies."
|
14 |
+
}
|