2024-07-10 19:01:41 +00:00
|
|
|
|
using System.Text.Json.Serialization;
|
2024-08-02 16:30:21 +00:00
|
|
|
|
using Questionable.Model.Questing.Converter;
|
2024-07-10 19:01:41 +00:00
|
|
|
|
|
2024-08-02 16:30:21 +00:00
|
|
|
|
namespace Questionable.Model.Questing;
|
2024-07-10 19:01:41 +00:00
|
|
|
|
|
|
|
|
|
[JsonConverter(typeof(ActionConverter))]
|
|
|
|
|
public enum EAction
|
|
|
|
|
{
|
2024-08-22 11:05:40 +00:00
|
|
|
|
HeavySwing = 31,
|
2024-08-25 17:18:45 +00:00
|
|
|
|
Bootshine = 53,
|
2024-08-31 12:49:52 +00:00
|
|
|
|
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-28 00:10:41 +00:00
|
|
|
|
Eukrasia = 24290,
|
2024-09-15 00:22:29 +00:00
|
|
|
|
Diagnosis = 24284,
|
|
|
|
|
EukrasianDiagnosis = 24291,
|
2024-07-10 19:01:41 +00:00
|
|
|
|
Esuna = 7568,
|
2024-07-24 13:45:03 +00:00
|
|
|
|
Physick = 190,
|
2024-09-01 14:15:46 +00:00
|
|
|
|
AspectedBenefic = 3595,
|
2024-08-31 12:49:52 +00:00
|
|
|
|
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,
|
2024-09-01 13:14:28 +00:00
|
|
|
|
MagitekPulse = 8624,
|
|
|
|
|
MagitekThunder = 8625,
|
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-09-28 00:10:41 +00:00
|
|
|
|
Dismount = 23,
|
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
|
|
|
|
|
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
|
2024-09-28 00:10:41 +00:00
|
|
|
|
or EAction.HopStep
|
|
|
|
|
or EAction.Dismount;
|
2024-07-12 21:58:48 +00:00
|
|
|
|
}
|
2024-07-10 19:01:41 +00:00
|
|
|
|
}
|