【裸衣】加伤标签筛选;【渐营】ai

This commit is contained in:
157 2023-09-25 22:32:40 +08:00 committed by GitHub
parent 501d13ea55
commit 99acfde192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -2931,7 +2931,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(get.attitude(player,target)>0&&target.hp>1){ if(get.attitude(player,target)>0&&target.hp>1){
return 0; return 0;
} }
if(get.attitude(player,target)<0&&!player.hasSkillTag('damageBonus')){ if(get.attitude(player,target)<0&&!player.hasSkillTag('damageBonus','e',{
target:target,
card:card
})){
if(card.name=='sha') return; if(card.name=='sha') return;
var sha=false; var sha=false;
player._shibei_tmp=true; player._shibei_tmp=true;
@ -12605,7 +12608,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
trigger.num++; trigger.num++;
}, },
ai:{ ai:{
damageBonus:true damageBonus:true,
skillTagFilter:function(player,tag,arg){
if(tag==='damageBonus') return arg&&arg.card&&(arg.card.name==='sha'||arg.card.name==='juedou');
}
} }
}, },
reganglie:{ reganglie:{