增加一点司马师的AI

This commit is contained in:
copcap 2024-02-27 03:27:31 +08:00
parent 3781a08d04
commit 99f51ac957
No known key found for this signature in database
GPG Key ID: 30E7AB6699451AEE
1 changed files with 17 additions and 0 deletions

View File

@ -226,6 +226,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
},
ai:{
threaten:3,
},
},
dczhenrao:{
audio:2,
@ -267,6 +270,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
content:'已以此法对$造成过伤害',
onunmark:true,
},
ai:{
expose:0.2,
threaten:3,
},
},
dcchenlve:{
audio:2,
@ -331,6 +338,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
game.log(sishiList,'被置入了弃牌堆');
});
},
ai:{
order:0.5,
result:{
player(player){
if(player.getHp(true)>1&&player.countCards('he')>1) return 0;
if(!player.isDamaged()&&(player.countCards('h')>1||player.countCards('e')>0)) return 0;
return 13;
}
},
},
},
//蒋济
dcshiju:{