This commit is contained in:
copcap 2023-09-28 16:35:16 +08:00
parent 7316a1915e
commit 2e15f730ab
No known key found for this signature in database
GPG Key ID: 9AE7B8AF097EC926
2 changed files with 2 additions and 2 deletions

View File

@ -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)
},

View File

@ -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;