增加【挫锐】ai;优化【隐逸】ai
This commit is contained in:
parent
76ed4c34c5
commit
00a1705102
|
@ -3041,14 +3041,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
effect:{
|
effect:{
|
||||||
target:function(card,player,target,current){
|
target:function(card,player,target,current){
|
||||||
if(get.tag(card,'damage')){
|
if(get.tag(card,'damage')){
|
||||||
if(player.hp==target.hp) return;
|
if(player.hp==target.hp||lib.linked.contains(get.nature(card))) return;
|
||||||
var cards=[card];
|
var cards=[card];
|
||||||
if(card.cards&&card.cards.length) cards.addArray(card.cards);
|
if(card.cards&&card.cards.length) cards.addArray(card.cards);
|
||||||
if(ui.selected.cards.length) cards.addArray(ui.selected.cards);
|
if(ui.selected.cards.length) cards.addArray(ui.selected.cards);
|
||||||
if(player.countCards('h',function(card){
|
if(player.countCards('h',function(card){
|
||||||
return !cards.contains(card);
|
return !cards.contains(card);
|
||||||
})==target.countCards('h')) return;
|
})==target.countCards('h')) return;
|
||||||
return 'zerotarget';
|
return 'zeroplayertarget';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -4703,6 +4703,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
if(num==0) player.awakenSkill('recuorui');
|
if(num==0) player.awakenSkill('recuorui');
|
||||||
player.gainPlayerCard(target,true,'h');
|
player.gainPlayerCard(target,true,'h');
|
||||||
},
|
},
|
||||||
|
ai:{
|
||||||
|
order:10,
|
||||||
|
result:{
|
||||||
|
player:1,
|
||||||
|
target:function(player,target){
|
||||||
|
if(target.hasSkillTag('noh')) return 0;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
reliewei:{
|
reliewei:{
|
||||||
audio:'liewei',
|
audio:'liewei',
|
||||||
|
|
Loading…
Reference in New Issue