More moves, allow for typeless moves
This commit is contained in:
@@ -216,8 +216,10 @@ public abstract class Script : IDeepCloneable
|
||||
|
||||
/// <summary>
|
||||
/// This function allows the script to change the actual type that is used for the move on a target.
|
||||
/// If this is set to null, the move will be treated as a typeless move.
|
||||
/// </summary>
|
||||
public virtual void ChangeMoveType(IExecutingMove move, IPokemon target, byte hit, ref TypeIdentifier moveType)
|
||||
public virtual void ChangeMoveType(IExecutingMove move, IPokemon target, byte hit,
|
||||
ref TypeIdentifier? typeIdentifier)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -601,20 +603,35 @@ public abstract class Script : IDeepCloneable
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This function allows a script to change the types a target has. Multiple types can be set, and will be used
|
||||
/// for the effectiveness calculation.
|
||||
/// </summary>
|
||||
public virtual void ChangeTypesForMove(IExecutingMove executingMove, IPokemon target, byte hitIndex,
|
||||
IList<TypeIdentifier> types)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This function allows a script to change the types a Pokemon has for a move that's incoming. Multiple types can
|
||||
/// be set, and will be used for the effectiveness calculation.
|
||||
/// </summary>
|
||||
public virtual void ChangeTypesForIncomingMove(IExecutingMove executingMove, IPokemon target, byte hitIndex,
|
||||
IList<TypeIdentifier> types)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This function allows a script to change the handling of the move category. This is used for moves that
|
||||
/// are sometimes a status move, and sometimes a damaging move, such as pollen puff.
|
||||
/// </summary>
|
||||
public virtual void ChangeCategory(IExecutingMove move, IPokemon target, byte hitIndex, ref MoveCategory category)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Triggers first when we're about to hit a target.
|
||||
/// </summary>
|
||||
public virtual void OnBeforeHit(IExecutingMove move, IPokemon target, byte hitIndex)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user