diff --git a/character/gujian.js b/character/gujian.js index d9da5e958..bbf58193d 100644 --- a/character/gujian.js +++ b/character/gujian.js @@ -1259,8 +1259,12 @@ character.gujian={ } return false; }, + logTarget:'source', content:function(){ - player.discardPlayerCard(trigger.source,ai.get.buttonValue,'he',true); + var he=trigger.source.get('he'); + if(he.length){ + trigger.source.discard(he.randomGet()); + } player.storage.xuanning--; if(!player.storage.xuanning){ player.unmarkSkill('xuanning'); @@ -1641,7 +1645,7 @@ character.gujian={ liuguang:'流光', yangming:'养命', yangming2:'养命', - xuanning_info:'出牌阶段,你可以弃置一基本牌,获得至多3个玄凝标记。当你受到伤害时,若你有玄凝标记,你须弃置一个玄凝标记并弃置伤害来源一张牌', + xuanning_info:'出牌阶段,你可以弃置一基本牌,获得至多3个玄凝标记。当你受到伤害时,你失去一枚玄凝标记,伤害来源随机弃置一张牌', liuguang_info:'准备阶段,若你有玄凝标记,你可以弃置一枚玄凝标记,选择至多三名角色依次令其选择一项:弃置一张牌,或受到一点伤害,并终止流光结算', yangming_info:'出牌阶段,你可以弃置一张红色牌,并在下个出牌阶段结束时令距离1以内的任意名角色回复一点体力,在此之前不可再次发动', zhaolu:'朝露', diff --git a/character/swd.js b/character/swd.js index e45b82656..f01d41949 100644 --- a/character/swd.js +++ b/character/swd.js @@ -3758,7 +3758,7 @@ character.swd={ }, content:function(){ "step 0" - var next=player.chooseToDiscard('是否弃置两张手牌将'+get.translation(trigger.card)+'反弹?',2); + var next=player.chooseToDiscard(get.prompt('yihua',trigger.player),2); next.ai=function(card){ if(ai.get.effect(player,trigger.card)<0){ if(card.name=='liuxinghuoyu') return 7-ai.get.value(card); @@ -3766,7 +3766,7 @@ character.swd={ } return 0; } - next.logSkill='yihua'; + next.logSkill=['yihua',trigger.player]; "step 1" if(result.bool){ // player.discard(result.cards); @@ -6389,6 +6389,39 @@ character.swd={ } }, funiao:{ + enable:'phaseUse', + usable:1, + prepare:'give2', + filterTarget:function(card,player,target){ + if(player==target) return false; + return true; + }, + filter:function(event,player){ + return player.num('h')>0; + }, + filterCard:true, + check:function(card){ + if(card.name=='du') return 20; + return 7-ai.get.value(card); + }, + discard:false, + content:function(){ + target.gain(cards,player).delay=false; + player.draw(); + }, + ai:{ + result:{ + target:function(player,target){ + if(ui.selected.cards.length&&ui.selected.cards[0].name=='du'){ + return -1; + } + return 1; + }, + }, + order:2 + } + }, + funiao_old:{ enable:'phaseUse', discard:false, prepare:'give2', @@ -7432,7 +7465,8 @@ character.swd={ return !player.storage.duijue; }, filterTarget:function(card,player,target){ - return player!=target&&target!=game.zhu; + if(target.identity=='zhu') return false; + return player!=target; }, content:function(){ player.storage.duijue=true; @@ -7450,6 +7484,28 @@ character.swd={ player.storage.duijue3=target; player.addSkill('duijue3'); }, + duijueLoop:function(){ + 'step 0' + targets[0].phase(); + 'step 1' + if(targets[0].isDead()||targets[1].isDead()){ + event.goto(3); + } + else{ + targets[1].phase(); + } + 'step 2' + if(targets[0].isDead()||targets[1].isDead()){ + event.goto(3); + } + else{ + event.goto(0); + } + 'step 3' + for(var i=0;i.card.fullskin>.markcount.menubutton{ + background: url('wood3.png'); +} /*.player.current_action{ diff --git a/theme/simple/style.css b/theme/simple/style.css index 702b3c034..cfdcb8efb 100644 --- a/theme/simple/style.css +++ b/theme/simple/style.css @@ -132,6 +132,10 @@ body{ opacity: 0.3 !important; } +.player .marks>div:first-child>div{ + -webkit-filter: invert(0.8) sepia(1); +} + .fire{ color: rgb(255,119,63); }