调整【天机图】ai
This commit is contained in:
parent
4f5c4526ea
commit
eb79a88ac4
|
@ -276,11 +276,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
ai:{
|
ai:{
|
||||||
value:function(card,player){
|
value:function(card,player){
|
||||||
if(player.countCards('h')>3||get.position(card)!='e') return 0.5;
|
if(player.countCards('h')>3||get.position(card)!='e') return 0.5;
|
||||||
return (player.countCards('h')-5)/3;
|
return (player.countCards('h')-4)*5;
|
||||||
},
|
},
|
||||||
equipValue:function(card,player){
|
equipValue:function(card,player){
|
||||||
if(player.countCards('h')>3||get.position(card)!='e') return 0.5;
|
if(player.countCards('h')>3||get.position(card)!='e') return 0.5;
|
||||||
return (player.countCards('h')-5)/3;
|
return (player.countCards('h')-4)*5;
|
||||||
},
|
},
|
||||||
basic:{
|
basic:{
|
||||||
equipValue:0.5
|
equipValue:0.5
|
||||||
|
|
Loading…
Reference in New Issue