Merge pull request #528 from mengxinzxz/PR-Branch

bugfix
This commit is contained in:
Spmario233 2023-10-15 22:01:13 +08:00 committed by GitHub
commit 7558abd684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -93,7 +93,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xin_guohuai:['male','wei',4,['mobilejingce']],
gongsunkang:['male','qun',4,['juliao','taomie']],
xin_zhangfei:['male','shu',4,['new_repaoxiao','liyong']],
xin_hansui:['male','qun',4,['xinniluan','xiaoxi_hansui']],
xin_hansui:['male','qun','4/4/1',['xinniluan','xiaoxi_hansui']],
hucheer:['male','qun',4,['daoji']],
re_lingtong:['male','wu',4,['rexuanfeng']],
re_liubiao:['male','qun',3,['zishou','rezongshi']],

View File

@ -1501,7 +1501,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
content:function(){
var cards=get.bottomCards(3,true);
player.showCards(cards,get.translation(player)+'发动了【藏心】');
trigger.num+=cards.filter(card=>get.suit(card,false)=='heart').length;
var num=cards.filter(card=>get.suit(card,false)=='heart').length;
if(num) player.draw(num);
},
},
},

View File

@ -3061,7 +3061,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
'step 2'
game.broadcastAll('closeDialog',event.videoId);
if(!_status.connectMode&&get.config('auto_mark_identity')&&!target.node.identity.firstChild.innerHTML.length){
target.setIdentity(event.dongcha_result);
game.broadcastAll(function(player,target,event){
if(player.isUnderControl(true)) target.setIdentity(event.dongcha_result);
},player,target,event);
}
},
neiDoCamouflage:function(){