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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user