From 2fae6f115321c3c14811880491fcda6513f39d89 Mon Sep 17 00:00:00 2001 From: libccy Date: Sat, 11 Jun 2016 20:46:19 +0800 Subject: [PATCH] 1 --- character/yijiang.js | 2 +- game/config.js | 1 - game/game.js | 1 + game/update.js | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/character/yijiang.js b/character/yijiang.js index 213378e6e..a8edb257e 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -2108,7 +2108,7 @@ character.yijiang={ mod:{ maxHandcard:function(player,num){ var damage=player.getStat().damage; - if(typeof damage=='number') return damage; + if(typeof damage=='number') return num-player.hp+damage; return 0; } } diff --git a/game/config.js b/game/config.js index 8303714d1..b1abf1119 100755 --- a/game/config.js +++ b/game/config.js @@ -361,7 +361,6 @@ window.config={ // ['jiang','chongzhen'], // ['fenji','yuling'], ['jiushi','guixin'], - ['jishe','kongju'], // ['jiushi','jushou'], // ['jiushi','kuiwei'], ] diff --git a/game/game.js b/game/game.js index 49e1a6c63..be501665f 100755 --- a/game/game.js +++ b/game/game.js @@ -12005,6 +12005,7 @@ sort:{ character:function(a,b){ var groupSort=function(name){ + if(!lib.character[name]) return 4; if(lib.character[name][1]=='wei') return 0; if(lib.character[name][1]=='shu') return 1; if(lib.character[name][1]=='wu') return 2; diff --git a/game/update.js b/game/update.js index db98916f7..0db64c516 100644 --- a/game/update.js +++ b/game/update.js @@ -15,6 +15,7 @@ window.noname_update={ 'mode/boss.js', 'mode/chess.js', 'game/game.js', + 'game/config.js', 'card/swd.js', 'card/standard.js', 'layout/default/layout.css',