This commit is contained in:
libccy 2015-09-17 18:04:55 +08:00
parent 926d643187
commit 507dcea9ea
14 changed files with 27 additions and 18 deletions

View File

@ -2,6 +2,7 @@
card.hearth={ card.hearth={
card:{ card:{
jihuocard:{ jihuocard:{
fullskin:true,
type:'basic', type:'basic',
enable:true, enable:true,
filterTarget:function(card,player,target){ filterTarget:function(card,player,target){
@ -22,6 +23,7 @@ card.hearth={
} }
}, },
zhaomingdan:{ zhaomingdan:{
fullskin:true,
type:'trick', type:'trick',
chongzhu:true, chongzhu:true,
enable:function(card,player){ enable:function(card,player){
@ -35,6 +37,7 @@ card.hearth={
}, },
content:function(){ content:function(){
target.discard(target.get('j')); target.discard(target.get('j'));
player.draw();
}, },
ai:{ ai:{
order:9.5, order:9.5,
@ -46,7 +49,7 @@ card.hearth={
for(var i=0;i<js.length;i++){ for(var i=0;i<js.length;i++){
var jj=js[i].viewAs?{name:js[i].viewAs}:js[i]; var jj=js[i].viewAs?{name:js[i].viewAs}:js[i];
if(jj.name=='zhaomingdan') num++; if(jj.name=='zhaomingdan') num++;
else if(js.length==1&&ai.get.effect(target,jj,target,player)>=0){ else if(js.length==1&&ai.get.effect(target,jj,target,target)>=0){
num--; num--;
} }
else{ else{
@ -58,7 +61,8 @@ card.hearth={
} }
} }
}, },
yexinglanghun:{ shijieshu:{
fullskin:true,
enable:true, enable:true,
type:'trick', type:'trick',
filterTarget:function(card,player,target){ filterTarget:function(card,player,target){
@ -121,6 +125,7 @@ card.hearth={
} }
}, },
shandianjian:{ shandianjian:{
fullskin:true,
type:'trick', type:'trick',
enable:true, enable:true,
filterTarget:function(card,player,target){ filterTarget:function(card,player,target){
@ -207,6 +212,7 @@ card.hearth={
} }
}, },
shihuawuqi:{ shihuawuqi:{
fullskin:true,
type:'basic', type:'basic',
enable:true, enable:true,
usable:1, usable:1,
@ -265,6 +271,7 @@ card.hearth={
} }
}, },
dunpaigedang:{ dunpaigedang:{
fullskin:true,
enable:true, enable:true,
type:'trick', type:'trick',
filterTarget:function(card,player,target){ filterTarget:function(card,player,target){
@ -285,6 +292,7 @@ card.hearth={
} }
}, },
chuansongmen:{ chuansongmen:{
fullskin:true,
type:'basic', type:'basic',
enable:true, enable:true,
discard:false, discard:false,
@ -321,13 +329,14 @@ card.hearth={
ai:{ ai:{
order:9.5, order:9.5,
value:7, value:7,
useful:2, useful:3,
result:{ result:{
target:1 target:1
} }
} }
}, },
tanshezhiren:{ tanshezhiren:{
fullskin:true,
type:'trick', type:'trick',
enable:function(){ enable:function(){
for(var i=0;i<game.players.length;i++){ for(var i=0;i<game.players.length;i++){
@ -373,6 +382,7 @@ card.hearth={
} }
}, },
xingjiegoutong:{ xingjiegoutong:{
fullskin:true,
type:'basic', type:'basic',
enable:true, enable:true,
selectTarget:-1, selectTarget:-1,
@ -411,7 +421,7 @@ card.hearth={
content:function(){ content:function(){
var num=player.num('h')-target.num('h'); var num=player.num('h')-target.num('h');
if(num<1) num=1; if(num<1) num=1;
if(num>5) num=5; if(num>4) num=4;
target.draw(num); target.draw(num);
}, },
ai:{ ai:{
@ -431,6 +441,7 @@ card.hearth={
} }
}, },
zhiliaobo:{ zhiliaobo:{
fullskin:true,
enable:true, enable:true,
usable:1, usable:1,
filterTarget:function(card,player,target){ filterTarget:function(card,player,target){
@ -470,6 +481,7 @@ card.hearth={
} }
}, },
yuansuhuimie:{ yuansuhuimie:{
fullskin:true,
type:'trick', type:'trick',
enable:true, enable:true,
selectTarget:-1, selectTarget:-1,
@ -534,7 +546,7 @@ card.hearth={
shihuawuqi:{ shihuawuqi:{
mod:{ mod:{
attackFrom:function(from,to,distance){ attackFrom:function(from,to,distance){
return distance-2; return distance-1;
} }
} }
}, },
@ -542,7 +554,7 @@ card.hearth={
}, },
translate:{ translate:{
shenenshu:'神恩术', shenenshu:'神恩术',
shenenshu_info:'对一名其他角色使用令其摸X张牌直到手牌数与你相等X不小于1且不大于5', shenenshu_info:'对一名其他角色使用令其摸X张牌直到手牌数与你相等X不小于1且不大于4',
zhiliaobo:'治疗波', zhiliaobo:'治疗波',
zhiliaobo_info:'对一名受伤角色使用,令其回复一点体力,若其仍处于受伤状态,则进行一次判定,若结果为红色则再回复一点体力', zhiliaobo_info:'对一名受伤角色使用,令其回复一点体力,若其仍处于受伤状态,则进行一次判定,若结果为红色则再回复一点体力',
yuansuhuimie:'元素毁灭', yuansuhuimie:'元素毁灭',
@ -556,15 +568,15 @@ card.hearth={
dunpaigedang:'盾牌格挡', dunpaigedang:'盾牌格挡',
dunpaigedang_info:'获得一点护甲值,摸一张牌', dunpaigedang_info:'获得一点护甲值,摸一张牌',
siwangchanrao:'死亡缠绕', siwangchanrao:'死亡缠绕',
siwangchanrao_info:'弃置一名其他角色的一张手牌,若其此时没有手牌,则你摸一张牌', siwangchanrao_infox:'弃置一名其他角色的一张手牌,若其此时没有手牌,则你摸一张牌',
shihuawuqi:'石化武器', shihuawuqi:'石化武器',
shihuawuqi_info:'本回合内攻击范围+2;若你手牌中没有杀,则从牌堆中获得一张杀', shihuawuqi_infox:'本回合内攻击范围+1;若你手牌中没有杀,则从牌堆中获得一张杀',
shandianjian:'闪电箭', shandianjian:'闪电箭',
shandianjian_info:'目标角色展示一张手牌然后若你能弃掉一张与所展示牌相同花色的手牌则对该角色造成1点雷电伤害。', shandianjian_info:'目标角色展示一张手牌然后若你能弃掉一张与所展示牌相同花色的手牌则对该角色造成1点雷电伤害。',
yexinglanghun:'野性狼魂', shijieshu:'视界术',
yexinglanghun_info:'目标随机装备牌堆中的两张装备牌,使用者随机弃置一张手牌', shijieshu_info:'目标随机装备牌堆中的两张装备牌,使用者随机弃置一张手牌',
zhaomingdan:'照明弹', zhaomingdan:'照明弹',
zhaomingdan_info:'弃置一名其他角色判定区内的所有牌', zhaomingdan_info:'弃置一名其他角色判定区内的所有牌,然后摸一张牌',
jihuocard:'激活', jihuocard:'激活',
jihuocard_info:'跳过本回合的弃牌阶段,若你手牌数不大于当前体力值,则摸一张牌', jihuocard_info:'跳过本回合的弃牌阶段,若你手牌数不大于当前体力值,则摸一张牌',
}, },
@ -579,12 +591,9 @@ card.hearth={
['diamond',2,'chuansongmen'], ['diamond',2,'chuansongmen'],
['heart',2,'chuansongmen'], ['heart',2,'chuansongmen'],
['club',3,'dunpaigedang'], ['club',3,'dunpaigedang'],
['club',1,'siwangchanrao'], ['club',3,'shandianjian','thunder'],
['club',3,'shihuawuqi'], ['spade',1,'shandianjian','thunder'],
['spade',10,'shihuawuqi'], ['spade',7,'shijieshu'],
['club',3,'shandianjian'],
['spade',1,'shandianjian'],
['spade',7,'yexinglanghun'],
['diamond',5,'zhaomingdan'], ['diamond',5,'zhaomingdan'],
['heart',10,'zhaomingdan'], ['heart',10,'zhaomingdan'],
['diamond',2,'jihuocard'], ['diamond',2,'jihuocard'],

View File

@ -369,7 +369,7 @@ card.swd={
zhufangshenshi:{ zhufangshenshi:{
fullskin:true, fullskin:true,
chongzhu:true, chongzhu:true,
type:'basic', type:'trick',
enable:function(){ enable:function(){
return game.players.length>2; return game.players.length>2;
}, },

BIN
image/card/chuansongmen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
image/card/dunpaigedang.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
image/card/jihuocard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
image/card/shandianjian.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 30 KiB

BIN
image/card/shihuawuqi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
image/card/shijieshu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
image/card/tanshezhiren.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
image/card/yuansuhuimie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
image/card/zhaomingdan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
image/card/zhiliaobo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB