郭照characterReplace

添加郭照的characterReplace
This commit is contained in:
mengxinzxz 2023-08-30 01:15:01 +08:00 committed by GitHub
parent 45ae3c03c6
commit 4ba09045b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -4884,7 +4884,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
} }
else if(evt.type=='gain'){ else if(evt.type=='gain'){
var evtx=evt.getParent(); var evtx=evt.getParent();
if(evtx.giver||evtx.getParent().name=='gift') return false; if(evtx.giver||evtx.getParent().name=='_yongjian_zengyu') return false;
var cards=evtx.getg(target); var cards=evtx.getg(target);
if(!cards.length) return false; if(!cards.length) return false;
var cards2=evtx.getl(current).cards2; var cards2=evtx.getl(current).cards2;
@ -4895,7 +4895,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return false; return false;
})) guojue=true; })) guojue=true;
if(!renzhi&&current.hasHistory('gain',evt=>{ if(!renzhi&&current.hasHistory('gain',evt=>{
if(evt.giver!=target||evt.getParent().name=='gift') return false; if(evt.giver!=target||evt.getParent().name=='_yongjian_zengyu') return false;
return evt.cards.length; return evt.cards.length;
})) renzhi=true; })) renzhi=true;
}); });
@ -4927,7 +4927,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
} }
else if(evt.type=='gain'){ else if(evt.type=='gain'){
var evtx=evt.getParent(); var evtx=evt.getParent();
if(evtx.giver||evtx.getParent().name=='gift') return false; if(evtx.giver||evtx.getParent().name=='_yongjian_zengyu') return false;
var cards=evtx.getg(target); var cards=evtx.getg(target);
if(!cards.length) return false; if(!cards.length) return false;
var cards2=evtx.getl(current).cards2; var cards2=evtx.getl(current).cards2;
@ -4938,7 +4938,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return false; return false;
})) guojue=true; })) guojue=true;
if(!renzhi&&current.hasHistory('gain',evt=>{ if(!renzhi&&current.hasHistory('gain',evt=>{
if(evt.giver!=target||evt.getParent().name=='gift') return false; if(evt.giver!=target||evt.getParent().name=='_yongjian_zengyu') return false;
return evt.cards.length; return evt.cards.length;
})) renzhi=true; })) renzhi=true;
}); });
@ -11486,6 +11486,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
fengfangnv:['re_fengfangnv','fengfangnv'], fengfangnv:['re_fengfangnv','fengfangnv'],
luotong:['luotong','dc_luotong'], luotong:['luotong','dc_luotong'],
dc_wangchang:['dc_wangchang','tw_wangchang'], dc_wangchang:['dc_wangchang','tw_wangchang'],
guozhao:['guozhao','xin_guozhao'],
}, },
translate:{ translate:{
puyuan:'蒲元', puyuan:'蒲元',