Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -9,12 +9,12 @@ public class FriendBall : PokeballScript
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void ChangeCatchRate(IPokemon target, ref byte catchRate)
|
||||
public override void ChangeCatchRate(IBattlePokemon target, ref byte catchRate)
|
||||
{
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnAfterSuccessfulCapture(IPokemon target)
|
||||
public override void OnAfterSuccessfulCapture(IBattlePokemon target)
|
||||
{
|
||||
target.Happiness = 200;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user