fix: restore fast connection matching with yellow bonus correction
Publish GitHub Pages output / publish (push) Successful in 32s
Publish GitHub Pages output / publish (push) Successful in 32s
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user