diff --git a/character/yijiang.js b/character/yijiang.js index 33c10f6da..486dd53e9 100755 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -11532,6 +11532,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, miji:{ audio:2, + mod:{ + aiOrder:function(player,card,num){ + if(num>0&&_status.event&&_status.event.type==='phase'&&get.tag(card,'recover')){ + if(player.needsToDiscard()) return num/3; + return 0; + } + } + }, trigger:{player:'phaseJieshuBegin'}, filter:function(event,player){ return player.hp=player.maxHp-1) return [0,0]; + if(target.hp<=2&&get.tag(card,'damage')){ + var num=1; + if(get.itemtype(player)=='player'&&player.hasSkillTag('damageBonus',false,{ + target:target, + card:card + })&&!target.hasSkillTag('filterDamage',null,{ + player:player, + card:card + })) num=2; + if(target.hp>num) return [1,1]; + } } } }