Merge pull request #762 from PZ157/PR-Branch

ai优化
This commit is contained in:
Spmario233 2024-01-03 23:10:10 +08:00 committed by GitHub
commit 83c31e0499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4435,9 +4435,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
effect:{
target:(card,player,target)=>{
if(!get.tag(card,'damage')) return;
if(target.hp<2&&target.countCards('hs')<3||player.hasSkillTag('jueqing',false,target)) return -2;
if(target.hp+target.hujia<2||player.hasSkillTag('jueqing',false,target)) return -2;
if(target.countMark('redanxin')>1) return [1,1];
return [1,Math.min(3.2,0.8*target.hp)];
return [1,Math.min(2,0.8*target.hp-0.7)];
}
}
}