Surprisingly, more abilities
All checks were successful
Build / Build (push) Successful in 50s

This commit is contained in:
2025-06-14 13:37:58 +02:00
parent 5961bb746e
commit 1b9d137bb0
86 changed files with 311 additions and 88 deletions

View File

@@ -22,7 +22,7 @@ public class Schooling : Script
public override void OnSwitchIn(IPokemon pokemon, byte position) => ChangeFormIfNeeded(pokemon);
/// <inheritdoc />
public override void OnEndTurn(IBattle battle) => ChangeFormIfNeeded(_owningPokemon);
public override void OnEndTurn(IScriptSource owner, IBattle battle) => ChangeFormIfNeeded(_owningPokemon);
private static void ChangeFormIfNeeded(IPokemon? pokemon)
{