feat: 翻牌与飞入天赋按钮音效改为蜘蛛纸牌纸张啪声(deal)
This commit is contained in:
+2
-2
@@ -7188,7 +7188,7 @@ if (typeof fitWorld === 'function') fitWorld();
|
||||
return;
|
||||
}
|
||||
card.classList.add('flipped');
|
||||
playTalentSfx('whoosh'); // 翻牌起手音
|
||||
playTalentSfx('deal'); // 翻牌起手音(蜘蛛纸牌纸张啪声)
|
||||
tdFlipped++;
|
||||
tdNames.push(t.name);
|
||||
tdUpdateCount();
|
||||
@@ -7264,7 +7264,7 @@ if (typeof fitWorld === 'function') fitWorld();
|
||||
void clone.offsetWidth; // 强制 reflow,保证起始 transform 已渲染
|
||||
card.style.opacity = '0';
|
||||
setTimeout(()=>{
|
||||
playTalentSfx('collect');
|
||||
playTalentSfx('deal');
|
||||
if(targetRect){
|
||||
const tx = targetRect.left + targetRect.width/2 - (rect.left + rect.width/2);
|
||||
const ty = targetRect.top + targetRect.height/2 - (rect.top + rect.height/2);
|
||||
|
||||
Reference in New Issue
Block a user