This commit is contained in:
libccy 2017-03-24 09:41:01 +08:00
parent 76d2a74193
commit 210a813ad5
2 changed files with 4 additions and 1 deletions

View File

@ -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{

View File

@ -13,6 +13,7 @@ window.noname_update={
// 'card/*',
// 'card/guozhan.js',
// 'character/*',
'character/refresh.js',
// 'mode/boss.js',
// 'mode/chess.js',
// 'mode/versus.js',