修复乱斗模式铁索问题,将废除装备栏导致装备进入弃牌堆的操作改为置入

This commit is contained in:
copcap 2023-07-24 21:12:38 +08:00
parent 8087013891
commit ecebb6e132
2 changed files with 2 additions and 2 deletions

View File

@ -11520,7 +11520,7 @@
if(subtype=='equip6'&&['equip3','equip4'].contains(event.pos)) return true; if(subtype=='equip6'&&['equip3','equip4'].contains(event.pos)) return true;
return false; return false;
}); });
if(cards.length) player.discard(cards).delay=false; if(cards.length) player.loseToDiscardpile(cards).delay=false;
game.log(player,'废除了',get.translation(event.pos),'栏'); game.log(player,'废除了',get.translation(event.pos),'栏');
player.$disableEquip(event.pos); player.$disableEquip(event.pos);
} }

View File

@ -4093,7 +4093,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
} }
} }
} }
if(info.linked) target.classList.add('linked'); if(info.linked) target.classList.add('linked'+(get.is.linked2(target)?'2':''));
if(info.turnedover) target.classList.add('turnedover'); if(info.turnedover) target.classList.add('turnedover');
if(info.position<_status.firstAct.brawlinfo.position) _status.firstAct=target; if(info.position<_status.firstAct.brawlinfo.position) _status.firstAct=target;
var hs=[]; var hs=[];