Merge pull request #993 from mengxinzxz/PR-Branch

技能优化
This commit is contained in:
Spmario233 2024-02-27 21:47:16 +08:00 committed by GitHub
commit 43886d5f61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -824,6 +824,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
}, },
kunfenx:{
audio:'kunfen',
audioname:['ol_sb_jiangwei'],
},
//界曹彰 //界曹彰
oljiangchi:{ oljiangchi:{
audio:'rejiangchi', audio:'rejiangchi',
@ -1031,7 +1035,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
onlyOL_yijiang1:'OL专属·将1', onlyOL_yijiang1:'OL专属·将1',
onlyOL_yijiang2:'OL专属·将2', onlyOL_yijiang2:'OL专属·将2',
onlyOL_sb:'OL专属·武将', onlyOL_sb:'OL专属·上兵伐谋',
}, },
}; };
}); });

View File

@ -885,7 +885,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
hiddenCard(player,name){ hiddenCard(player,name){
if(!lib.inpile.includes(name)) return false; if(!lib.inpile.includes(name)||_status.currentPhase===player||player.isTempBanned('olweijie')) return false;
return get.type(name)=='basic'&&game.hasPlayer(target=>{ return get.type(name)=='basic'&&game.hasPlayer(target=>{
return get.distance(player,target)==1&&target.countCards('h'); return get.distance(player,target)==1&&target.countCards('h');
}); });