This commit is contained in:
parent
c548ec5d03
commit
7e595ebc2e
|
@ -14,9 +14,9 @@ window.noname_character_rank={
|
||||||
'gjqt_bailitusu',
|
'gjqt_bailitusu',
|
||||||
'swd_huanglei',
|
'swd_huanglei',
|
||||||
'hs_medivh',
|
'hs_medivh',
|
||||||
|
'pal_yuejinzhao',
|
||||||
],
|
],
|
||||||
ap:[
|
ap:[
|
||||||
'pal_yuejinzhao',
|
|
||||||
'ow_zhaliya',
|
'ow_zhaliya',
|
||||||
'pal_liumengli',
|
'pal_liumengli',
|
||||||
'pal_yuntianhe',
|
'pal_yuntianhe',
|
||||||
|
|
|
@ -2761,15 +2761,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
var num=0;
|
var num=0;
|
||||||
var players=game.filterPlayer();
|
var players=game.filterPlayer();
|
||||||
for(var i=0;i<players.length;i++){
|
for(var i=0;i<players.length;i++){
|
||||||
var att=get.attitude(player,players[i]);
|
|
||||||
var del=players[i].maxHp-players[i].hp;
|
var del=players[i].maxHp-players[i].hp;
|
||||||
if(get.is.altered('shouyin')) del=Math.min(2,del);
|
if(get.is.altered('shouyin')) del=Math.min(2,del);
|
||||||
if(att>0){
|
del/=Math.pow(1+players[i].hp,0.2);
|
||||||
num+=del;
|
num+=get.sgnAttitude(player,players[i])*del;
|
||||||
}
|
|
||||||
else if(att<0){
|
|
||||||
num-=del;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return num;
|
return num;
|
||||||
}
|
}
|
||||||
|
|
10
game/game.js
10
game/game.js
|
@ -42434,7 +42434,12 @@
|
||||||
gainableSkills:function(func){
|
gainableSkills:function(func){
|
||||||
var list=[];
|
var list=[];
|
||||||
for(var i in lib.character){
|
for(var i in lib.character){
|
||||||
if(lib.character[i][4]&&lib.character[i][4].contains('boss')) continue;
|
if(lib.character[i][4]){
|
||||||
|
if(lib.character[i][4].contains('boss')) continue;
|
||||||
|
if(lib.character[i][4].contains('hiddenboss')) continue;
|
||||||
|
if(lib.character[i][4].contains('minskin')) return true;
|
||||||
|
if(lib.character[i][4].contains('unseen')) return true;
|
||||||
|
}
|
||||||
for(var j=0;j<lib.character[i][3].length;j++){
|
for(var j=0;j<lib.character[i][3].length;j++){
|
||||||
var skill=lib.character[i][3][j];
|
var skill=lib.character[i][3][j];
|
||||||
var info=lib.skill[skill];
|
var info=lib.skill[skill];
|
||||||
|
@ -43705,6 +43710,9 @@
|
||||||
}
|
}
|
||||||
return att;
|
return att;
|
||||||
},
|
},
|
||||||
|
sgnAttitude:function(){
|
||||||
|
return get.sgn(get.attitude.apply(this,arguments));
|
||||||
|
},
|
||||||
useful:function(card){
|
useful:function(card){
|
||||||
if(get.position(card)=='j') return -1;
|
if(get.position(card)=='j') return -1;
|
||||||
if(get.position(card)=='e') return get.equipValue(card);
|
if(get.position(card)=='e') return get.equipValue(card);
|
||||||
|
|
Loading…
Reference in New Issue