星黄忠【骑射】ai调整(修复濒死不转化装备酒的bug)

This commit is contained in:
mengxinzxz 2023-10-09 15:59:47 +08:00 committed by GitHub
parent 9d5b8192dc
commit f318ecdff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -4595,7 +4595,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
viewAsFilter:function(player){
return player.hasCard({type:'equip'},'ehs');
},
check:(card)=>5-get.value(card),
check:function(card){
if(_status.event.type=='dying') return 1/(get.value(card)||0.5);
return 5-get.value(card);
},
locked:false,
mod:{
maxHandcard:function(player,num){