using PkmnLib.Static.Utils;
namespace PkmnLib.Dynamic.Models;
///
/// Random number generator for battles.
///
public interface IBattleRandom : IRandom
{
///
/// Gets whether or not a move triggers its secondary effect. This takes its chance, and
/// rolls whether it triggers. As a side effect this run scripts to allow modifying this random
/// chance.
///
bool EffectChance(float chance, IExecutingMove executingMove, IPokemon target, byte hitNumber);
}