diff --git a/character/standard.js b/character/standard.js index 678eeca73..87f1d1254 100644 --- a/character/standard.js +++ b/character/standard.js @@ -87,7 +87,6 @@ character.standard={ }, }, jianxiong:{ - trigger:{player:'damageEnd'}, filter:function(event,player){ return get.itemtype(event.cards)=='cards'&&get.position(event.cards[0])=='d'; @@ -107,7 +106,6 @@ character.standard={ } }, fankui:{ - trigger:{player:'damageEnd'}, direct:true, filter:function(event,player){ diff --git a/game/config.js b/game/config.js index ec4fea343..b7671bff9 100644 --- a/game/config.js +++ b/game/config.js @@ -170,6 +170,7 @@ window.config={ show_replay_config:'显示重来按钮', show_pause_config:'显示暂停按钮', show_wuxie_config:'显示不询问无懈', + show_discardpile_config:'暂停时显示弃牌堆', only_fullskin_config:'隐藏非全身皮肤', hide_card_image_config:'隐藏卡牌背景图', show_auto_config:'显示托管按钮', diff --git a/game/game.js b/game/game.js index 847b5c5fc..2ef583e35 100644 --- a/game/game.js +++ b/game/game.js @@ -1051,7 +1051,8 @@ window.play={}; for(var i=0;i=8&&get.type(card)!='equip')?-10:0; if(player==event.player){ - if(event.small){ + if(ai.get.attitude(player,to)>0&&event.small){ return -get.number(card)-ai.get.value(card)/2+addi; } return get.number(card)-ai.get.value(card)/2+addi; } - if(ai.get.attitude(player,_status.event.parent.player)>0){ - if(event.small){ - return get.number(card)-ai.get.value(card)/2+addi; + else{ + if(ai.get.attitude(player,to)>0&&!event.small){ + return -get.number(card)-ai.get.value(card)/2+addi; } - return -get.number(card)-ai.get.value(card)/2+addi; + return get.number(card)-ai.get.value(card)/2+addi; } - return get.number(card)-ai.get.value(card)/2+addi; } next.content=lib.element.playerproto.chooseToCompare; return next; @@ -4377,8 +4385,8 @@ window.play={}; return; } if(!event.revealed&&!get.info(event.skill).forced){ - if(game.versusSwapControl&&get.info(event.skill).direct&&player.isUnderControl()){ - game.versusSwapControl(player); + if(get.info(event.skill).direct&&player.isUnderControl()){ + game.modeSwapPlayer(player); event._result={bool:true}; } else if(get.info(event.skill).frequent&&!lib.config.autoskilllist.contains(event.skill)){ @@ -6825,6 +6833,7 @@ window.play={}; appearence.push(ui.create.switcher('show_auto',lib.config.show_auto,ui.click.sidebar.show_auto)); appearence.push(ui.create.switcher('show_volumn',lib.config.show_volumn,ui.click.sidebar.show_volumn)); appearence.push(ui.create.switcher('show_wuxie',lib.config.show_wuxie,ui.click.sidebar.show_wuxie)); + appearence.push(ui.create.switcher('show_discardpile',lib.config.show_discardpile,ui.click.sidebar.global)); appearence.push(ui.create.div('.placeholder')); appearence.push(ui.create.switcher('title',lib.config.title,ui.click.sidebar.title)); @@ -8538,10 +8547,12 @@ window.play={}; game.pause2(); var node=ui.create.pause().animate('start'); ui.sidebar3.innerHTML=''; - for(var i=0;i.card:not(*:empty){ color:rgb(77, 60, 51); text-shadow:none; background: url('wood3.png');