Digitalroot-Valheim_Digitalroot_Valheim_EpicLoot_Adventure_Bounties/src/Digitalroot.Valheim.Bounties/Providers/MonsternomiconBounties.cs
using EpicLoot.Adventure;
using System.Collections.Generic;
using System.Linq;

namespace Digitalroot.Valheim.Bounties.Providers
{
  public class MonsternomiconBounties : AbstractBounties
  {
    /// <inheritdoc />
    public override bool IsDependenciesResolved => Main.Instance.SoftDependencies.Monsternomicon;

    public MonsternomiconBounties()
      : base(Common.Names.MonsternomiconMod.EnemyNames.AllNamesByBiome
        , Common.Names.MonsternomiconMod.BossNames.AllNamesByBiome)
    {
    }

    protected override IEnumerable<BountyTargetConfig> FilterResults(IEnumerable<BountyTargetConfig> bountyTargetConfigs)
    {
      return from target in bountyTargetConfigs
        where !target.TargetID.Equals(Common.Names.MonsternomiconMod.EnemyNames.AngrySpirit)
        where !target.TargetID.Equals(Common.Names.MonsternomiconMod.EnemyNames.CalmSpirit)
        select target;
    }
  }
}
