This commit is contained in:
@@ -3,11 +3,11 @@ using PkmnLib.Static.Moves;
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
||||
|
||||
[Script(ScriptCategory.Move, "pollen_puff")]
|
||||
public class PollenPuff : Script, IScriptOnSecondaryEffect
|
||||
public class PollenPuff : Script, IScriptOnSecondaryEffect, IScriptChangeCategory
|
||||
{
|
||||
/// <inheritdoc />
|
||||
/// <inheritdoc />
|
||||
public override void ChangeCategory(IExecutingMove move, IPokemon target, byte hitIndex, ref MoveCategory category)
|
||||
public void ChangeCategory(IExecutingMove move, IPokemon target, byte hitIndex, ref MoveCategory category)
|
||||
{
|
||||
var battleData = move.User.BattleData;
|
||||
var targetBattleData = target.BattleData;
|
||||
|
||||
Reference in New Issue
Block a user