Skip to content

Commit c2c0d8e

Browse files
committed
update overflow crossmod
1 parent 06e06b9 commit c2c0d8e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

items/planet.lua

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ local planetlua = {
596596
then
597597
local value = G.P_CENTERS.v_observatory.config.extra
598598
if Overflow then
599-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
599+
value = value ^ to_big(card:getQty())
600600
end
601601
return {
602602
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -711,7 +711,7 @@ local nstar = {
711711
if G.GAME.used_vouchers.v_observatory and G.GAME.neutronstarsusedinthisrun ~= nil and context.joker_main then
712712
local value = G.GAME.neutronstarsusedinthisrun
713713
if Overflow then
714-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
714+
value = value ^ to_big(card:getQty())
715715
end
716716
return {
717717
message = localize({
@@ -889,7 +889,7 @@ local sunplanet = {
889889
then
890890
local value = G.P_CENTERS.v_observatory.config.extra
891891
if Overflow then
892-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
892+
value = value ^ to_big(card:getQty())
893893
end
894894
return {
895895
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -999,7 +999,7 @@ local ruutu = {
999999
then
10001000
local value = G.P_CENTERS.v_observatory.config.extra
10011001
if Overflow then
1002-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1002+
value = value ^ to_big(card:getQty())
10031003
end
10041004
return {
10051005
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1088,7 +1088,7 @@ local risti = {
10881088
then
10891089
local value = G.P_CENTERS.v_observatory.config.extra
10901090
if Overflow then
1091-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1091+
value = value ^ to_big(card:getQty())
10921092
end
10931093
return {
10941094
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1177,7 +1177,7 @@ local hertta = {
11771177
then
11781178
local value = G.P_CENTERS.v_observatory.config.extra
11791179
if Overflow then
1180-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1180+
value = value ^ to_big(card:getQty())
11811181
end
11821182
return {
11831183
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1266,7 +1266,7 @@ local pata = {
12661266
then
12671267
local value = G.P_CENTERS.v_observatory.config.extra
12681268
if Overflow then
1269-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1269+
value = value ^ to_big(card:getQty())
12701270
end
12711271
return {
12721272
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1363,7 +1363,7 @@ local kaikki = {
13631363
then
13641364
local value = G.P_CENTERS.v_observatory.config.extra
13651365
if Overflow then
1366-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1366+
value = value ^ to_big(card:getQty())
13671367
end
13681368
return {
13691369
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1492,7 +1492,7 @@ local voxel = {
14921492
then
14931493
local value = G.P_CENTERS.v_observatory.config.extra
14941494
if Overflow then
1495-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1495+
value = value ^ to_big(card:getQty())
14961496
end
14971497
return {
14981498
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),

0 commit comments

Comments
 (0)