Fixes for masterball

This commit is contained in:
Deukhoofd committed 2026-11-03 15:45:54 +01:00
1 parent e38bb05007
commit 4c51e67985
5 files changed
+381 -4

No files matched your search

@@ -25,6 +25,11 @@ public abstract class PokeballScript : ItemScript
// Override this method in derived classes to add custom behavior after a successful capture.
}
/// <summary>
/// Whether the pokeball has a perfect capture rate, for example the master ball.
/// </summary>
public virtual bool IsAlwaysSuccessful(IBattlePokemon target) => false;
/// <inheritdoc />
public override bool IsItemUsable => true;