始计篇bug修复

修复花鬘【嬉战】弃置的牌播放的配音为【芳踪】配音的bug
修复费祎【谏喻】“喻”标记无法正常单独显示的bug
This commit is contained in:
mengxinzxz 2023-08-30 15:59:43 +08:00 committed by GitHub
parent d6ae964674
commit 4ca29b8ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1118,7 +1118,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var target=trigger.player,card=result.cards[0],suit=get.suit(card,player);
if(!lib.suit.contains(suit)||(!target||!target.isIn())&&suit!='heart') return;
game.broadcastAll(function(suit){
if(lib.config.background_speak) game.playAudio('skill','spfangzong'+(4-lib.suit.indexOf(suit)));
if(lib.config.background_speak) game.playAudio('skill','spxizhan'+(4-lib.suit.indexOf(suit)));
},suit);
switch(suit){
case 'spade':
@ -5402,13 +5402,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
init:function(player){
if(!lib.skill['fyjianyu_'+player.playerid]){
lib.skill['fyjianyu_'+player.playerid]={
marktext:'喻',
intro:{
markcount:()=>1,
name2:'喻',
content:'指定另一名有“喻”的角色为目标时,其摸一张牌',
},
};
lib.translate['fyjianyu_'+player.playerid]='谏喻';
lib.translate['fyjianyu_'+player.playerid+'_bg']='喻';
}
},
audio:2,