This commit is contained in:
parent
c0956670e7
commit
c555f9fcd6
|
@ -884,7 +884,14 @@ character.diy={
|
|||
"step 0"
|
||||
player.draw(2);
|
||||
"step 1"
|
||||
player.chooseToDiscard('hej',2,true);
|
||||
next=player.discardPlayerCard(player,'hej',2,true);
|
||||
next.ai=function(button){
|
||||
if(get.position(button.link)=='j') return 10;
|
||||
return -ai.get.value(button.link);
|
||||
};
|
||||
next.filterButton=function(button){
|
||||
return lib.filter.cardDiscardable(button.link,player);
|
||||
}
|
||||
},
|
||||
ai:{
|
||||
effect:{
|
||||
|
|
|
@ -31595,6 +31595,12 @@
|
|||
if(_status.clicked) return;
|
||||
if(ui.intro) return;
|
||||
_status.clicked=true;
|
||||
if(this.parentNode&&arguments[0]&&(this.parentNode.classList.contains('judges')||this.parentNode.classList.contains('marks'))){
|
||||
ui.click.touchpop();
|
||||
ui.click.intro.call(this,arguments[0]);
|
||||
_status.clicked=false;
|
||||
return;
|
||||
}
|
||||
var custom=_status.event.custom;
|
||||
if(custom.replace.card){
|
||||
custom.replace.card(this);
|
||||
|
|
|
@ -1593,7 +1593,9 @@ margin-bottom: 5px;
|
|||
#arena.selecting:not(.video) #me .card:not(.selectable)>.addinfo,
|
||||
#arena.selecting:not(.video) .dialog:not(.noselect) .button:not(.selectable):not(.noclick),
|
||||
.dead,.likedead{opacity: 0.6;}
|
||||
#arena.selecting:not(.video) .player[data-position='0'] .marks>.card:not(.selectable)>.image{
|
||||
#arena.selecting:not(.video) .player[data-position='0'] .marks>.card:not(.selectable)>.image,
|
||||
#arena.selecting:not(.video) .player[data-position='0'] .judges>.card:not(.selectable)>.image,
|
||||
#arena.selecting:not(.video) .player[data-position='0'] .judges>.card:not(.selectable)>.background{
|
||||
opacity: 1;
|
||||
}
|
||||
.unselectable:not(.selected):not(.removing){opacity: 0.6 !important}
|
||||
|
|
24
mode/boss.js
24
mode/boss.js
|
@ -3236,16 +3236,21 @@ mode.boss={
|
|||
},
|
||||
content:function(){
|
||||
"step 0"
|
||||
player.chooseToDiscard(2,'hj',function(card){
|
||||
if(ui.selected.cards.length==0) return true;
|
||||
if(get.position(ui.selected.cards[0])=='h'){
|
||||
var next=player.discardPlayerCard(player,2,'hj','是否一张手牌来弃置一张花色相同的判定牌?');
|
||||
next.filterButton=function(button){
|
||||
var card=button.link;
|
||||
if(!lib.filter.cardDiscardable(card,player)) return false;
|
||||
if(ui.selected.buttons.length==0) return true;
|
||||
if(get.position(ui.selected.buttons[0].link)=='h'){
|
||||
if(get.position(card)!='j') return false;
|
||||
}
|
||||
if(get.position(ui.selected.cards[0])=='j'){
|
||||
if(get.position(ui.selected.buttons[0].link)=='j'){
|
||||
if(get.position(card)!='h') return false;
|
||||
}
|
||||
return get.suit(card)==get.suit(ui.selected.cards[0])
|
||||
},'是否一张手牌来弃置一张花色相同的判定牌?').ai=function(card){
|
||||
return get.suit(card)==get.suit(ui.selected.buttons[0].link)
|
||||
};
|
||||
next.ai=function(button){
|
||||
var card=button.link;
|
||||
if(get.position(card)=='h'){
|
||||
return 11-ai.get.value(card);
|
||||
}
|
||||
|
@ -3253,11 +3258,8 @@ mode.boss={
|
|||
if(card.name=='bingliang') return 4;
|
||||
if(card.name=='guiyoujie') return 3;
|
||||
return 2;
|
||||
}
|
||||
"step 1"
|
||||
if(result.bool){
|
||||
player.logSkill('xiuluo');
|
||||
}
|
||||
};
|
||||
next.logSkill='xiuluo';
|
||||
}
|
||||
},
|
||||
shangshix2:{
|
||||
|
|
Loading…
Reference in New Issue