族钟会【迂志】优化

将族钟会清除上一轮获得牌的标记数清除的操作提前
This commit is contained in:
mengxinzxz 2023-08-28 11:30:06 +08:00 committed by GitHub
parent 1457f50039
commit 6a987eb4fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,6 +43,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
locked:true, locked:true,
content:function(){ content:function(){
'step 0' 'step 0'
player.unmarkSkill('clanyuzhi');
var num1=0,num2=0,num3=0,bool=true; var num1=0,num2=0,num3=0,bool=true;
var history=player.actionHistory; var history=player.actionHistory;
for(var i=history.length-2;i>=0;i--){ for(var i=history.length-2;i>=0;i--){
@ -92,7 +93,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.storage.clanyuzhi=lib.skill.dcweidang.getLength(result.cards[0]); player.storage.clanyuzhi=lib.skill.dcweidang.getLength(result.cards[0]);
player.markSkill('clanyuzhi'); player.markSkill('clanyuzhi');
} }
else player.unmarkSkill('clanyuzhi');
}, },
ai:{ ai:{
threaten:3, threaten:3,