fix:神孙权驭衡回合结束不会摸牌

This commit is contained in:
lieren2023 2024-03-08 15:41:15 +08:00 committed by GitHub
parent c008aae009
commit f195d859ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -17684,9 +17684,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return player.additionalSkills.junkyuheng&&player.additionalSkills.junkyuheng.length>0;
},
async content(event,trigger,player){
const skills = player.additionalSkills.junkyuheng;
const skillslength = player.additionalSkills.junkyuheng.length;
await player.removeAdditionalSkills('junkyuheng');
await player.draw(skills.length);
await player.draw(skillslength);
},
},
},