namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
///
/// Iron Fist is an ability that increases the power of punching moves.
///
/// Bulbapedia - Iron Fist
///
[Script(ScriptCategory.Ability, "iron_fist")]
public class IronFist : Script, IScriptChangeBasePower
{
///
public void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref ushort basePower)
{
if (move.UseMove.HasFlag("punch"))
basePower = basePower.MultiplyOrMax(1.2f);
}
}