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){ player.chooseTarget(true,function(card,player,target){
return player!=target; return player!=target;
}).set('ai',function(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{ else{
@ -5056,14 +5056,9 @@ character.sp={
} }
} }
target.gain(cards); target.gain(cards);
if(event.isMine()){ target.$gain2(cards);
target.$draw(cards);
}
else{
target.$gain2(cards);
}
if(target==game.me){ if(target==game.me){
game.delay(); game.delayx();
} }
} }
}, },

View File

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