yunchou.js卡牌修复

This commit is contained in:
lieren2023 2024-02-16 22:17:48 +08:00 committed by GitHub
parent 33c7439149
commit d903907d7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 3 deletions

View File

@ -712,6 +712,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
type:'delay',
cardcolor:'red',
cardnature:'fire',
toself:true,
modTarget:function(card,player,target){
return lib.filter.judge(card,player,target);
},
@ -724,7 +725,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
selectTarget:[-1,-1],
judge:function(card){
if(get.suit(card)=='heart'&&get.number(card)>1&&get.number(card)<10) return -6;
return 0;
return 1;
},
judge2:function(result){
if(result.bool==false) return true;
return false;
},
effect:function(){
if(result.bool==false){
@ -764,6 +769,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
},
hongshui:{
type:'delay',
toself:true,
enable:function(card,player){
return player.canAddJudge(card);
},
@ -776,7 +782,11 @@ game.import('card',function(lib,game,ui,get,ai,_status){
selectTarget:[-1,-1],
judge:function(card){
if(get.suit(card)=='club'&&get.number(card)>1&&get.number(card)<10) return -3;
return 0;
return 1;
},
judge2:function(result){
if(result.bool==false) return true;
return false;
},
fullskin:true,
effect:function(){
@ -932,7 +942,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
huoshan:'火山',
huoshan_info:'出牌阶段对自己使用。若判定结果为红桃2~9则目标角色受到2点火焰伤害距离目标1以内的其他角色受到1点火焰伤害。若判定不为红桃2~9将之移动到下家的判定区里。',
hongshui:'洪水',
hongshui_info:'出牌阶段对自己使用。若判定结果为梅花2~9该角色随机弃置三张牌距离该角色为X的角色随机弃置3-X张牌若没有牌则失去1点体力。',
hongshui_info:'出牌阶段对自己使用。若判定结果为梅花2~9该角色随机弃置三张牌距离该角色为X的角色随机弃置3-X张牌若没有牌则失去1点体力。若判定不为梅花2~9将之移动到下家的判定区里。',
},
list:[
['heart',6,'huoshan','fire'],