Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
ModifierContext.cs
Go to the documentation of this file.
1 using System.Collections.Generic;
2 using Loot.Api.Ext;
3 using Loot.Api.Strategy;
4 using Terraria;
5 
6 namespace Loot.Api.Core
7 {
53  public class ModifierContext
54  {
55  public IDictionary<string, object> CustomData;
57  public Player Player;
58  public NPC NPC;
59  public Item Item;
60  public Recipe Recipe;
64  public List<ModifierPool> PoolSet;
65  }
66 }
Defines a set of rolling utilities
Definition: RollingUtils.cs:9
Defines a context in which a Modifier might be rolled Which fields are available (not null) depends o...
List< ModifierPool > PoolSet
ModifierContextMethod
Defines a method for a context in which a Modifier might be rolled Used in ModifierContext ...
Defines the rarity of a modifier
static DefaultRollingStrategy Default
Definition: RollingUtils.cs:23
Defines a modifier pool. A modifier pool holds a certain amount of effects in an array It allows to r...
Definition: ModifierPool.cs:37
ModifierContextMethod Method
IDictionary< string, object > CustomData