This commit is contained in:
libccy 2017-02-16 16:50:09 +08:00
parent 0178efe55a
commit 25825453d8
3 changed files with 7 additions and 18 deletions

View File

@ -2360,7 +2360,7 @@ character.sp={
player.chooseTarget(true,function(card,player,target){
return player!=target;
}).set('ai',function(target){
return -ai.get.attitude(_status.event.player,target);
return -ai.get.attitude(_status.event.player,target)/Math.sqrt(1+target.hp);
});
}
else{
@ -5056,14 +5056,9 @@ character.sp={
}
}
target.gain(cards);
if(event.isMine()){
target.$draw(cards);
}
else{
target.$gain2(cards);
}
target.$gain2(cards);
if(target==game.me){
game.delay();
game.delayx();
}
}
},

View File

@ -123,7 +123,6 @@ character.xianjian={
yanzhan3:{
mod:{
cardRespondable:function(card,player){
console.log(_status.event.parent.skill,_status.event.parent.name)
if(_status.event.parent.skill=='yanzhan'&&
get.suit(card)!=get.suit(_status.event.parent.cards[0])) return false;
}

View File

@ -453,7 +453,7 @@ character.yxs={
return !player.hasSkill('tongyu_guiyin')&&!player.getStat('damage');
},
content:function(){
player.recover();
player.draw();
player.setAvatar('yxs_luobinhan','yxs_handingdun');
player.removeSkill('lguiyin');
player.removeSkill('sheshu');
@ -1218,14 +1218,9 @@ character.yxs={
}
}
target.gain(cards);
if(event.isMine()){
target.$draw(cards);
}
else{
target.$gain2(cards);
}
target.$gain2(cards);
if(target==game.me){
game.delay();
game.delayx();
}
}
},
@ -2693,7 +2688,7 @@ character.yxs={
tongyu:'统御',
tongyu_info:'出牌阶段,你可以弃置一张牌,并转变为罗宾汉(每回合只能转变一次)',
lguiyin:'归隐',
lguiyin_info:'出牌阶段,若你本回合内未造成伤害,你可以回复一点体力,并转变为汉丁顿伯爵(每回合只能转变一次)',
lguiyin_info:'出牌阶段,若你本回合内未造成伤害,你可以摸一张牌,并转变为汉丁顿伯爵(每回合只能转变一次)',
lzhangyi:'仗义',
lzhangyi_info:'你可以将你弃置的卡牌交给一名其他角色',
yizhuang:'易装',