feat: make all cards use 1 deck slot regardless of rarity

Override getCardDeckSlots to always return 1 so mythic and higher
rarity cards don't take multiple slots in the 30-slot deck.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
achmad
2026-05-30 04:10:03 +07:00
parent 5a7cb40872
commit 599339e225
2 changed files with 0 additions and 13 deletions
-5
View File
@@ -255,11 +255,6 @@ function CardSystem.prototype.____constructor(self, playerId)
)
end
function CardSystem.getCardDeckSlots(self, cardId)
local cardData = ____exports.CardSystem.cardData[cardId]
local configured = __TS__Number(cardData and cardData.deck_slots)
if __TS__NumberIsFinite(configured) and configured > 0 then
return math.floor(configured)
end
return 1
end
function CardSystem.getDeckUsedSlots(self, cards)