Fix EID treating mom's box as a 3x multiplier for additive values for trinket boosts (#886)
This commit is contained in:
1 parent
d8ac3e5643
commit
3e566ecedc
1 file changed
+5
@@ -576,10 +576,15 @@ if EID.isRepentance then
|
|||||||
elseif data.mult and ((isGolden and hasBox) or data.mult < 2) then multiplier = data.mult end
|
elseif data.mult and ((isGolden and hasBox) or data.mult < 2) then multiplier = data.mult end
|
||||||
|
|
||||||
--custom additions table (manually defined)
|
--custom additions table (manually defined)
|
||||||
|
-- index 1 is 2x, index 2 is 3x, index 3 is 4x
|
||||||
local addition = 0
|
local addition = 0
|
||||||
if data.additions then
|
if data.additions then
|
||||||
|
if hasBox then
|
||||||
|
addition = data.additions[textChoice-1] or 0
|
||||||
|
else
|
||||||
addition = data.additions[textChoice]
|
addition = data.additions[textChoice]
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
--replacing numeric text based on our multiplier
|
--replacing numeric text based on our multiplier
|
||||||
if (data.t) then
|
if (data.t) then
|
||||||
|
|||||||
Reference in new issue
Block a user