mirror of
https://github.com/kwsch/pkNX.git
synced 2026-10-01 22:02:29 -05:00
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:
committed by
GitHub
parent
5b5a196bdb
commit
dcc373dc34
14
pkNX.Structures/Move/MoveCritStage.cs
Normal file
14
pkNX.Structures/Move/MoveCritStage.cs
Normal 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
|
||||
}
|
||||
|
||||
31
pkNX.Structures/Move/MoveInflict.cs
Normal file
31
pkNX.Structures/Move/MoveInflict.cs
Normal 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
|
||||
}
|
||||
|
||||
18
pkNX.Structures/Move/MoveStat.cs
Normal file
18
pkNX.Structures/Move/MoveStat.cs
Normal 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user