Make moveflags of gen 7 plugin shared statically
This commit is contained in:
@@ -25,7 +25,7 @@ public class Overcoat : Script, IScriptIsInvulnerableToMove, IScriptCustomTrigge
|
||||
/// <inheritdoc />
|
||||
public void IsInvulnerableToMove(IExecutingMove move, IPokemon target, ref bool invulnerable)
|
||||
{
|
||||
if (move.UseMove.HasFlag("powder"))
|
||||
if (move.UseMove.HasFlag(MoveFlags.Powder))
|
||||
{
|
||||
invulnerable = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user