鼓励ai优先【烈弓】

This commit is contained in:
157 2024-01-09 20:11:18 +08:00
parent 44437f73b9
commit d804bba958
1 changed files with 3 additions and 0 deletions

View File

@ -3222,6 +3222,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xinliegong:{
shaRelated:true,
mod:{
aiOrder:function(player,card,num){
if(num>0&&(card.name==='sha'||get.tag(card,'draw'))) return num+6;
},
targetInRange:function(card,player,target){
if(card.name=='sha'&&typeof get.number(card)=='number'){
if(get.distance(player,target)<=get.number(card)) return true;