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

This commit is contained in:
Deukhoofd committed 2025-06-13 12:24:03 +02:00
1 parent 6d71de375e
commit 8363b955af
16 files changed
+503 -10

No files matched your search

+8 -1
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)
{
}
}