namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
///
/// Tough Claws is an ability that boosts the power of contact moves.
///
/// Bulbapedia - Tough Claws
///
[Script(ScriptCategory.Ability, "tough_claws")]
public class ToughClaws : Script
{
///
public override void ChangeMoveDamage(IExecutingMove move, IPokemon target, byte hit, ref uint damage)
{
if (move.GetHitData(target, hit).IsContact)
{
damage = damage.MultiplyOrMax(5325 / 4096f);
}
}
}