Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
ArmorModifier.cs
Go to the documentation of this file.
1 using Loot.Api.Core;
2 using Loot.Api.Ext;
3 
4 namespace Loot.Modifiers.Base
5 {
10  public abstract class ArmorModifier : Modifier
11  {
12  public override bool CanRoll(ModifierContext ctx)
13  => ctx.Item.IsArmor();
14  }
15 }
Defines a modifier, which is an unloaded GlobalItem Making it a GlobalItem gives easy access to all h...
Definition: Modifier.cs:21
Defines a context in which a Modifier might be rolled Which fields are available (not null) depends o...
Defines a modifier that can roll on an armor item (head/body/legs) You can use this class and add to ...