Bunch more moves, changes in how additional information for items works.
This commit is contained in:
15
Plugins/PkmnLib.Plugin.Gen7/Scripts/Side/MistEffect.cs
Normal file
15
Plugins/PkmnLib.Plugin.Gen7/Scripts/Side/MistEffect.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using PkmnLib.Static;
|
||||
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Side;
|
||||
|
||||
[Script(ScriptCategory.Side, "mist")]
|
||||
public class MistEffect : Script
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void PreventStatBoostChange(IPokemon target, Statistic stat, sbyte amount, bool selfInflicted,
|
||||
ref bool prevent)
|
||||
{
|
||||
if (amount < 0)
|
||||
prevent = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user