This commit is contained in:
173 files changed
+713
-562
No files matched your search
@@ -6,10 +6,10 @@ namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
|
||||
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Speed_Boost_(Ability)">Bulbapedia - Speed Boost</see>
|
||||
/// </summary>
|
||||
[Script(ScriptCategory.Ability, "speed_boost")]
|
||||
public class SpeedBoost : Script
|
||||
public class SpeedBoost : Script, IScriptOnEndTurn
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void OnEndTurn(IScriptSource owner, IBattle battle)
|
||||
public void OnEndTurn(IScriptSource owner, IBattle battle)
|
||||
{
|
||||
if (owner is not IPokemon pokemon)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user