diff --git a/character/refresh.js b/character/refresh.js index d8e302675..df402ba04 100644 --- a/character/refresh.js +++ b/character/refresh.js @@ -106,16 +106,18 @@ character.refresh={ } if(card.name=='sha'){ if(game.hasPlayer(function(current){ - return ai.get.effect(current,card,player,player)>0 + return player.canUse(card,current)&&ai.get.effect(current,card,player,player)>0 })){ if(card.nature=='fire') return 2.95; if(card.nature=='thunder') return 2.92; return 2.9; } + return 0; } if(card.name=='jiu'){ return 0.5; } + return 0; }); } else{ diff --git a/game/update.js b/game/update.js index b1c6a995c..fdf503f29 100644 --- a/game/update.js +++ b/game/update.js @@ -13,6 +13,7 @@ window.noname_update={ // 'card/*', // 'card/guozhan.js', // 'character/*', + 'character/refresh.js', // 'mode/boss.js', // 'mode/chess.js', // 'mode/versus.js',