16 lines
342 B
C#
16 lines
342 B
C#
namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
|
|
|
|
[Script(ScriptCategory.Pokemon, "stockpile_effect")]
|
|
public class StockpileEffect : Script
|
|
{
|
|
public int StockpileCount { get; set; } = 1;
|
|
|
|
/// <inheritdoc />
|
|
public override void Stack()
|
|
{
|
|
if (StockpileCount < 3)
|
|
{
|
|
StockpileCount++;
|
|
}
|
|
}
|
|
} |