tModLoader v2022.09
A mod to make and play Terraria mods
|
Runs multiple rules if successes. More...
Inherits Terraria.GameContent.ItemDropRules.IItemDropRule.
Public Member Functions | |
FewFromOptionsDropRule (int amount, 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 | amount |
int | chanceDenominator |
int | chanceNumerator |
int[] | dropIds |
Properties | |
List< IItemDropRuleChainAttempt > | ChainedRules [get] |
Properties inherited from Terraria.GameContent.ItemDropRules.IItemDropRule | |
List< IItemDropRuleChainAttempt > | ChainedRules [get] |
Runs multiple rules if successes.
bool Terraria.GameContent.ItemDropRules.FewFromOptionsDropRule.CanDrop | ( | DropAttemptInfo | info | ) |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.
void Terraria.GameContent.ItemDropRules.FewFromOptionsDropRule.ReportDroprates | ( | List< DropRateInfo > | drops, |
DropRateInfoChainFeed | ratesInfo | ||
) |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.
ItemDropAttemptResult Terraria.GameContent.ItemDropRules.FewFromOptionsDropRule.TryDroppingItem | ( | DropAttemptInfo | info | ) |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.
|
get |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.