diff --git a/character/standard.js b/character/standard.js index aa9d2f484..f0928597b 100755 --- a/character/standard.js +++ b/character/standard.js @@ -1459,6 +1459,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){ }, xinzhiheng:{ audio:'zhiheng', + mod:{ + aiOrder:function(player,card,num){ + if(num<=0||get.itemtype(card)!=='card'||get.type(card)!=='equip') return num; + let eq=player.getEquip(get.subtype(card)); + if(eq&&get.equipValue(card)-get.equipValue(eq)get.value(i)>Math.max(6,9-player.hp),'he')) return 1; + return 10; + }, result:{ player:1 }, + nokeep:true, + skillTagFilter:function(player,tag,arg){ + if(tag==='nokeep') return (!arg||arg&&arg.card&&get.name(arg.card)==='tao')&&player.isPhaseUsing()&&!player.getStat().skill.xinzhiheng&&player.hasCard((card)=>get.name(card)!=='tao','h'); + }, threaten:1.55 }, }, zhiheng:{ audio:2, audioname:['gz_jun_sunquan'], + mod:{ + aiOrder:function(player,card,num){ + if(num<=0||get.itemtype(card)!=='card'||get.type(card)!=='equip') return num; + let eq=player.getEquip(get.subtype(card)); + if(eq&&get.equipValue(card)-get.equipValue(eq)