Implements accuracy/evasion

This commit is contained in:
Deukhoofd committed 2024-12-22 12:19:42 +01:00
1 parent 06ce7fd38d
commit 5b518df24a
7 files changed
+57 -6

No files matched your search

@@ -27,4 +27,9 @@ public interface IBattleStatCalculator
/// Calculate a single boosted stat of a Pokemon, including stat boosts.
/// </summary>
uint CalculateBoostedStat(IPokemon pokemon, Statistic stat);
/// <summary>
/// Calculates the accuracy for a move, taking into account any accuracy modifiers.
/// </summary>
byte CalculateModifiedAccuracy(IExecutingMove executingMove, IPokemon target, byte hitIndex, byte moveAccuracy);
}