Implements confusion effect
Build / Build (push) Successful in 52s

This commit is contained in:
Deukhoofd committed 2025-06-22 11:56:29 +02:00
1 parent 6394f4eab3
commit 6d448e4e8d
6 files changed
+137 -33

No files matched your search

@@ -1,4 +1,5 @@
using PkmnLib.Dynamic.Models;
using PkmnLib.Static.Moves;
namespace PkmnLib.Dynamic.Libraries;
@@ -10,7 +11,8 @@ public interface IDamageCalculator
/// <summary>
/// Calculate the damage for a given hit on a Pokemon.
/// </summary>
uint GetDamage(IExecutingMove executingMove, IPokemon target, byte hitNumber, IHitData hitData);
uint GetDamage(IExecutingMove? executingMove, MoveCategory category, IPokemon user, IPokemon target,
int targetCount, byte hitNumber, IHitData hitData);
/// <summary>
/// Calculate the base power for a given hit on a Pokemon.