shenhua.js回滚修复

This commit is contained in:
mengxinzxz 2023-08-30 21:57:54 +08:00 committed by GitHub
parent 5776ff696a
commit bef480bde4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7023,7 +7023,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return true;
}
else if(event.name=='gain'){
if(event.giver||event.getParent().name=='_yongjian_zengyu') return false;
if(event.giver||event.getParent().name=='gift') return false;
var cards=event.getg(event.player);
if(!cards.length) return false;
return game.hasPlayer(function(current){