侠关羽bugfix+出场率评级
This commit is contained in:
parent
5399d0143d
commit
323711177e
|
@ -49,6 +49,7 @@ window.noname_character_rank={
|
||||||
'key_iriya',
|
'key_iriya',
|
||||||
],
|
],
|
||||||
ap:[
|
ap:[
|
||||||
|
'xia_guanyu',
|
||||||
'gjqt_aruan',
|
'gjqt_aruan',
|
||||||
'gjqt_cenying',
|
'gjqt_cenying',
|
||||||
'gjqt_ouyangshaogong',
|
'gjqt_ouyangshaogong',
|
||||||
|
@ -1657,6 +1658,7 @@ window.noname_character_rank={
|
||||||
],
|
],
|
||||||
rarity:{
|
rarity:{
|
||||||
legend:[
|
legend:[
|
||||||
|
'xia_guanyu',
|
||||||
'swd_muyun',
|
'swd_muyun',
|
||||||
'swd_zhaoyun',
|
'swd_zhaoyun',
|
||||||
'swd_septem',
|
'swd_septem',
|
||||||
|
|
|
@ -295,6 +295,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
audio:2,
|
audio:2,
|
||||||
trigger:{player:'useCardAfter'},
|
trigger:{player:'useCardAfter'},
|
||||||
filter(event,player){
|
filter(event,player){
|
||||||
|
if(event.card.name!='sha') return false;
|
||||||
return player.getHistory('sourceDamage',evt=>evt.card&&evt.card==event.card).length;
|
return player.getHistory('sourceDamage',evt=>evt.card&&evt.card==event.card).length;
|
||||||
},
|
},
|
||||||
forced:true,
|
forced:true,
|
||||||
|
@ -390,7 +391,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
player.removeMark('twchue',num);
|
player.removeMark('twchue',num);
|
||||||
const card=new lib.element.VCard({name:'sha'});
|
const card=new lib.element.VCard({name:'sha'});
|
||||||
player.when('useCard2')
|
player.when('useCard2')
|
||||||
.filter(evt=>evt.card==card&&game.hasPlayer(target=>!evt.targets.includes(target)&&player.canUse(evt.card,target)))
|
.filter(evt=>evt.getParent(2)==event&&game.hasPlayer(target=>!evt.targets.includes(target)&&player.canUse(evt.card,target)))
|
||||||
|
.assign({
|
||||||
|
firstDo:true,
|
||||||
|
})
|
||||||
.then(()=>{
|
.then(()=>{
|
||||||
trigger.baseDamage++;
|
trigger.baseDamage++;
|
||||||
player.chooseTarget('额外指定至多'+get.cnNumber(num)+'名目标',[1,num],(card,player,target)=>{
|
player.chooseTarget('额外指定至多'+get.cnNumber(num)+'名目标',[1,num],(card,player,target)=>{
|
||||||
|
@ -403,10 +407,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
})
|
})
|
||||||
.then(()=>{
|
.then(()=>{
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
|
const targets=result.targets;
|
||||||
player.line(targets);
|
player.line(targets);
|
||||||
trigger.targets.addArray(targets);
|
trigger.targets.addArray(targets);
|
||||||
}
|
}
|
||||||
}).vars({card:card,num:num});
|
}).vars({num:num});
|
||||||
player.chooseUseTarget('视为使用造成的伤害+1且可以额外指定'+num+'个目标的【杀】',card,false,true);
|
player.chooseUseTarget('视为使用造成的伤害+1且可以额外指定'+num+'个目标的【杀】',card,false,true);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue