namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
[Script(ScriptCategory.Pokemon, "mean_look_user")]
public class MeanLookEffectUser : Script
{
private readonly ScriptContainer _targetScriptEffect;
public MeanLookEffectUser(ScriptContainer targetScriptEffect)
{
_targetScriptEffect = targetScriptEffect;
}
///
public override void OnRemove()
{
// Remove the effect from the target
_targetScriptEffect.Clear();
}
}
[Script(ScriptCategory.Pokemon, "mean_look_target")]
public class MeanLookEffectTarget : Script
{
///
public override void PreventSelfSwitch(ISwitchChoice choice, ref bool prevent) => prevent = true;
///
public override void PreventSelfRunAway(IFleeChoice choice, ref bool prevent) => prevent = true;
}