More abilities, refactor IPokemon.SetStatus to pass pokemon that caused the status change
Build / Build (push) Successful in 50s

This commit is contained in:
Deukhoofd committed 2025-06-15 12:29:13 +02:00
1 parent defb1349ca
commit 85d97cb9e6
37 files changed
+214 -46

No files matched your search

+4
View File
@@ -767,6 +767,10 @@ public abstract class Script : IDeepCloneable
{
}
public virtual void OnAfterStatusChange(IPokemon pokemon, StringKey status, IPokemon? originPokemon)
{
}
/// <summary>
/// This function allows a script to prevent a Pokémon from being affected by a volatile status condition.
/// </summary>