Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
AccessoryModifierPool.cs
Go to the documentation of this file.
1 using Loot.Api.Attributes;
2 using Loot.Api.Core;
3 using Loot.Api.Ext;
4 
5 namespace Loot.Pools
6 {
7  [PopulatePoolFrom("Loot.Modifiers.EquipModifiers")]
8  internal class AccessoryModifierPool : ModifierPool
9  {
10  public override bool CanRoll(ModifierContext ctx)
11  {
12  return ctx.Item.IsAccessory() || ctx.Item.IsArmor();
13  }
14  }
15 }
Defines a context in which a Modifier might be rolled Which fields are available (not null) depends o...
Defines a modifier pool. A modifier pool holds a certain amount of effects in an array It allows to r...
Definition: ModifierPool.cs:37