diff --git a/card/hearth.js b/card/hearth.js index 158e26b73..43a6d02eb 100644 --- a/card/hearth.js +++ b/card/hearth.js @@ -128,9 +128,21 @@ game.import('card',function(lib,game,ui,get,ai,_status){ content:function(){ 'step 0' var cards=[]; + var subtype=null; for(var i=0;i<2;i++){ var card=get.cardPile(function(card){ - return get.type(card)=='equip'; + if(get.type(card)=='equip'){ + if(subtype){ + if(get.subtype(card)==subtype){ + return false; + } + } + else{ + subtype=get.subtype(card); + } + return true; + } + return false; }); if(card){ ui.special.appendChild(card); @@ -697,7 +709,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ shandianjian:'闪电箭', shandianjian_info:'目标角色展示一张手牌,然后若你能弃掉一张与所展示牌相同花色的手牌,则对该角色造成1点雷电伤害。', shijieshu:'视界术', - shijieshu_info:'目标从牌堆或弃牌堆中随机装备两张装备牌,然后弃置一张牌', + shijieshu_info:'目标从牌堆或弃牌堆中随机装备两张类别不同的装备牌,然后弃置一张牌', zhaomingdan:'照明弹', zhaomingdan_info:'观看一名其他角色的手牌,并弃置其区域内的一张牌,然后其与你各摸一张牌', jihuocard:'激活', diff --git a/card/swd.js b/card/swd.js index 3a167aa5b..b20404ca6 100644 --- a/card/swd.js +++ b/card/swd.js @@ -4309,7 +4309,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ var card=game.createCard(name); player.chooseTarget(function(card,player,target){ return !target.isMin()&&get.distance(player,target)<=1; - },'选择一个目标装备'+get.translation(card.name)).ai=function(target){ + },'选择一个目标装备'+get.translation(card.name),true).ai=function(target){ return get.effect(target,card,player,player); } event.card=card; @@ -4890,7 +4890,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ jiguan:0.45 }, help:{ - '轩辕剑':'