修复神司马懿ai觉醒前不出闪的bug
This commit is contained in:
parent
6208ddb0f2
commit
b8d89eaa7a
|
@ -5664,17 +5664,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
return 0.7;
|
||||
}
|
||||
},
|
||||
player(card,player){
|
||||
if(_status.currentPhase!=player) return;
|
||||
if(_status.event.name!='chooseToUse'||_status.event.player!=player) return;
|
||||
if(get.type(card)=='basic') return;
|
||||
if(get.tag(card,'gain')) return;
|
||||
if(get.value(card,player,'raw')>=7) return;
|
||||
if(player.hp<=2) return;
|
||||
if(!player.hasSkill('jilue')||player.storage.renjie==0){
|
||||
return 'zeroplayertarget';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5683,7 +5672,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:2,
|
||||
mod:{
|
||||
aiOrder:(player,card,num)=>{
|
||||
if(num<=0||typeof card!=='object'||!player.isPhaseUsing()) return 0;
|
||||
if(num<=0||typeof card!=='object'||!player.isPhaseUsing()) return num;
|
||||
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;
|
||||
}
|
||||
|
@ -5854,7 +5843,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player:1
|
||||
},
|
||||
effect:{
|
||||
player:(card,player,target)=>{
|
||||
player(card,player,target){
|
||||
if(target&&player.hasSkill('rewansha')&&target.hp<=1&&get.tag(card,'damage')) return [1,0,1.5,-1.5];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue