Implements move execution for battle
This commit is contained in:
@@ -105,7 +105,7 @@ public abstract class Script
|
||||
/// This function allows you to change the move that is used during execution. This is useful for
|
||||
/// moves such as metronome, where the move chosen actually differs from the move used.
|
||||
/// </summary>
|
||||
public virtual void ChangeMove(IMoveChoice choice, ref string moveName)
|
||||
public virtual void ChangeMove(IMoveChoice choice, ref StringKey moveName)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -189,14 +189,14 @@ public abstract class Script
|
||||
/// <summary>
|
||||
/// This function allows a script to block an outgoing move from being critical.
|
||||
/// </summary>
|
||||
public virtual void BlockCriticalHit(IExecutingMove move, IPokemon target, ref bool block)
|
||||
public virtual void BlockCriticalHit(IExecutingMove move, IPokemon target, byte hit, ref bool block)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This function allows a script to block an incoming move from being critical.
|
||||
/// </summary>
|
||||
public virtual void BlockIncomingCriticalHit(IExecutingMove move, IPokemon target, ref bool block)
|
||||
public virtual void BlockIncomingCriticalHit(IExecutingMove move, IPokemon target, byte hit, ref bool block)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user