More abilities, implemented support for form inheritance
All checks were successful
Build / Build (push) Successful in 49s

This commit is contained in:
2025-06-13 12:24:03 +02:00
parent 6d71de375e
commit 8363b955af
16 changed files with 504 additions and 11 deletions

View File

@@ -419,7 +419,7 @@ public abstract class Script : IDeepCloneable
}
/// <summary>
/// This function triggers when an opponent on the field faints.
/// This function triggers when an opponent on the field faints due to the move that is being executed.
/// </summary>
public virtual void OnOpponentFaints(IExecutingMove move, IPokemon target, byte hit)
{
@@ -794,4 +794,11 @@ public abstract class Script : IDeepCloneable
ref bool isContact)
{
}
/// <summary>
/// This function allows a script to run after a held item has changed.
/// </summary>
public virtual void OnAfterHeldItemChange(IPokemon pokemon, IItem? previous, IItem? item)
{
}
}