parent
00809030e0
commit
e6142fb5be
|
@ -1219,10 +1219,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
if(result2.bool){
|
||||
const card=result2.cards[0];
|
||||
if(get.name(card,target)==event.result.card.name){
|
||||
player.popup('诿解成功');
|
||||
player.popup('洗具');
|
||||
stop=true;
|
||||
}
|
||||
else player.popup('诿解失败');
|
||||
else player.popup('杯具');
|
||||
}
|
||||
}
|
||||
if(!stop){
|
||||
|
@ -16624,7 +16624,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
return get.subtype(card)=='equip1';
|
||||
});
|
||||
if(!equip1){
|
||||
player.popup('连计失败');
|
||||
player.popup('杯具');
|
||||
game.log('牌堆中无装备');
|
||||
event.finish();
|
||||
return;
|
||||
|
|
|
@ -498,14 +498,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var count=trigger.player.countCards('h',card=>get.type2(card)==type);
|
||||
var guessedNum=event.guessedNum;
|
||||
if(count==guessedNum){
|
||||
player.popup('猜测正确','wood');
|
||||
player.popup('洗具');
|
||||
game.log(player,'猜测','#g正确');
|
||||
if(player.countMark('zhenfeng')<5) player.addMark('zhenfeng',1,false);
|
||||
player.draw(player.countMark('zhenfeng'));
|
||||
if(player.canUse('sha',trigger.player,false)) player.useCard({name:'sha',isCard:true},trigger.player);
|
||||
}
|
||||
else{
|
||||
player.popup('猜测错误','fire');
|
||||
player.popup('杯具');
|
||||
game.log(player,'猜测','#y错误');
|
||||
player.clearMark('zhenfeng');
|
||||
if(Math.abs(count-guessedNum)>1&&trigger.player.canUse('sha',player,false)){
|
||||
|
|
|
@ -3339,14 +3339,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
player.addTempSkill('yanxi2');
|
||||
var card2=result.links[0];
|
||||
if(card2==card){
|
||||
player.popup('猜对了');
|
||||
player.popup('洗具');
|
||||
cards.remove(card2);
|
||||
player.$gain2(cards);
|
||||
player.gain(cards,'log').gaintag.add('yanxi');
|
||||
player.gain(card,target,'bySelf','give').gaintag.add('yanxi');
|
||||
}
|
||||
else{
|
||||
player.popup('猜错了');
|
||||
player.popup('杯具');
|
||||
player.gain(card2,'gain2').gaintag.add('yanxi');
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue