This commit is contained in:
parent
4f1ade4ee7
commit
38f613bcfa
|
@ -756,6 +756,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
if(player.maxHp==1) return false;
|
||||
var list=player.getEnemies();
|
||||
for(var i=0;i<list.length;i++){
|
||||
if(list[i].isMin()) continue;
|
||||
if(list[i].getStockSkills().length) return true;
|
||||
}
|
||||
},
|
||||
|
@ -767,7 +768,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
|||
content:function(){
|
||||
var list=player.getEnemies();
|
||||
for(var i=0;i<list.length;i++){
|
||||
if(!list[i].getStockSkills().length){
|
||||
if(list[i].isMin()||!list[i].getStockSkills().length){
|
||||
list.splice(i--,1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4055,6 +4055,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.update();
|
||||
'step 1'
|
||||
lib.skill.gzbuqu.process(player);
|
||||
},
|
||||
ai:{
|
||||
mingzhi:true
|
||||
}
|
||||
},
|
||||
buqu:{
|
||||
|
|
|
@ -240,6 +240,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
check:function(event,player){
|
||||
return (get.attitude(player,event.source)<=0);
|
||||
},
|
||||
logTarget:'source',
|
||||
content:function(){
|
||||
"step 0"
|
||||
player.judge(function(card){
|
||||
|
|
|
@ -9,7 +9,7 @@ window.config={
|
|||
'zhuran','huatuo','swd_tuwei','hs_guldan','wangyi','caoang','swd_guyue','swd_rongshuang',
|
||||
'swd_jiangziya','guojia','re_guojia','shen_caocao','swd_qiner','caopi','hs_yngvar','guansuo',
|
||||
'gjqt_aruan','swd_hanluo','hs_anduin','swd_huanglei','yxs_yujix','yxs_luzhishen','swd_muyun','ow_tianshi',
|
||||
'pal_yuejinzhao','hs_antonidas'
|
||||
'pal_yuejinzhao','hs_antonidas','xushi','hs_lreno'
|
||||
],
|
||||
replacecharacter:{
|
||||
zhangjiao:'sp_zhangjiao',
|
||||
|
|
12
game/game.js
12
game/game.js
|
@ -11718,6 +11718,18 @@
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
if(att>0){
|
||||
var es=ui.selected.targets[0].getCards('e');
|
||||
var i;
|
||||
for(i=0;i<es.length;i++){
|
||||
if(!target.getEquip(get.subtype(es[i]))){
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(i==es.length){
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return -att*get.attitude(player,ui.selected.targets[0]);
|
||||
});
|
||||
next.set('multitarget',true);
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Binary file not shown.
Before Width: | Height: | Size: 223 KiB After Width: | Height: | Size: 224 KiB |
|
@ -59,7 +59,7 @@
|
|||
right: auto;
|
||||
}
|
||||
.player .equips{
|
||||
z-index: 4;
|
||||
/*z-index: 4;*/
|
||||
}
|
||||
|
||||
#arena:not(.chess).mobile .player[data-position='0']:not(.minskin)>.identity{
|
||||
|
|
|
@ -943,7 +943,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
mod:{
|
||||
globalTo:function(from,to,distance){
|
||||
if(game.hasPlayer(function(current){
|
||||
return current.hasSkill('heyi')&¤t.inline(to);
|
||||
return current.hasSkill('heyi')&¤t.inline(to)&¤t!=to;
|
||||
})){
|
||||
return distance+1;
|
||||
}
|
||||
|
@ -1759,6 +1759,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
if(player.identity!='unknown') return true;
|
||||
if(Math.random()<0.5) return true;
|
||||
var info=get.info(_status.event.skill);
|
||||
if(info&&info.ai&&info.ai.mingzhi==true) return true;
|
||||
if(info&&info.ai&&info.ai.maixie) return true;
|
||||
var group=lib.character[player.name1][1];
|
||||
var popu=get.population(lib.character[player.name1][1])
|
||||
|
|
|
@ -5277,7 +5277,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
stoneact:4,
|
||||
filterTarget:function(card,player,target){
|
||||
return target.isMin()&&target.side!=player.side;
|
||||
return target.isMin()&&target.side!=player.side&&target.countCards('h')<=1;
|
||||
},
|
||||
content:function(){
|
||||
target.getLeader().removeFellow(target);
|
||||
|
@ -10166,7 +10166,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
spell_jingshenkongzhi:'精神控制',
|
||||
spell_jingshenkongzhi_info:'将一名敌方随从吸收为己方',
|
||||
spell_anyingkuangluan:'暗影狂乱',
|
||||
spell_anyingkuangluan_info:'将一名敌方随从吸收为己方,并令其于下个回合结束后死亡',
|
||||
spell_anyingkuangluan_info:'将一名手牌数不超过1的敌方随从吸收为己方,并令其于下个回合结束后死亡',
|
||||
spell_anyingkuangluan_die:'暗影狂乱',
|
||||
spell_anyingkuangluan_die_info:'下个回合结束后死亡',
|
||||
spell_binghuan:'冰环',
|
||||
|
|
Loading…
Reference in New Issue