Update shiji.js

This commit is contained in:
mengxinzxz 2023-08-22 19:39:43 +08:00 committed by GitHub
parent 4e14af2e7a
commit 2fbed562d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 12 deletions

View File

@ -2924,19 +2924,23 @@ game.import('character',function(lib,game,ui,get,ai,_status){
qingyu:{ qingyu:{
audio:3, audio:3,
dutySkill:true, dutySkill:true,
trigger:{player:'damageBegin2'}, locked:true,
forced:true, group:['qingyu_achieve','qingyu_fail','qingyu_defend'],
filter:function(event,player){
return player.countCards('he',function(card){
return lib.filter.cardDiscardable(card,player,'qingyu');
})>1;
},
content:function(){
trigger.cancel();
player.chooseToDiscard(2,'he',true);
},
group:['qingyu_achieve','qingyu_fail'],
subSkill:{ subSkill:{
defend:{
audio:'qingyu1',
trigger:{player:'damageBegin2'},
filter:function(event,player){
return player.countCards('he',function(card){
return lib.filter.cardDiscardable(card,player,'qingyu');
})>1;
},
forced:true,
content:function(){
trigger.cancel();
player.chooseToDiscard(2,'he',true);
},
},
achieve:{ achieve:{
audio:'qingyu3', audio:'qingyu3',
trigger:{player:'phaseZhunbeiBegin'}, trigger:{player:'phaseZhunbeiBegin'},
@ -2965,6 +2969,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
derivation:'xuancun', derivation:'xuancun',
}, },
qingyu1:{audio:true},
qingyu2:{audio:true}, qingyu2:{audio:true},
qingyu3:{audio:true}, qingyu3:{audio:true},
xuancun:{ xuancun:{