Bunch more moves, changes in how additional information for items works.
This commit is contained in:
15
Plugins/PkmnLib.Plugin.Gen7/Scripts/Moves/MeanLook.cs
Normal file
15
Plugins/PkmnLib.Plugin.Gen7/Scripts/Moves/MeanLook.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using PkmnLib.Plugin.Gen7.Scripts.Pokemon;
|
||||
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
||||
|
||||
[Script(ScriptCategory.Move, "mean_look")]
|
||||
public class MeanLook : Script
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
var targetEffect = target.Volatile.Add(new MeanLookEffectTarget());
|
||||
var userEffect = new MeanLookEffectUser(targetEffect);
|
||||
move.User.Volatile.Add(userEffect);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user