From 8ce04f18dc76a5fe0cfae55f4cebba8b85c3891d Mon Sep 17 00:00:00 2001 From: libccy Date: Fri, 4 Mar 2016 22:15:34 +0800 Subject: [PATCH] c --- character/swd.js | 8 +++++++- character/yijiang.js | 3 +++ game/game.js | 7 +++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/character/swd.js b/character/swd.js index a2bc8f6db..3ce6e97e0 100755 --- a/character/swd.js +++ b/character/swd.js @@ -5197,7 +5197,13 @@ character.swd={ }; for(i=0;i
【'+ translation+'】
'+lib.translate[list[i]+'_info']+'
'); item.firstChild.addEventListener('click',clickItem); diff --git a/character/yijiang.js b/character/yijiang.js index 32b5e8fe5..9cfb688ee 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -1661,6 +1661,7 @@ character.yijiang={ player.$throw(cards); }, filter:function(event,player){ + if(!player.storage.huomo) player.storage.huomo={}; if(player.storage.huomo.sha) return false; if(!lib.filter.filterCard({name:'sha'},player,event)){ return false; @@ -1708,6 +1709,7 @@ character.yijiang={ player.$throw(cards); }, filter:function(event,player){ + if(!player.storage.huomo) player.storage.huomo={}; if(player.storage.huomo.tao) return false; var hs=player.get('he',{color:'black'}); for(var i=0;i