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