Make moveflags of gen 7 plugin shared statically
This commit is contained in:
@@ -22,14 +22,14 @@ public class HealBlockEffect : Script, IScriptPreventMoveSelection, IScriptPreve
|
||||
/// <inheritdoc />
|
||||
public void PreventMoveSelection(IMoveChoice choice, ref bool prevent)
|
||||
{
|
||||
if (choice.ChosenMove.MoveData.HasFlag("heal"))
|
||||
if (choice.ChosenMove.MoveData.HasFlag(MoveFlags.Heal))
|
||||
prevent = true;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public void PreventMove(IExecutingMove move, ref bool prevent)
|
||||
{
|
||||
if (move.ChosenMove.MoveData.HasFlag("heal"))
|
||||
if (move.ChosenMove.MoveData.HasFlag(MoveFlags.Heal))
|
||||
prevent = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user