优化神司马懿ai
This commit is contained in:
parent
6a6c7de094
commit
18d5ff8f7a
|
@ -5434,6 +5434,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
renjie2:{
|
||||
audio:2,
|
||||
mod:{
|
||||
aiOrder:(player,card,num)=>{
|
||||
if(num<=0||typeof card!=='object'||!player.isPhaseUsing()) return 0;
|
||||
if(player.awakenedSkills.includes('sbaiyin')){
|
||||
if(player.countMark('renjie')<3&&player.getUseValue(card)<Math.min(1.8,0.18*player.hp*player.hp)) return 0;
|
||||
}
|
||||
else if(player.countMark('renjie')<4&&player.getUseValue(card)<Math.min(4,player.hp*player.hp/4)) return 0;
|
||||
}
|
||||
},
|
||||
trigger:{
|
||||
player:'loseAfter',
|
||||
global:'loseAsyncAfter',
|
||||
|
@ -5469,6 +5478,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
jilue:{
|
||||
unique:true,
|
||||
group:['jilue_guicai','jilue_fangzhu','jilue_wansha','jilue_zhiheng','jilue_jizhi'],
|
||||
ai:{
|
||||
combo:'renjie'
|
||||
}
|
||||
},
|
||||
jilue_guicai:{
|
||||
audio:1,
|
||||
|
|
Loading…
Reference in New Issue