Adds more abilities

This commit is contained in:
Deukhoofd committed 2025-06-07 11:03:48 +02:00
1 parent 232b94b04c
commit b2ba3d96ba
25 files changed
+429 -16

No files matched your search

+7
View File
@@ -418,6 +418,13 @@ public abstract class Script : IDeepCloneable
{
}
/// <summary>
/// This function allows a script to run after a stat boost change has been applied.
/// </summary>
public virtual void OnAfterStatBoostChange(IPokemon pokemon, Statistic stat, bool selfInflicted, sbyte change)
{
}
/// <summary>
/// This function allows a script attached to a Pokemon or its parents to prevent an incoming
/// secondary effect. This means the move will still hit and do damage, but not trigger its