v1.9.18.2
This commit is contained in:
parent
75e2f0808e
commit
5af7df807d
|
@ -149,6 +149,7 @@ window.characterRank={
|
||||||
'pal_muchanglan',
|
'pal_muchanglan',
|
||||||
'yxs_luzhishen',
|
'yxs_luzhishen',
|
||||||
'hs_jaina',
|
'hs_jaina',
|
||||||
|
're_lidian',
|
||||||
],
|
],
|
||||||
am:[
|
am:[
|
||||||
'ow_orisa',
|
'ow_orisa',
|
||||||
|
@ -265,7 +266,6 @@ window.characterRank={
|
||||||
'yxs_kaisa',
|
'yxs_kaisa',
|
||||||
'sunluyu',
|
'sunluyu',
|
||||||
'liyan',
|
'liyan',
|
||||||
're_lidian',
|
|
||||||
'pal_jiangcheng',
|
'pal_jiangcheng',
|
||||||
'zhugeguo',
|
'zhugeguo',
|
||||||
'xiaoqiao',
|
'xiaoqiao',
|
||||||
|
|
|
@ -3898,38 +3898,44 @@ character.sp={
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return player.storage.yinbing&&player.storage.yinbing.length>0;
|
return player.storage.yinbing&&player.storage.yinbing.length>0;
|
||||||
},
|
},
|
||||||
direct:true,
|
forced:true,
|
||||||
audio:2,
|
audio:2,
|
||||||
content:function(){
|
content:function(){
|
||||||
'step 0'
|
'step 0'
|
||||||
player.chooseTarget(get.prompt('juedi'),function(card,player,target){
|
player.chooseTarget(get.prompt('juedi'),true,function(card,player,target){
|
||||||
return player.hp>=target.hp;
|
return player.hp>=target.hp;
|
||||||
}).set('ai',function(target){
|
}).set('ai',function(target){
|
||||||
var player=_status.event.player;
|
var player=_status.event.player;
|
||||||
var nh=player.countCards('h');
|
var nh=player.countCards('h');
|
||||||
if(target==player){
|
|
||||||
if(nh>=player.maxHp) return 0;
|
|
||||||
if(player.maxHp-nh>=3) return 4;
|
|
||||||
return 0.5;
|
|
||||||
}
|
|
||||||
var att=ai.get.attitude(player,target);
|
var att=ai.get.attitude(player,target);
|
||||||
if(att<2) return 0;
|
if(att<2) return att-10;
|
||||||
if(target.hp==1&&att>2){
|
if(target==player){
|
||||||
att+=2;
|
|
||||||
}
|
|
||||||
if(player.hasJudge('lebu')){
|
if(player.hasJudge('lebu')){
|
||||||
if(target.hp==target.maxHp) return att-2;
|
player.maxHp-nh-2;
|
||||||
return att-1;
|
|
||||||
}
|
}
|
||||||
if(target.hp==target.maxHp) return 0;
|
return player.maxHp-nh;
|
||||||
if(nh<player.hp-1){
|
|
||||||
return att-3;
|
|
||||||
}
|
}
|
||||||
return att-2;
|
if(target.hp==target.maxHp){
|
||||||
|
return att/10;
|
||||||
|
}
|
||||||
|
if(target.hp==1){
|
||||||
|
return 5+att/10;
|
||||||
|
}
|
||||||
|
var nh2=target.countCards('h');
|
||||||
|
if(target.hp==2){
|
||||||
|
if(nh2<=1){
|
||||||
|
return 3+att/10;
|
||||||
|
}
|
||||||
|
return 2+att/10;
|
||||||
|
}
|
||||||
|
if(nh2<=2){
|
||||||
|
return 2+att/10;
|
||||||
|
}
|
||||||
|
return 1+att/10;
|
||||||
});
|
});
|
||||||
'step 1'
|
'step 1'
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
player.logSkill('juedi',result.targets);
|
player.line(result.targets[0],'green');
|
||||||
if(result.targets[0]==player){
|
if(result.targets[0]==player){
|
||||||
player.$throw(player.storage.yinbing,1000);
|
player.$throw(player.storage.yinbing,1000);
|
||||||
var num=player.maxHp-player.countCards('h');
|
var num=player.maxHp-player.countCards('h');
|
||||||
|
|
|
@ -2319,7 +2319,7 @@ character.yijiang={
|
||||||
if(get.color(trigger.card)=='red'){
|
if(get.color(trigger.card)=='red'){
|
||||||
player.draw();
|
player.draw();
|
||||||
}
|
}
|
||||||
player.logSkill('longyin',trigger.player);
|
// player.logSkill('longyin',trigger.player);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
|
@ -2916,12 +2916,13 @@ character.yijiang={
|
||||||
group:['zhanjue2','zhanjue3','zhanjue4'],
|
group:['zhanjue2','zhanjue3','zhanjue4'],
|
||||||
ai:{
|
ai:{
|
||||||
order:1,
|
order:1,
|
||||||
result:{
|
effect:{
|
||||||
target:function(player,target){
|
player:function(card,player,target){
|
||||||
if(player.countCards('h')>=3||target.countCards('h')>=3) return 0;
|
if(_status.event.skill=='zhanjue'){
|
||||||
if(player.countCards('h','tao')) return 0;
|
if(player.countCards('h')>=3||target.countCards('h')>=3) return 'zeroplayertarget';
|
||||||
if(target.countCards('h','sha')>1) return 0;
|
if(player.countCards('h','tao')) return 'zeroplayertarget';
|
||||||
return -1.5;
|
if(target.countCards('h','sha')>1) return 'zeroplayertarget';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,8 @@ window.noname_update={
|
||||||
'card/sp.js',
|
'card/sp.js',
|
||||||
// 'character/*',
|
// 'character/*',
|
||||||
'character/shenhua.js',
|
'character/shenhua.js',
|
||||||
|
'character/yijiang.js',
|
||||||
|
'character/sp.js',
|
||||||
'character/rank.js',
|
'character/rank.js',
|
||||||
// 'mode/boss.js',
|
// 'mode/boss.js',
|
||||||
'mode/versus.js',
|
'mode/versus.js',
|
||||||
|
|
Loading…
Reference in New Issue