Implement most pokeballs
Build / Build (push) Successful in 1m2s

This commit is contained in:
Deukhoofd committed 2025-07-20 11:15:45 +02:00
1 parent db3f7f2403
commit 77d7b86a3c
19 files changed
+452 -38

No files matched your search

@@ -0,0 +1,21 @@
namespace PkmnLib.Plugin.Gen7.Scripts.Items.Pokeballs;
[ItemScript("friend_ball")]
public class FriendBall : PokeballScript
{
/// <inheritdoc />
public FriendBall(IItem item) : base(item)
{
}
/// <inheritdoc />
public override void ChangeCatchRate(IPokemon target, ref byte catchRate)
{
}
/// <inheritdoc />
public override void OnAfterSuccessfulCapture(IPokemon target)
{
target.Happiness = 200;
}
}