using PkmnLib.Plugin.Gen7.Common;
namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
///
/// Strong Jaw is an ability that boosts the power of biting moves.
///
/// Bulbapedia - Strong Jaw
///
[Script(ScriptCategory.Ability, "strong_jaw")]
public class StrongJaw : Script, IScriptChangeBasePower
{
///
public void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref ushort basePower)
{
if (move.UseMove.HasFlag(MoveFlags.Bite))
{
basePower = basePower.MultiplyOrMax(1.5f);
}
}
}