Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -8,7 +8,7 @@ public class ReflectEffect(int turns) : Script, IScriptChangeIncomingMoveDamage,
|
||||
private int _turns = turns;
|
||||
|
||||
/// <inheritdoc />
|
||||
public void ChangeIncomingMoveDamage(IExecutingMove move, IPokemon target, byte hit, ref uint damage)
|
||||
public void ChangeIncomingMoveDamage(IExecutingMove move, IBattlePokemon target, byte hit, ref uint damage)
|
||||
{
|
||||
var hitData = move.GetHitData(target, hit);
|
||||
if (move.UseMove.Category != MoveCategory.Physical)
|
||||
|
||||
Reference in New Issue
Block a user