Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
AllModifiersPool.cs
Go to the documentation of this file.
1 using System.Collections.Generic;
2 using System.Linq;
3 using Loot.Api.Core;
4 using Loot.Api.Loaders;
5 
6 namespace Loot.Pools
7 {
12  public sealed class AllModifiersPool : ModifierPool
13  {
14  public override float RollChance => 0f;
15 
16  public override IEnumerable<Modifier> GetModifiers()
17  => ContentLoader.Modifier.Content.Select(x => x.Value).ToArray();
18 
20  {
21  Mod = Loot.Instance;
22  Type = 1;
23  }
24  }
25 }
static ModifierContent Modifier
A modifier pool that always consists of all modifiers Cannot be rolled normally
Defines a modifier pool. A modifier pool holds a certain amount of effects in an array It allows to r...
Definition: ModifierPool.cs:37
This class holds all Content holders of this mod You can use this to access content loaded into the m...