Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DropRateInfoChainFeed.cs
Go to the documentation of this file.
2
4
6{
7 public float parentDroprateChance;
8
10
11 public void AddCondition(IItemDropRuleCondition condition)
12 {
13 if (conditions == null)
14 {
16 }
17 conditions.Add(condition);
18 }
19
21 {
23 conditions = null;
24 }
25
27 {
29 if (conditions != null)
30 {
31 result.conditions = new List<IItemDropRuleCondition>(conditions);
32 }
33 return result;
34 }
35}
void Add(TKey key, TValue value)