This commit is contained in:
parent
76d2a74193
commit
210a813ad5
|
@ -106,16 +106,18 @@ character.refresh={
|
||||||
}
|
}
|
||||||
if(card.name=='sha'){
|
if(card.name=='sha'){
|
||||||
if(game.hasPlayer(function(current){
|
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=='fire') return 2.95;
|
||||||
if(card.nature=='thunder') return 2.92;
|
if(card.nature=='thunder') return 2.92;
|
||||||
return 2.9;
|
return 2.9;
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
if(card.name=='jiu'){
|
if(card.name=='jiu'){
|
||||||
return 0.5;
|
return 0.5;
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
|
@ -13,6 +13,7 @@ window.noname_update={
|
||||||
// 'card/*',
|
// 'card/*',
|
||||||
// 'card/guozhan.js',
|
// 'card/guozhan.js',
|
||||||
// 'character/*',
|
// 'character/*',
|
||||||
|
'character/refresh.js',
|
||||||
// 'mode/boss.js',
|
// 'mode/boss.js',
|
||||||
// 'mode/chess.js',
|
// 'mode/chess.js',
|
||||||
// 'mode/versus.js',
|
// 'mode/versus.js',
|
||||||
|
|
Loading…
Reference in New Issue