This commit is contained in:
@@ -3,7 +3,8 @@ using PkmnLib.Plugin.Gen7.Scripts.Utils;
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
|
||||
|
||||
[Script(ScriptCategory.Pokemon, "dive")]
|
||||
public class DiveEffect : Script, IScriptForceTurnSelection, IScriptChangeIncomingMoveDamage, IScriptBlockIncomingHit
|
||||
public class DiveEffect : Script, IScriptForceTurnSelection, IScriptChangeIncomingMoveDamage, IScriptBlockIncomingHit,
|
||||
IScriptOnAfterMoveChoice
|
||||
{
|
||||
private readonly IPokemon _owner;
|
||||
|
||||
@@ -34,7 +35,7 @@ public class DiveEffect : Script, IScriptForceTurnSelection, IScriptChangeIncomi
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnAfterMoveChoice(IMoveChoice moveChoice)
|
||||
public void OnAfterMoveChoice(IMoveChoice moveChoice)
|
||||
{
|
||||
if (moveChoice.AdditionalData?.ContainsKey("dive_charge") != true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user