1
0
forked from liza/Questionable

Add Esuna as action

This commit is contained in:
Liza 2024-08-01 00:40:52 +02:00
parent f9c7b6c762
commit becfac28ad
Signed by: liza
GPG Key ID: 7199F8D727D55F67
3 changed files with 3 additions and 0 deletions

View File

@ -736,6 +736,7 @@
"type": "string", "type": "string",
"description": "The action to use", "description": "The action to use",
"enum": [ "enum": [
"Cure",
"Esuna", "Esuna",
"Physick", "Physick",
"Buffet", "Buffet",

View File

@ -6,6 +6,7 @@ public sealed class ActionConverter() : EnumConverter<EAction>(Values)
{ {
private static readonly Dictionary<EAction, string> Values = new() private static readonly Dictionary<EAction, string> Values = new()
{ {
{ EAction.Cure, "Cure" },
{ EAction.Esuna, "Esuna" }, { EAction.Esuna, "Esuna" },
{ EAction.Physick, "Physick" }, { EAction.Physick, "Physick" },
{ EAction.Buffet, "Buffet" }, { EAction.Buffet, "Buffet" },

View File

@ -6,6 +6,7 @@ namespace Questionable.Model.V1;
[JsonConverter(typeof(ActionConverter))] [JsonConverter(typeof(ActionConverter))]
public enum EAction public enum EAction
{ {
Cure = 120,
Esuna = 7568, Esuna = 7568,
Physick = 190, Physick = 190,
Buffet = 4931, Buffet = 4931,