Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
WeaponModifierPool.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.WeaponModifiers")]
8  internal class WeaponModifierPool : ModifierPool
9  {
10  public override bool CanRoll(ModifierContext ctx)
11  => ctx.Item.IsWeapon();
12  }
13 }
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