Make moveflags of gen 7 plugin shared statically
This commit is contained in:
@@ -11,7 +11,7 @@ public class Reckless : Script, IScriptChangeBasePower
|
||||
/// <inheritdoc />
|
||||
public void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref ushort basePower)
|
||||
{
|
||||
if (move.UseMove.HasFlag("recoil"))
|
||||
if (move.UseMove.HasFlag(MoveFlags.Recoil))
|
||||
{
|
||||
basePower = basePower.MultiplyOrMax(1.2f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user