Make moveflags of gen 7 plugin shared statically
This commit is contained in:
@@ -11,7 +11,7 @@ public class Triage : Script, IScriptChangePriority
|
||||
/// <inheritdoc />
|
||||
public void ChangePriority(IMoveChoice choice, ref sbyte priority)
|
||||
{
|
||||
if (!choice.ChosenMove.MoveData.HasFlag("heal"))
|
||||
if (!choice.ChosenMove.MoveData.HasFlag(MoveFlags.Heal))
|
||||
return;
|
||||
if (priority == sbyte.MaxValue)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user