This commit is contained in:
parent
df742e4737
commit
1c1ca4bb8c
|
@ -473,8 +473,9 @@ character.gujian={
|
||||||
value:function(card,player){
|
value:function(card,player){
|
||||||
var value=0;
|
var value=0;
|
||||||
var info=get.info(card);
|
var info=get.info(card);
|
||||||
if(player.get('e',info.subtype[5])&&card!=player.get('e',info.subtype[5])){
|
var current=player.getEquip(parseInt(info.subtype[5]));
|
||||||
value=ai.get.value(player.get('e',info.subtype[5]),player);
|
if(current&&card!=current){
|
||||||
|
value=ai.get.value(current,player);
|
||||||
}
|
}
|
||||||
var equipValue=info.ai.equipValue||info.ai.basic.equipValue;
|
var equipValue=info.ai.equipValue||info.ai.basic.equipValue;
|
||||||
if(typeof equipValue=='function') return equipValue(card,player)-value;
|
if(typeof equipValue=='function') return equipValue(card,player)-value;
|
||||||
|
|
|
@ -1313,7 +1313,7 @@ character.shenhua={
|
||||||
},
|
},
|
||||||
filterTarget:function(card,player,target){
|
filterTarget:function(card,player,target){
|
||||||
if(target.isMin()) return false;
|
if(target.isMin()) return false;
|
||||||
return player!=target&&!target.get('e',get.subtype(card)[5]);
|
return player!=target&&!target.getEquip(parseInt(get.subtype(card)[5]));
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
target.equip(cards[0]);
|
target.equip(cards[0]);
|
||||||
|
|
Loading…
Reference in New Issue