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-15 00:22:29 +00:00
|
|
|
|
Eukrasia = 24290,
|
|
|
|
|
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-10-19 16:51:34 +00:00
|
|
|
|
FieryBreath = 1764,
|
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-12-18 00:59:45 +00:00
|
|
|
|
Seed = 6294,
|
2024-09-01 13:14:28 +00:00
|
|
|
|
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-10-19 15:24:21 +00:00
|
|
|
|
Hide = 2245,
|
2024-10-19 08:31:45 +00:00
|
|
|
|
Ten = 2259,
|
|
|
|
|
Ninjutsu = 2260,
|
|
|
|
|
Chi = 2261,
|
|
|
|
|
Jin = 2263,
|
|
|
|
|
FumaShuriken = 2265,
|
|
|
|
|
Katon = 2266,
|
|
|
|
|
Raiton = 2267,
|
2024-10-19 15:24:21 +00:00
|
|
|
|
RabbitMedium = 2272,
|
2024-11-04 12:42:27 +00:00
|
|
|
|
SlugShot = 7412,
|
2024-11-20 17:39:30 +00:00
|
|
|
|
BosomBrook = 37173,
|
2024-12-02 04:34:35 +00:00
|
|
|
|
Souleater = 3632,
|
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-10-19 16:51:34 +00:00
|
|
|
|
is EAction.FieryBreath
|
|
|
|
|
or EAction.BuffetSanuwa
|
2024-08-20 21:36:41 +00:00
|
|
|
|
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-12-18 00:59:45 +00:00
|
|
|
|
or EAction.Seed
|
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
|
2024-11-20 17:39:30 +00:00
|
|
|
|
or EAction.HopStep
|
|
|
|
|
or EAction.BosomBrook;
|
2024-07-12 21:58:48 +00:00
|
|
|
|
}
|
2024-07-10 19:01:41 +00:00
|
|
|
|
}
|