From 8d20ab0d105bf1360447f3bef6c1ad900b9605c7 Mon Sep 17 00:00:00 2001 From: mengxinzxz <139629761+mengxinzxz@users.noreply.github.com> Date: Fri, 8 Sep 2023 18:45:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4hasZhuSkill=E5=88=A4=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/doudizhu.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mode/doudizhu.js b/mode/doudizhu.js index 7c6e1280d..5a74cb418 100644 --- a/mode/doudizhu.js +++ b/mode/doudizhu.js @@ -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){