diff --git a/character/refresh.js b/character/refresh.js index 8f93e023b..c8f65b046 100755 --- a/character/refresh.js +++ b/character/refresh.js @@ -260,7 +260,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ event.result.card=viewAs; event.result.cards=[]; if(!player.storage.rehuomo){ - player.when('phaseAfter').then(()=>{player.unmarkSkill('rehuomo')}); + player.when({global:'phaseAfter'}).then(()=>{player.unmarkSkill('rehuomo')}); } player.markAuto('rehuomo',viewAs.name) }, diff --git a/character/xianding.js b/character/xianding.js index 02f281938..ae5258aee 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -190,7 +190,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ var target=result.targets[0]; player.logSkill('dcshangyu_transfer',target); if(!player.storage.dcshangyu_transfer){ - player.when('phaseAfter') + player.when({global:'phaseAfter'}) .then(()=>{ player.unmarkSkill('dcshangyu_transfer'); delete player.storage.dcshangyu_transfer;