tModLoader v2024.03
A mod to make and play Terraria mods
Chains.TryIfFailedRandomRoll Class Reference

Inherits 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 IItemDropRuleChainAttempt
IItemDropRule RuleToChain [get]
 

Member Function Documentation

◆ CanChainIntoRule()

bool Chains.TryIfFailedRandomRoll.CanChainIntoRule ( ItemDropAttemptResult  parentResult)

◆ ReportDroprates()

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

Property Documentation

◆ RuleToChain

IItemDropRule Chains.TryIfFailedRandomRoll.RuleToChain
get