木牛流马塞影 bugfix

This commit is contained in:
Spmario233 2024-03-30 20:13:59 +08:00
parent ae37077d35
commit 671c333177
2 changed files with 2 additions and 2 deletions

View File

@ -577,7 +577,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
player.loseToSpecial(cards,'muniu'); player.loseToSpecial(cards,'muniu');
"step 1" "step 1"
for(var i=0;i<cards.length;i++){ for(var i=0;i<cards.length;i++){
if(cards[i].destroyed||!cards[i].hasGaintag('muniu')||get.position(cards[i])!='s'){ if(cards[i]._selfDestroyed||!cards[i].hasGaintag('muniu')||get.position(cards[i])!='s'){
cards[i].remove(); cards[i].remove();
cards.splice(i--,1); cards.splice(i--,1);
} }

View File

@ -3099,7 +3099,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
event.hu=hu; event.hu=hu;
} }
'step 1' 'step 1'
if(!event.card.destroyed){ if(!event.card._selfDestroyed){
event.hu.storage.shouna.push(event.card); event.hu.storage.shouna.push(event.card);
player.updateMarks(); player.updateMarks();
} }