修复【太平要术】ai

This commit is contained in:
157 2024-01-23 11:26:22 +08:00
parent b61548fe77
commit 8c7ae738d6
1 changed files with 1 additions and 1 deletions

View File

@ -1343,7 +1343,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
target:(card,player,target)=>{
if(target._g_taipingyaoshu_temp) return;
if(get.subtype(card)==='equip2'&&target.getEquip('taipingyaoshu')&&!target.countEmpty(2)){
if(get.subtype(card)==='equip2'&&target.getEquip('taipingyaoshu')&&!target.countEmptySlot(2)){
target._g_taipingyaoshu_temp=true;
let lose=get.effect(target,{name:'losehp'},target,target),
draw=2*get.effect(target,{name:'draw'},target,target);