![]() |
tModLoader v2024.07
A mod to make and play Terraria mods
|
Inherits IItemDropRule.
Public Member Functions | |
OneFromOptionsDropRule (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] |
![]() | |
List< IItemDropRuleChainAttempt > | ChainedRules [get] |
bool OneFromOptionsDropRule.CanDrop | ( | DropAttemptInfo | info | ) |
Implements IItemDropRule.
void OneFromOptionsDropRule.ReportDroprates | ( | List< DropRateInfo > | drops, |
DropRateInfoChainFeed | ratesInfo | ||
) |
Implements IItemDropRule.
ItemDropAttemptResult OneFromOptionsDropRule.TryDroppingItem | ( | DropAttemptInfo | info | ) |
Implements IItemDropRule.
|
get |
Implements IItemDropRule.