Even More Modifiers
1.0.0.0
A mod for rolling various bonus stats on items
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
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
}
Loot.Api.Core
Definition:
Modifier.cs:13
Loot.Api.Core.ModifierContext
Defines a context in which a Modifier might be rolled Which fields are available (not null) depends o...
Definition:
ModifierContext.cs:53
Loot
Loot.Api.Attributes
Definition:
AutoDelegationAttribute.cs:8
Loot.Api
Loot.Api.Core.ModifierPool
Defines a modifier pool. A modifier pool holds a certain amount of effects in an array It allows to r...
Definition:
ModifierPool.cs:37
Loot.Api.Ext
Definition:
ItemUtils.cs:7
Loot.Api.Core.ModifierContext.Item
Item Item
Definition:
ModifierContext.cs:59
Pools
AccessoryModifierPool.cs
Generated on Sat Apr 18 2020 16:45:40 for Even More Modifiers by
1.8.11