Merge pull request #962 from lieren2023/lieren2023-patch-4

部分洗具杯具修改(其余留作彩蛋)
This commit is contained in:
Spmario233 2024-02-16 23:52:05 +08:00 committed by GitHub
commit b882da3f1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -3413,11 +3413,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}; };
if(trigger.result.judge>0){ if(trigger.result.judge>0){
trigger.result.bool=true; trigger.result.bool=true;
trigger.player.popup('洗具'); trigger.player.popup('判定生效');
} }
if(trigger.result.judge<0){ if(trigger.result.judge<0){
trigger.result.bool=false; trigger.result.bool=false;
trigger.player.popup('杯具'); trigger.player.popup('判定失效');
} }
game.log(trigger.player,'的判定结果为',card); game.log(trigger.player,'的判定结果为',card);
trigger.direct=true; trigger.direct=true;

View File

@ -3339,14 +3339,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.addTempSkill('yanxi2'); player.addTempSkill('yanxi2');
var card2=result.links[0]; var card2=result.links[0];
if(card2==card){ if(card2==card){
player.popup('洗具'); player.popup('猜对了');
cards.remove(card2); cards.remove(card2);
player.$gain2(cards); player.$gain2(cards);
player.gain(cards,'log').gaintag.add('yanxi'); player.gain(cards,'log').gaintag.add('yanxi');
player.gain(card,target,'bySelf','give').gaintag.add('yanxi'); player.gain(card,target,'bySelf','give').gaintag.add('yanxi');
} }
else{ else{
player.popup('杯具'); player.popup('猜错了');
player.gain(card2,'gain2').gaintag.add('yanxi'); player.gain(card2,'gain2').gaintag.add('yanxi');
} }
}, },

View File

@ -6480,11 +6480,11 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}; };
if(trigger.result.judge>0){ if(trigger.result.judge>0){
trigger.result.bool=true; trigger.result.bool=true;
trigger.player.popup('洗具'); trigger.player.popup('改命成功');
} }
if(trigger.result.judge<0){ if(trigger.result.judge<0){
trigger.result.bool=false; trigger.result.bool=false;
trigger.player.popup('杯具'); trigger.player.popup('改命失败');
} }
game.log(trigger.player,'的判定结果为',card); game.log(trigger.player,'的判定结果为',card);
trigger.direct=true; trigger.direct=true;