1.9.9.8beta
This commit is contained in:
parent
340e498450
commit
4b6a88ff0c
|
@ -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
|
||||
}
|
||||
},
|
||||
|
|
12
game/game.js
12
game/game.js
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue