This commit is contained in:
mengxinzxz 2024-03-28 21:58:54 +08:00
parent 849d6e7c18
commit 12d82d13ac
1 changed files with 5 additions and 1 deletions

View File

@ -68,7 +68,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
async content(event,trigger,player){ async content(event,trigger,player){
await player.recast(event.cards); await player.recast(event.cards);
if(!player.storage.clanlilun){ if(!player.storage.clanlilun){
player.when({global:'phaseAfter'}).then(()=>delete player.storage.clanlilun); player.when({global:'phaseAfter'}).then(()=>{
player.unmarkSkill('clanlilun');
delete player.storage.clanlilun;
});
} }
player.markAuto('clanlilun',event.cards.slice().map(card=>card.name)); player.markAuto('clanlilun',event.cards.slice().map(card=>card.name));
const cards=event.cards.filterInD('d'); const cards=event.cards.filterInD('d');
@ -86,6 +89,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
} }
} }
}, },
onremove:true,
intro:{content:'本回合已重铸过$'}, intro:{content:'本回合已重铸过$'},
ai:{ ai:{
order(item,player){ order(item,player){