This commit is contained in:
libccy 2017-03-31 11:05:24 +08:00
parent ceb116f6a9
commit d6887a8b3c
5 changed files with 28 additions and 28 deletions

View File

@ -463,7 +463,7 @@ card.yunchou={
},
ai:{
order:2.5,
value:6,
value:7,
result:{
target:function(player,target){
var num=0;

View File

@ -252,6 +252,7 @@ window.characterRank={
bp:[
'zoushi',
'hs_hudunren',
'hs_ruanniguai',
'diy_lukang',
'yxs_meixi',
'yxs_lanlinwang',
@ -400,6 +401,7 @@ window.characterRank={
'sunhao',
'swd_jiting',
'hs_nozdormu',
'zhoucang',
],
b:[
'sp_daqiao',
@ -542,7 +544,6 @@ window.characterRank={
'menghuo',
'huaxiong',
'panfeng',
'zhoucang',
'guanyu',
'xuzhu',
'lvmeng',

View File

@ -1773,7 +1773,7 @@ character.sp={
}
else{
player.storage.zhaolie.chooseToDiscard(num,'he','弃置'+get.cnNumber(num)+
'张牌,或受到'+get.cnNumber(num)+'点伤害').set('ai',function(card){
'张牌并令'+get.translation(player)+'拿牌,或受到'+get.cnNumber(num)+'点伤害并拿牌').set('ai',function(card){
var player=_status.event.player;
switch(_status.event.num){
case 1:return player.hp>1?0:7-ai.get.value(card);
@ -3898,33 +3898,31 @@ character.sp={
return player.hp>=target.hp;
}).set('ai',function(target){
var player=_status.event.player;
var nh=player.countCards('h');
var att=ai.get.attitude(player,target);
if(att<2) return att-10;
var num=att/10;
if(target==player){
if(player.hasJudge('lebu')){
player.maxHp-nh-2;
num+=player.maxHp-player.countCards('h')+0.5;
}
else{
num+=_status.event.n2*2;
if(target.isDamaged()){
if(target.hp==1){
num+=3;
}
else if(target.hp==2){
num+=2;
}
else{
num+=0.5;
}
}
return player.maxHp-nh;
}
if(target.hp==target.maxHp){
return att/10;
if(target.hasJudge('lebu')){
num/=2;
}
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;
});
return num;
}).set('n2',player.storage.yinbing.length);
'step 1'
if(result.bool){
player.line(result.targets[0],'green');

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[
'1.9.15',
'1.9.20',
'image/background/huangtian_bg.jpg',
'image/background/september_bg.jpg',
'image/background/shengshi_bg.jpg',

View File

@ -1,8 +1,8 @@
window.noname_update={
version:'1.9.19.1',
version:'1.9.20',
update:'1.9.19',
changeLog:[
'bug修复',
'忠胆英杰',
],
files:[
'game/game.js',
@ -11,7 +11,8 @@ window.noname_update={
// 'game/source.js',
// 'game/asset.js',
// 'card/*',
// 'card/swd.js',
'card/sp.js',
'card/yunchou.js',
'character/*',
// 'character/sp.js',
// 'mode/boss.js',