Make moveflags of gen 7 plugin shared statically
This commit is contained in:
1 parent
77d7b86a3c
commit
6eba332096
33 files changed
+223
-146
No files matched your search
@@ -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