删除hasZhuSkill判别

This commit is contained in:
mengxinzxz 2023-09-08 18:45:55 +08:00 committed by GitHub
parent d578ea743e
commit 8d20ab0d10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -1850,13 +1850,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
else game.updateRoundNumber();
return cards;
},
hasZhuSkill:function(skill,player){
if(!this.hasSkill(skill)) return false;
for(var i in this.storage){
if(i.indexOf('zhuSkill_')==0&&this.storage[i].contains(skill)) return true;
}
return false;
},
$dieAfter:function(){
if(_status.video) return;
if(!this.node.dieidentity){