17,428
edits
(_getDigSiteArtefactValue: Amend calculation of +1 and double consumable bonus GP values) |
(_getDigSiteArtefactValue: Adjust wording of average value text) |
||
Line 117: | Line 117: | ||
table.insert(result, '\r\n|}') | table.insert(result, '\r\n|}') | ||
table.insert(result, '\r\nThe average value of one action is '..Icons.GP(Shared.round(lootValue, 2, 0))..' | table.insert(result, '\r\nThe average value of one action is '..Icons.GP(Shared.round(lootValue, 2, 0))..', ') | ||
table.insert(result, ' | table.insert(result, 'increasing to '..Icons.GP(Shared.round(lootValue + plusOneMinimumRefinementValue, 2, 0))..' when the +1 Minimum Items refinement is active.') | ||
if doubleConsumableRefinementValue > 0 then | if doubleConsumableRefinementValue > 0 then | ||
table.insert(result, '\r\n\r\nThe average value of one action with the x2 Consumables refinement is '..Icons.GP(Shared.round(lootValue + doubleConsumableRefinementValue, 2, 0))..'.') | table.insert(result, '\r\n\r\nThe average value of one action with the x2 Consumables refinement is '..Icons.GP(Shared.round(lootValue + doubleConsumableRefinementValue, 2, 0))..'.') |