Begin work on outlining dynamic side
This commit is contained in:
13
PkmnLib.Dynamic/Models/BattleRandom.cs
Normal file
13
PkmnLib.Dynamic/Models/BattleRandom.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using PkmnLib.Static.Utils;
|
||||
|
||||
namespace PkmnLib.Dynamic.Models;
|
||||
|
||||
public interface IBattleRandom : IRandom
|
||||
{
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
bool EffectChance(float chance, IExecutingMove executingMove, IPokemon target, byte hitNumber);
|
||||
}
|
||||
Reference in New Issue
Block a user