sokko-g/services/cards
Shinuwa 8b76570e7a Fix pack openings failing when they draw a destination card already owned
The server builds the card service without a random source. Pack draws fall back to crypto randomness, but replacing a destination card the player already owns called the missing source and threw "this.random is not a function". The service now defaults to crypto randomness itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 09:54:56 +01:00
..
content Give six destinations a second affinity theme distinct from their condition 2026-11-18 23:33:21 +01:00
admin-seed.js Add the Sokko TCG collectible card mini-game 2026-11-05 17:47:35 +01:00
api.js Recycle duplicates in bulk up to a chosen rarity, never mythics 2026-11-19 09:26:25 +01:00
backup.js Make Cards database restores reliable and schedule backups 2026-11-05 17:54:17 +01:00
catalog.js Give explicit trades their own profiles, fix equipment that contradicts its text, and make destinations ask for complementary cards 2026-11-18 22:52:15 +01:00
daily-image.js Give each player their own daily card and send only the visible crop of its illustration 2026-11-18 16:47:52 +01:00
daily.js Give each player their own daily card and send only the visible crop of its illustration 2026-11-18 16:47:52 +01:00
database.js Reward specialists with Expertise and make the highest difficulties need equipment 2026-11-18 22:16:06 +01:00
discord-alerts.js Send opt-in Discord alerts for Sokko TCG Expeditions through palico-bot 2026-11-15 17:09:29 +01:00
expedition-alerts.js Keep the expedition view in sync with other players and only send alerts players still want 2026-11-18 15:24:39 +01:00
expedition-content.js Give unlinked destinations single or double loot specialties, with one neutral destination and one linked destination per collection 2026-11-16 23:52:36 +01:00
expedition-equipment.js Give the Primordials distinct weaknesses, emblems that build their specialty and constellations that guide their weakness 2026-11-18 22:23:43 +01:00
expedition-group.js Balance the remaining powers per real hour, scale loot caps and field experience with duration, and count each resonance once 2026-11-18 23:03:42 +01:00
expedition-items.js Rework the expedition screens: in-place return, illustrated bag and workshop, card sheet tabs and an engraving workshop 2026-11-18 13:36:01 +01:00
expedition-progress.js Make duplicates awaken cards at Power 70, 85 and 100 2026-11-19 09:40:41 +01:00
expedition-rules.js Make duplicates awaken cards at Power 70, 85 and 100 2026-11-19 09:40:41 +01:00
expedition-service.js Fix pack openings failing when they draw a destination card already owned 2026-11-19 09:54:56 +01:00
expedition-settings.js Make duplicates awaken cards at Power 70, 85 and 100 2026-11-19 09:40:41 +01:00
expedition-simulation.js Balance the remaining powers per real hour, scale loot caps and field experience with duration, and count each resonance once 2026-11-18 23:03:42 +01:00
game-rules.js Let a player who owns a destination card keep finding its closed collection's cards on that destination 2026-11-17 21:23:50 +01:00
rewards.js Add the Carnets des Veilleurs, the expedition-only Sokko TCG collection with power commons 2026-11-15 17:40:51 +01:00
service.js Fix pack openings failing when they draw a destination card already owned 2026-11-19 09:54:56 +01:00
stardust.js Recycle duplicates in bulk up to a chosen rarity, never mythics 2026-11-19 09:26:25 +01:00