More work on refactor to interfaces
All checks were successful
Build / Build (push) Successful in 50s
All checks were successful
Build / Build (push) Successful in 50s
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Side;
|
||||
|
||||
[Script(ScriptCategory.Side, "double_power_if_target_damaged_in_turn_data")]
|
||||
public class DoublePowerIfTargetDamagedInTurnData : Script
|
||||
public class DoublePowerIfTargetDamagedInTurnData : Script, IScriptOnEndTurn
|
||||
{
|
||||
public readonly HashSet<IPokemon> HitPokemon = [];
|
||||
|
||||
/// <param name="owner"></param>
|
||||
/// <param name="battle"></param>
|
||||
/// <inheritdoc />
|
||||
public override void OnEndTurn(IScriptSource owner, IBattle battle)
|
||||
public void OnEndTurn(IScriptSource owner, IBattle battle)
|
||||
{
|
||||
RemoveSelf();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user