Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ OnFailedRoll()

static IItemDropRule Terraria.GameContent.ItemDropRules.Chains.OnFailedRoll ( this IItemDropRule rule,
IItemDropRule ruleToChain,
bool hideLootReport = false )
inlinestatic

Definition at line 93 of file Chains.cs.

94 {
95 rule.ChainedRules.Add(new TryIfFailedRandomRoll(ruleToChain, hideLootReport));
96 return ruleToChain;
97 }
void Add(TKey key, TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add().