This commit is contained in:
parent
19d3fbd738
commit
319025fd5c
|
@ -25163,8 +25163,12 @@
|
||||||
if(current&&card!=current){
|
if(current&&card!=current){
|
||||||
value=ai.get.value(current,player);
|
value=ai.get.value(current,player);
|
||||||
}
|
}
|
||||||
var equipValue=info.ai.equipValue||info.ai.basic.equipValue;
|
var equipValue=info.ai.equipValue;
|
||||||
|
if(equipValue==undefined){
|
||||||
|
equipValue=info.ai.basic.equipValue;
|
||||||
|
}
|
||||||
if(typeof equipValue=='function') return equipValue(card,player)-value;
|
if(typeof equipValue=='function') return equipValue(card,player)-value;
|
||||||
|
if(typeof equipValue!='number') equipValue=0;
|
||||||
return equipValue-value;
|
return equipValue-value;
|
||||||
}
|
}
|
||||||
card.ai.result.target=(function(name){
|
card.ai.result.target=(function(name){
|
||||||
|
|
Loading…
Reference in New Issue