Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -16,7 +16,7 @@ public class ParentalBond : Script, IScriptChangeNumberOfHits, IScriptChangeBase
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref ushort basePower)
|
||||
public void ChangeBasePower(IExecutingMove move, IBattlePokemon target, byte hit, ref ushort basePower)
|
||||
{
|
||||
if (hit == 1)
|
||||
basePower = (ushort)(basePower / 4);
|
||||
|
||||
Reference in New Issue
Block a user