Compare commits

...

2 Commits

Author SHA1 Message Date
Plogon Enjoyer
f7e77dd9a9 test new quest schema
(cherry picked from commit 1bd92659c3)
(cherry picked from commit a5c51b73dc)
2024-08-31 18:38:26 +08:00
Plogon Enjoyer
d208c6663d Added MNK actions "Twin Snakes", "Demolish", "Dragon Kick", and "Form
Shift"
2024-08-31 18:37:28 +08:00
4 changed files with 22 additions and 3 deletions

View File

@ -36,7 +36,7 @@ public static class Utils
if (questSchemaFile != null)
{
SchemaRegistry.Global.Register(
new Uri("https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json"),
new Uri("https://git.carvel.li/plogon_enjoyer/Questionable/raw/branch/temp/QuestPaths/quest-v1.json"),
JsonSchema.FromText(questSchemaFile.GetText()!.ToString()));
}

View File

@ -1,13 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
"$id": "https://git.carvel.li/plogon_enjoyer/Questionable/raw/branch/temp/QuestPaths/quest-v1.json",
"title": "Questionable V1",
"description": "A series of quest sequences",
"type": "object",
"properties": {
"$schema": {
"type": "string",
"const": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json"
"enum":[
"https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
"https://git.carvel.li/plogon_enjoyer/Questionable/raw/branch/temp/QuestPaths/quest-v1.json"
]
},
"Author": {
"description": "Author of the quest sequence",
@ -854,11 +857,16 @@
"description": "The action to use",
"enum": [
"Heavy Swing",
"Bootshine",
"Twin Snakes",
"Demolish",
"Dragon Kick",
"Heavy Shot",
"Cure",
"Cure II",
"Esuna",
"Physick",
"Form Shift",
"Buffet (Sanuwa)",
"Buffet (Griffin)",
"Fumigate",

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Globalization;
using Questionable.Model.Common.Converter;
namespace Questionable.Model.Questing.Converter;
@ -8,11 +9,16 @@ public sealed class ActionConverter() : EnumConverter<EAction>(Values)
private static readonly Dictionary<EAction, string> Values = new()
{
{ EAction.HeavySwing, "Heavy Swing" },
{ EAction.Bootshine, "Bootshine" },
{ EAction.TwinSnakes, "Twin Snakes" },
{ EAction.Demolish, "Demolish" },
{ EAction.DragonKick, "Dragon Kick" },
{ EAction.HeavyShot, "Heavy Shot" },
{ EAction.Cure, "Cure" },
{ EAction.Cure2, "Cure II" },
{ EAction.Esuna, "Esuna" },
{ EAction.Physick, "Physick" },
{ EAction.FormShift, "Form Shift" },
{ EAction.BuffetSanuwa, "Buffet (Sanuwa)" },
{ EAction.BuffetGriffin, "Buffet (Griffin)" },
{ EAction.Fumigate, "Fumigate" },

View File

@ -7,11 +7,16 @@ namespace Questionable.Model.Questing;
public enum EAction
{
HeavySwing = 31,
Bootshine = 53,
TwinSnakes = 61,
Demolish = 66,
DragonKick = 74,
HeavyShot = 97,
Cure = 120,
Cure2 = 135,
Esuna = 7568,
Physick = 190,
FormShift = 4262,
BuffetSanuwa = 4931,
BuffetGriffin = 4583,
Fumigate = 5872,