|
tModLoader v2025.09
A mod to make and play Terraria mods
|
Inherits IItemDropRule.
Public Member Functions | |
| OneFromOptionsNotScaledWithLuckDropRule (int chanceDenominator, int chanceNumerator, params int[] options) | |
| bool | CanDrop (DropAttemptInfo info) |
| void | ReportDroprates (List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo) |
| ItemDropAttemptResult | TryDroppingItem (DropAttemptInfo info) |
| bool | CanDrop (DropAttemptInfo info) |
| void | ReportDroprates (List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo) |
| ItemDropAttemptResult | TryDroppingItem (DropAttemptInfo info) |
Public Attributes | |
| int | chanceDenominator |
| int | chanceNumerator |
| int[] | dropIds |
Properties | |
| List< IItemDropRuleChainAttempt > | ChainedRules [get] |
Properties inherited from IItemDropRule | |
| List< IItemDropRuleChainAttempt > | ChainedRules [get] |
| bool OneFromOptionsNotScaledWithLuckDropRule.CanDrop | ( | DropAttemptInfo | info | ) |
Implements IItemDropRule.
| void OneFromOptionsNotScaledWithLuckDropRule.ReportDroprates | ( | List< DropRateInfo > | drops, |
| DropRateInfoChainFeed | ratesInfo | ||
| ) |
Implements IItemDropRule.
| ItemDropAttemptResult OneFromOptionsNotScaledWithLuckDropRule.TryDroppingItem | ( | DropAttemptInfo | info | ) |
Implements IItemDropRule.
|
get |
Implements IItemDropRule.