外服武将配音补充
This commit is contained in:
parent
8b5a3be569
commit
5e25d89926
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -693,32 +693,47 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
twxiayong:{
|
twxiayong:{
|
||||||
audio:2,
|
audio:2,
|
||||||
audioname:['tw_yanliang'],
|
audioname:['tw_yanliang'],
|
||||||
trigger:{global:'damageBegin1'},
|
locked:true,
|
||||||
filter(event,player){
|
group:'twxiayong_effect',
|
||||||
if(event.getParent().type!='card'||event.card.name!='juedou'||!event.player.isIn()) return false;
|
subSkill:{
|
||||||
const evt=game.getGlobalHistory('useCard',evt=>evt.card==event.card)[0];
|
effect:{
|
||||||
if(evt&&evt.targets&&(event.player!=player||player.countCards('h'))){
|
trigger:{global:'damageBegin1'},
|
||||||
if(evt.player==player){
|
filter(event,player){
|
||||||
return evt.targets.includes(event.player)&&event.player!=player;
|
if(event.getParent().type!='card'||event.card.name!='juedou'||!event.player.isIn()) return false;
|
||||||
}
|
const evt=game.getGlobalHistory('useCard',evt=>evt.card==event.card)[0];
|
||||||
return evt.targets.includes(player)&&evt.player!=player;
|
if(evt&&evt.targets&&(event.player!=player||player.countCards('h'))){
|
||||||
}
|
if(evt.player==player){
|
||||||
return false;
|
return evt.targets.includes(event.player)&&event.player!=player;
|
||||||
},
|
}
|
||||||
forced:true,
|
return evt.targets.includes(player)&&evt.player!=player;
|
||||||
logTarget:'player',
|
}
|
||||||
async content(event,trigger,player){
|
return false;
|
||||||
if(trigger.player===player){
|
},
|
||||||
const cards=player.getCards('h',card=>{
|
forced:true,
|
||||||
return lib.filter.cardDiscardable(card,player,'twxiayong');
|
popup:false,
|
||||||
});
|
async content(event,trigger,player){
|
||||||
if(cards.length>0) player.discard(cards.randomGet());
|
player.logSkill('twxiayong'+(trigger.player===player?'1':'2'),trigger.player);
|
||||||
}
|
if(trigger.player===player){
|
||||||
else{
|
const cards=player.getCards('h',card=>{
|
||||||
trigger.increase('num');
|
return lib.filter.cardDiscardable(card,player,'twxiayong');
|
||||||
}
|
});
|
||||||
|
if(cards.length>0) player.discard(cards.randomGet());
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
trigger.increase('num');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
twxiayong1:{
|
||||||
|
audio:true,
|
||||||
|
audioname:['tw_yanliang'],
|
||||||
|
sourceSkill:'twxiayong',
|
||||||
|
},
|
||||||
|
twxiayong2:{
|
||||||
|
inherit:'twxiayong1',
|
||||||
|
},
|
||||||
//袁谭
|
//袁谭
|
||||||
twqiaosi:{
|
twqiaosi:{
|
||||||
audio:2,
|
audio:2,
|
||||||
|
|
Loading…
Reference in New Issue