tModLoader v2024.11
A mod to make and play Terraria mods
|
Inherits IItemDropRule.
Inherited by CommonDropNotScalingWithLuck, CommonDropWithRerolls, DropLocalPerClientAndResetsNPCMoneyTo0, DropPerPlayerOnThePlayer, and ItemDropWithConditionRule.
Public Member Functions | |
CommonDrop (int itemId, int chanceDenominator, int amountDroppedMinimum=1, int amountDroppedMaximum=1, int chanceNumerator=1) | |
virtual bool | CanDrop (DropAttemptInfo info) |
virtual void | ReportDroprates (List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo) |
virtual ItemDropAttemptResult | TryDroppingItem (DropAttemptInfo info) |
bool | CanDrop (DropAttemptInfo info) |
void | ReportDroprates (List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo) |
ItemDropAttemptResult | TryDroppingItem (DropAttemptInfo info) |
Public Attributes | |
int | amountDroppedMaximum |
int | amountDroppedMinimum |
int | chanceDenominator |
int | chanceNumerator |
int | itemId |
Properties | |
List< IItemDropRuleChainAttempt > | ChainedRules [get] |
Properties inherited from IItemDropRule | |
List< IItemDropRuleChainAttempt > | ChainedRules [get] |
|
virtual |
Implements IItemDropRule.
|
virtual |
Implements IItemDropRule.
|
virtual |
Implements IItemDropRule.
|
get |
Implements IItemDropRule.