Skip to content

Commit 0a4a5dd

Browse files
committed
missed one
1 parent 8af6649 commit 0a4a5dd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

items/code.lua

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5089,14 +5089,19 @@ local cut = {
50895089
end
50905090
if context.forcetrigger then
50915091
card.ability.extra.Xmult = lenient_bignum(to_big(card.ability.extra.Xmult) + card.ability.extra.Xmult_mod)
5092+
local msg = SMODS.scale_card(card, {
5093+
ref_table = card.ability.extra,
5094+
ref_value = "Xmult",
5095+
scalar_value = "Xmult_mod"
5096+
})
50925097
return {
5093-
message = localize({
5098+
message = not msg and localize({
50945099
type = "variable",
50955100
key = "a_xmult",
50965101
vars = {
50975102
number_format(card.ability.extra.Xmult),
50985103
},
5099-
}),
5104+
}) or (type(msg) == "string" and msg) or nil,
51005105
Xmult_mod = card.ability.extra.Xmult,
51015106
colour = G.C.MULT,
51025107
}

0 commit comments

Comments
 (0)