tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.ItemDropRules.Chains.TryIfFailedRandomRoll Class Reference

Inherits Terraria.GameContent.ItemDropRules.IItemDropRuleChainAttempt.

Public Member Functions

 TryIfFailedRandomRoll (IItemDropRule rule, bool hideLootReport=false)
 
bool CanChainIntoRule (ItemDropAttemptResult parentResult)
 
void ReportDroprates (float personalDropRate, List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
 
bool CanChainIntoRule (ItemDropAttemptResult parentResult)
 
void ReportDroprates (float personalDropRate, List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
 

Public Attributes

bool hideLootReport
 

Properties

IItemDropRule RuleToChain [get]
 
- Properties inherited from Terraria.GameContent.ItemDropRules.IItemDropRuleChainAttempt
IItemDropRule RuleToChain [get]
 

Member Function Documentation

◆ CanChainIntoRule()

bool Terraria.GameContent.ItemDropRules.Chains.TryIfFailedRandomRoll.CanChainIntoRule ( ItemDropAttemptResult  parentResult)

◆ ReportDroprates()

void Terraria.GameContent.ItemDropRules.Chains.TryIfFailedRandomRoll.ReportDroprates ( float  personalDropRate,
List< DropRateInfo drops,
DropRateInfoChainFeed  ratesInfo 
)

Property Documentation

◆ RuleToChain

IItemDropRule Terraria.GameContent.ItemDropRules.Chains.TryIfFailedRandomRoll.RuleToChain
get