fix: restore fast connection matching with yellow bonus correction
Publish GitHub Pages output / publish (push) Successful in 32s

This commit is contained in:
2026-09-17 20:38:18 +09:00
parent 9ba5f73500
commit ba21e8f1c1
7 changed files with 223 additions and 478 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ function affectedStats(type: string): readonly UnitStat[] {
return [];
}
function songBonusApplies(effect: BoardEffect, ownerId: string, song?: BoardEffectSong | null): boolean {
export function songBonusApplies(effect: BoardEffect, ownerId: string, song?: BoardEffectSong | null): boolean {
if (!effect.id) return false;
const expectedType = effect.id.match(/music_singer_type-(all|group|solo)/)?.[1];
if (expectedType === 'all') return true;