Skip to content

CustomVariantReward

Nebby edited this page Jul 12, 2021 · 2 revisions

CustomVariantReward

The CustomVariantReward is a scriptable object used to give the Variant a specific kind of drop reward, allowing for the modification of the gold and xp multiplier, the item drop chances and the ability to choose which items can be dropped from the variant.

It's divided into 3 separate sections.

Death Rewards

Variable Name Description
Gold Bonus Extra Gold the variant drops when killed, added before the multiplier.
Gold Multiplier Multiplier that's applied to the variant's gold.
XP Bonus Extra XP the variant drops when killed, added before the multiplier
XP Multiplier Multiplier that's applied to the variant's XP

Item Drop Chances

Variable Name Description
White Item Chance Chance for the variant to drop a white item.
Green Item Chance Chance for the variant to drop a green item.
Red Item Chance Chance for the variant to drop a Red item.

Item List

Variable Name Description
Item List A List of items the variant can drop
Accepts ItemStrings
If left null, it'll pick from the currently available item tier list.

Clone this wiki locally