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