Make moveflags of gen 7 plugin shared statically
This commit is contained in:
@@ -11,7 +11,7 @@ public class LiquidVoice : Script, IScriptChangeMoveType
|
||||
/// <inheritdoc />
|
||||
public void ChangeMoveType(IExecutingMove move, IPokemon target, byte hit, ref TypeIdentifier? typeIdentifier)
|
||||
{
|
||||
if (move.UseMove.HasFlag("sound") &&
|
||||
if (move.UseMove.HasFlag(MoveFlags.Sound) &&
|
||||
move.Battle.Library.StaticLibrary.Types.TryGetTypeIdentifier("water", out var waterType))
|
||||
{
|
||||
typeIdentifier = waterType;
|
||||
|
||||
Reference in New Issue
Block a user