This commit is contained in:
16
Plugins/PkmnLib.Plugin.Gen7/Scripts/Abilities/Simple.cs
Normal file
16
Plugins/PkmnLib.Plugin.Gen7/Scripts/Abilities/Simple.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
|
||||
|
||||
/// <summary>
|
||||
/// Simple is an ability that doubles the effect of stat changes.
|
||||
///
|
||||
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Simple_(Ability)">Bulbapedia - Simple</see>
|
||||
/// </summary>
|
||||
[Script(ScriptCategory.Ability, "simple")]
|
||||
public class Simple : Script
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void ChangeStatBoostChange(IPokemon target, Statistic stat, bool selfInflicted, ref sbyte amount)
|
||||
{
|
||||
amount = amount.MultiplyOrMax(2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user