small bugfix
This commit is contained in:
parent
cbd1a39f3b
commit
82616cec47
|
@ -310,8 +310,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(num) target.draw(num);
|
||||
target.when('phaseDiscardEnd')
|
||||
.then(()=>{
|
||||
if(!trigger.cards||!trigger.cards.length||!player.hasDisabledSlot()){
|
||||
event.finish();
|
||||
return;
|
||||
}
|
||||
const num=trigger.cards.length;
|
||||
if(!num||!player.hasDisabledSlot()) return;
|
||||
let list=[];
|
||||
for(let i=1;i<6;i++){
|
||||
if(player.hasDisabledSlot(i)){
|
||||
|
|
Loading…
Reference in New Issue