Adds more abilities

This commit is contained in:
2025-06-07 10:58:58 +02:00
parent 232b94b04c
commit b2ba3d96ba
25 changed files with 429 additions and 16 deletions

View File

@@ -814,6 +814,10 @@ public class PokemonImpl : ScriptSource, IPokemon
return true;
}
/// <summary>
/// Uses an item on this Pokémon.
/// </summary>
/// <param name="item"></param>
public void UseItem(IItem item)
{
// TODO: actually consume the item
@@ -851,6 +855,7 @@ public class PokemonImpl : ScriptSource, IPokemon
}
RecalculateBoostedStats();
this.RunScriptHook(script => script.OnAfterStatBoostChange(this, stat, selfInflicted, change));
return true;
}