1.9.9.8beta

This commit is contained in:
libccy 2017-02-27 11:50:47 +08:00
parent 340e498450
commit 4b6a88ff0c
2 changed files with 12 additions and 2 deletions

View File

@ -648,6 +648,7 @@ character.xianjian={
return event.player!=player&&event.player.num('h')>0&&player.num('h')>0;
},
check:function(event,player){
if(player.isUnseen()) return false;
if(ai.get.attitude(player,event.player)>=0) return false;
var hs=player.get('h');
if(hs.length<event.player.num('h')) return false;
@ -696,6 +697,7 @@ character.xianjian={
}
},
ai:{
mingzhi:false,
expose:0.2
}
},

View File

@ -12693,6 +12693,7 @@
}
}
}
return this;
},
markSkillCharacter:function(id,target,name,content){
if(typeof target=='object'){
@ -12734,8 +12735,15 @@
if(typeof name=='object'){
name=name.name;
}
if(!lib.character[name]) return this;
var node=ui.create.div('.card.mark.drawinghidden').setBackground(name,'character');
var node;
if(name.indexOf('unknown')==0){
node=ui.create.div('.card.mark.drawinghidden');
ui.create.div('.background.skillmark',node).innerHTML=get.translation(name)[0];
}
else{
if(!lib.character[name]) return;
node=ui.create.div('.card.mark.drawinghidden').setBackground(name,'character');
}
this.node.marks.insertBefore(node,this.node.marks.childNodes[1]);
node.name=name+'_charactermark';
if(!info){