This commit is contained in:
16 files changed
+503
-10
No files matched your search
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user