namespace PkmnLib.Plugin.Gen7.Scripts.Abilities; /// /// Multiscale is an ability that reduces damage taken when at full HP. /// /// Bulbapedia - Multiscale /// [Script(ScriptCategory.Ability, "multiscale")] public class Multiscale : Script, IScriptChangeIncomingMoveDamage { /// public void ChangeIncomingMoveDamage(IExecutingMove move, IPokemon target, byte hit, ref uint damage) { if (target.CurrentHealth == target.BoostedStats.Hp) { damage = (uint)(damage * 0.5); } } }