14 lines
379 B
C#
14 lines
379 B
C#
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
|
|
|
[Script(ScriptCategory.Move, "fell_stinger")]
|
|
public class FellStinger : Script, IScriptOnAfterHits
|
|
{
|
|
/// <inheritdoc />
|
|
public void OnAfterHits(IExecutingMove move, IBattlePokemon target)
|
|
{
|
|
if (target.IsFainted)
|
|
{
|
|
move.User.ChangeStatBoost(Statistic.Attack, 3, true, false);
|
|
}
|
|
}
|
|
} |