1
0
forked from liza/Questionable
Questionable/Questionable.Model/Questing/EAction.cs

78 lines
1.8 KiB
C#
Raw Normal View History

using System.Text.Json.Serialization;
2024-08-02 16:30:21 +00:00
using Questionable.Model.Questing.Converter;
2024-08-02 16:30:21 +00:00
namespace Questionable.Model.Questing;
[JsonConverter(typeof(ActionConverter))]
public enum EAction
{
2024-08-22 11:05:40 +00:00
HeavySwing = 31,
Bootshine = 53,
TwinSnakes = 61,
Demolish = 66,
DragonKick = 74,
2024-08-22 22:33:18 +00:00
HeavyShot = 97,
2024-07-31 22:40:52 +00:00
Cure = 120,
2024-08-29 14:29:21 +00:00
Cure2 = 135,
2024-09-15 00:22:29 +00:00
Eukrasia = 24290,
Diagnosis = 24284,
EukrasianDiagnosis = 24291,
Esuna = 7568,
2024-07-24 13:45:03 +00:00
Physick = 190,
AspectedBenefic = 3595,
FormShift = 4262,
2024-08-20 21:36:41 +00:00
BuffetSanuwa = 4931,
BuffetGriffin = 4583,
2024-09-03 15:34:31 +00:00
Trample = 4585,
2024-07-29 19:19:22 +00:00
Fumigate = 5872,
MagitekPulse = 8624,
MagitekThunder = 8625,
2024-09-28 17:53:40 +00:00
Inhale = 10013,
2024-07-20 17:09:51 +00:00
SiphonSnout = 18187,
2024-09-16 16:21:34 +00:00
PeculiarLight = 20030,
2024-08-22 18:21:49 +00:00
Cannonfire = 20121,
2024-07-12 21:58:48 +00:00
RedGulal = 29382,
YellowGulal = 29383,
BlueGulal = 29384,
2024-08-20 21:36:41 +00:00
ElectrixFlux = 29718,
2024-08-22 18:21:49 +00:00
HopStep = 31116,
2024-08-03 15:26:49 +00:00
CollectMiner = 240,
ScourMiner = 22182,
MeticulousMiner = 22184,
ScrutinyMiner = 22185,
CollectBotanist = 815,
ScourBotanist = 22186,
MeticulousBotanist = 22188,
ScrutinyBotanist = 22189,
2024-08-07 23:49:14 +00:00
SharpVision1 = 235,
SharpVision2 = 237,
SharpVision3 = 295,
FieldMastery1 = 218,
FieldMastery2 = 220,
FieldMastery3 = 294,
2024-07-12 21:58:48 +00:00
}
public static class EActionExtensions
{
public static bool RequiresMount(this EAction action)
{
2024-07-29 19:19:22 +00:00
return action
2024-08-20 21:36:41 +00:00
is EAction.BuffetSanuwa
or EAction.BuffetGriffin
2024-09-03 15:34:31 +00:00
or EAction.Trample
2024-07-29 19:19:22 +00:00
or EAction.Fumigate
2024-09-28 17:53:40 +00:00
or EAction.Inhale
2024-07-29 19:19:22 +00:00
or EAction.SiphonSnout
2024-09-16 16:21:34 +00:00
or EAction.PeculiarLight
2024-08-22 18:21:49 +00:00
or EAction.Cannonfire
2024-07-29 19:19:22 +00:00
or EAction.RedGulal
or EAction.YellowGulal
2024-08-20 21:36:41 +00:00
or EAction.BlueGulal
2024-08-22 18:21:49 +00:00
or EAction.ElectrixFlux
or EAction.HopStep;
2024-07-12 21:58:48 +00:00
}
}