Skip to content

Commit ceccd34

Browse files
committed
Account for Amount in loot preview
1 parent 9a9f958 commit ceccd34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/UI/ExtractorUI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected override void DrawSelf(SpriteBatch spriteBatch)
102102
string daily = "";
103103
if (uisys is not null)
104104
{
105-
double rolls = (86400 / uisys.tier.Rate) * (uisys.tier.Chance / 100.0);
105+
double rolls = (86400 / uisys.tier.Rate) * (uisys.tier.Chance / 100.0) * uisys.tier.Amount;
106106
daily = $"{data.DailyString(rolls)} {Language.GetTextValue($"{BiomeExtractorsMod.LocDiagnostics}.Per_day")}";
107107
}
108108

0 commit comments

Comments
 (0)