This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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++;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user