fix: add missing poolTag to default prize config
The default configuration was missing poolTag for all rounds, causing the lottery to draw from all participants instead of filtering by generation/zodiac tags when prizes.json fails to load. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -61,10 +61,10 @@ class PrizeConfigService {
|
||||
private getDefaults(): PrizeConfigFile {
|
||||
return {
|
||||
prizes: [
|
||||
{ round: 1 as LotteryRound, level: '第一轮抽奖', name: '幸运伴手礼', winnerCount: 7 },
|
||||
{ round: 2 as LotteryRound, level: '第二轮抽奖', name: '幸运伴手礼', winnerCount: 3 },
|
||||
{ round: 3 as LotteryRound, level: '第三轮抽奖', name: '幸运伴手礼', winnerCount: 4 },
|
||||
{ round: 4 as LotteryRound, level: '第四轮抽奖', name: '幸运伴手礼', winnerCount: 1, zodiacFilter: 'horse' },
|
||||
{ round: 1 as LotteryRound, level: '第一轮抽奖', name: '幸运伴手礼', winnerCount: 7, poolTag: '6070' },
|
||||
{ round: 2 as LotteryRound, level: '第二轮抽奖', name: '幸运伴手礼', winnerCount: 3, poolTag: '80' },
|
||||
{ round: 3 as LotteryRound, level: '第三轮抽奖', name: '幸运伴手礼', winnerCount: 4, poolTag: '90' },
|
||||
{ round: 4 as LotteryRound, level: '第四轮抽奖', name: '幸运伴手礼', winnerCount: 1, poolTag: 'horse', zodiacFilter: 'horse' },
|
||||
],
|
||||
settings: {
|
||||
minStormDuration: 3000,
|
||||
|
||||
Reference in New Issue
Block a user