Skip to content

Commit 7c60dff

Browse files
committed
update overflow crossmod
1 parent da2c599 commit 7c60dff

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
@@ -582,7 +582,7 @@ local planetlua = {
582582
then
583583
local value = G.P_CENTERS.v_observatory.config.extra
584584
if Overflow then
585-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
585+
value = value ^ to_big(card:getQty())
586586
end
587587
return {
588588
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -697,7 +697,7 @@ local nstar = {
697697
if G.GAME.used_vouchers.v_observatory and G.GAME.neutronstarsusedinthisrun ~= nil and context.joker_main then
698698
local value = G.GAME.neutronstarsusedinthisrun
699699
if Overflow then
700-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
700+
value = value ^ to_big(card:getQty())
701701
end
702702
return {
703703
message = localize({
@@ -875,7 +875,7 @@ local sunplanet = {
875875
then
876876
local value = G.P_CENTERS.v_observatory.config.extra
877877
if Overflow then
878-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
878+
value = value ^ to_big(card:getQty())
879879
end
880880
return {
881881
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -985,7 +985,7 @@ local ruutu = {
985985
then
986986
local value = G.P_CENTERS.v_observatory.config.extra
987987
if Overflow then
988-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
988+
value = value ^ to_big(card:getQty())
989989
end
990990
return {
991991
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1074,7 +1074,7 @@ local risti = {
10741074
then
10751075
local value = G.P_CENTERS.v_observatory.config.extra
10761076
if Overflow then
1077-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1077+
value = value ^ to_big(card:getQty())
10781078
end
10791079
return {
10801080
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1163,7 +1163,7 @@ local hertta = {
11631163
then
11641164
local value = G.P_CENTERS.v_observatory.config.extra
11651165
if Overflow then
1166-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1166+
value = value ^ to_big(card:getQty())
11671167
end
11681168
return {
11691169
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1252,7 +1252,7 @@ local pata = {
12521252
then
12531253
local value = G.P_CENTERS.v_observatory.config.extra
12541254
if Overflow then
1255-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1255+
value = value ^ to_big(card:getQty())
12561256
end
12571257
return {
12581258
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1349,7 +1349,7 @@ local kaikki = {
13491349
then
13501350
local value = G.P_CENTERS.v_observatory.config.extra
13511351
if Overflow then
1352-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1352+
value = value ^ to_big(card:getQty())
13531353
end
13541354
return {
13551355
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),
@@ -1478,7 +1478,7 @@ local voxel = {
14781478
then
14791479
local value = G.P_CENTERS.v_observatory.config.extra
14801480
if Overflow then
1481-
value = value ^ to_big(card.ability.immutable and card.ability.immutable.overflow_amount or 1)
1481+
value = value ^ to_big(card:getQty())
14821482
end
14831483
return {
14841484
message = localize({ type = "variable", key = "a_xmult", vars = { value } }),

0 commit comments

Comments
 (0)