Make moveflags of gen 7 plugin shared statically
This commit is contained in:
@@ -8,7 +8,7 @@ public class SubstituteEffect(uint health) : Script, IScriptBlockIncomingHit
|
||||
/// <inheritdoc />
|
||||
public void BlockIncomingHit(IExecutingMove executingMove, IPokemon target, byte hitIndex, ref bool block)
|
||||
{
|
||||
if (executingMove.UseMove.HasFlag("ignore-substitute"))
|
||||
if (executingMove.UseMove.HasFlag(MoveFlags.IgnoreSubstitute))
|
||||
return;
|
||||
|
||||
var args = new CustomTriggers.BypassSubstituteArgs(executingMove, target, hitIndex, false);
|
||||
|
||||
Reference in New Issue
Block a user