We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8af6649 commit 0a4a5ddCopy full SHA for 0a4a5dd
items/code.lua
@@ -5089,14 +5089,19 @@ local cut = {
5089
end
5090
if context.forcetrigger then
5091
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
+ })
5097
return {
- message = localize({
5098
+ message = not msg and localize({
5099
type = "variable",
5100
key = "a_xmult",
5101
vars = {
5102
number_format(card.ability.extra.Xmult),
5103
},
- }),
5104
+ }) or (type(msg) == "string" and msg) or nil,
5105
Xmult_mod = card.ability.extra.Xmult,
5106
colour = G.C.MULT,
5107
}
0 commit comments