Add value options for multiple Move variables (#352)

* Create MoveInflict.cs

* Create MoveStat.cs

* Rename pkNX.Structures/MoveStat.cs to pkNX.Structures/Move/MoveStat.cs

* Create MoveCritStage

* Rename MoveCritStage to MoveCritStage.cs

* Update MoveStat.cs

* Update MoveInflict.cs

* Update MoveStat.cs

* Update MoveInflict.cs

* Update MoveInflict.cs to include Tri Attack
This commit is contained in:
Dr. Victor Vasconcelos
2024-08-23 19:35:28 -03:00
committed by GitHub
parent 5b5a196bdb
commit dcc373dc34
3 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using System;
namespace pkNX.Structures;
[Flags]
public enum MoveCritStage : int
{
// Valid for Gen4 onwards
OneOverTwentyFour = 0,
OneOverEight = 1,
Half = 2,
Guaranteed = 6
}

View File

@@ -0,0 +1,31 @@
using System;
namespace pkNX.Structures;
[Flags]
public enum MoveInflict : int
{
None = 0,
Paralyze = 1,
Sleep = 2,
Freeze = 3,
Burn = 4,
Poison = 5,
Confusion = 6,
Infatuation = 7,
DamageTransiently = 8, // Used in Fire Spin, Wrap, etc.
Nightmare = 9,
Torment = 12,
Disable = 13,
Drowsiness = 14,
HealBlock = 15,
Identify = 17, // Used by Odor Sleuth and whatnot
Seed = 18, // Used by Leech Seed
Embargo = 19,
SingPerish = 20, // Used by Perish Song
Ingrain = 21,
ChopThroat = 24, // Used by Throat Chop
FireWeaken = 42, // Used by Tar Shot
ParalyzeFreezeBurn = 65535 // Used by Tri Attack
}

View File

@@ -0,0 +1,18 @@
using System;
namespace pkNX.Structures;
[Flags]
public enum MoveStat : int
{
None = 0,
Attack = 1,
Defense = 2,
SpecialAttack = 3,
SpecialDefense = 4,
Speed = 5,
Accuracy = 6,
Evasiveness = 7,
All = 8 // Used in Ancient Power and the like
}