From 12d82d13acbc822d183c81ba52b50043c2a9a6f3 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Thu, 28 Mar 2024 21:58:54 +0800 Subject: [PATCH] bugfix --- character/clan.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/character/clan.js b/character/clan.js index afa1244ed..d23a1d9e0 100644 --- a/character/clan.js +++ b/character/clan.js @@ -68,7 +68,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){ async content(event,trigger,player){ await player.recast(event.cards); 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)); const cards=event.cards.filterInD('d'); @@ -86,6 +89,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ } } }, + onremove:true, intro:{content:'本回合已重铸过$'}, ai:{ order(item,player){