This commit is contained in:
libccy 2016-05-29 11:20:57 +08:00
parent ff14ff4651
commit ac5b986afa
10 changed files with 156 additions and 29 deletions

View File

@ -45,6 +45,7 @@ character.hearth={
hs_anomalus:['male','wei',4,['mobao']],
hs_blingtron:['male','shu',3,['zengli','xiubu']],
hs_yogg:['male','wu',4,['kuangluan']],
hs_xialikeer:['female','wu',3,['duxin']],
hs_zhishigushu:['male','shu',4,['jiaohui']],
hs_zhanzhenggushu:['male','wei',6,['biri']],
@ -3513,7 +3514,109 @@ character.hearth={
}
},
},
cardType:{
hsmengjing:0.5,
hsbaowu:0.5,
hslingjian:0.5,
hsdusu:0.5,
hsshenqi:0.5,
},
card:{
hsdusu_xueji:{
type:'hsdusu',
fullimage:true,
vanish:true,
enable:true,
derivation:'hs_xialikeer',
filterTarget:true,
content:function(){
},
ai:{
order:5,
result:{
target:-1,
},
useful:[2,0.5],
value:[2,0.5],
}
},
hsdusu_kuyecao:{
type:'hsdusu',
fullimage:true,
vanish:true,
enable:true,
derivation:'hs_xialikeer',
filterTarget:true,
content:function(){
},
ai:{
order:5,
result:{
target:-1,
},
useful:[2,0.5],
value:[2,0.5],
}
},
hsdusu_huangxuecao:{
type:'hsdusu',
fullimage:true,
vanish:true,
enable:true,
derivation:'hs_xialikeer',
filterTarget:true,
content:function(){
},
ai:{
order:5,
result:{
target:-1,
},
useful:[2,0.5],
value:[2,0.5],
}
},
hsdusu_huoyanhua:{
type:'hsdusu',
fullimage:true,
vanish:true,
enable:true,
derivation:'hs_xialikeer',
filterTarget:true,
content:function(){
},
ai:{
order:5,
result:{
target:-1,
},
useful:[2,0.5],
value:[2,0.5],
}
},
hsdusu_shinancao:{
type:'hsdusu',
fullimage:true,
vanish:true,
enable:true,
derivation:'hs_xialikeer',
filterTarget:true,
content:function(){
},
ai:{
order:5,
result:{
target:-1,
},
useful:[2,0.5],
value:[2,0.5],
}
},
hslingjian_xuanfengzhiren:{
type:'hslingjian',
fullimage:true,
@ -4096,7 +4199,20 @@ character.hearth={
hs_nate:'纳特',
hs_shifazhe:'嗜法者',
hs_yogg:'尤格萨隆',
hs_xialikeer:'夏克里尔',
hsdusu:'毒素',
hsdusu_xueji:'血蓟',
hsdusu_xueji_info:'将一名角色区域内的所有牌返回其手牌',
hsdusu_shinancao:'石楠草',
hsdusu_shinancao_info:'令一名角色下一次造成的伤害+1',
hsdusu_kuyecao:'枯叶草',
hsdusu_kuyecao_info:'令一名角色获得技能潜行,直到其下一回合开始',
hsdusu_huoyanhua:'火焰花',
hsdusu_huoyanhua_info:'造成一点火焰伤害',
hsdusu_huangxuecao:'皇血草',
hsdusu_huangxuecao_info:'抽两张牌',
duxin:'毒心',
duxin_info:'锁定技,回合开始和结束阶段,你获得一张随机毒素牌',
hstuteng:'图腾',
kuangluan:'狂乱',
kuangluan2:'狂乱',
@ -4157,7 +4273,7 @@ character.hearth={
hslingjian_jinjilengdong:'紧急冷冻',
hslingjian_jinjilengdong_info:'令一名武将牌正面朝上的其他角色摸两张牌并翻面',
hslingjian_yinmilichang:'隐秘力场',
hslingjian_yinmilichang_info:'令一名其他角色获得技能隐身,直到其下一回合开始',
hslingjian_yinmilichang_info:'令一名其他角色获得技能潜行,直到其下一回合开始',
hslingjian_xingtigaizao:'型体改造',
hslingjian_xingtigaizao_info:'摸一张牌,本回合手牌上限-1',
hslingjian_shengxiuhaojiao:'生锈号角',
@ -4166,7 +4282,7 @@ character.hearth={
hslingjian_shijianhuisu_info:'令一名其他角色将其装备牌收回手牌',
hslingjian_chaofeng:'嘲讽',
hslingjian_chaofeng_info:'锁定技,若你的手牌数大于你的体力值,则只要你在任一其他角色的攻击范围内,该角色使用【杀】时便不能指定你以外的角色为目标',
hslingjian_yinshen:'隐身',
hslingjian_yinshen:'潜行',
hslingjian_yinshen_info:'锁定技,你不能成为其他角色的卡牌的目标',
shifa:'嗜法',

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[
'1.8.7',
'1.8.8',
'image/background/huangtian_bg.jpg',
'image/background/shengshi_bg.jpg',
'image/background/xueji_bg.jpg',
@ -38,6 +38,11 @@ window.noname_asset_list=[
'image/card/hongshui.png',
'image/card/hsbaowu_cangbaotu.jpg',
'image/card/hsbaowu_huangjinyuanhou.jpg',
'image/card/hsdusu_xueji.jpg',
'image/card/hsdusu_shinancao.jpg',
'image/card/hsdusu_kuyecao.jpg',
'image/card/hsdusu_huangxuecao.jpg',
'image/card/hsdusu_huoyanhua.jpg',
'image/card/hslingjian_zhongxinghujia',
'image/card/hslingjian_xuanfengzhiren',
'image/card/hslingjian_yinmilichang',
@ -466,6 +471,7 @@ window.noname_asset_list=[
'image/character/hs_wujiyuansu.jpg',
'image/character/hs_wuther.jpg',
'image/character/hs_wvelen.jpg',
'image/character/hs_xialikeer.jpg',
'image/character/hs_xsylvanas.jpg',
'image/character/hs_xuanzhuanjijia.jpg',
'image/character/hs_xuefashi.jpg',

View File

@ -73,6 +73,7 @@
arenaReady:[],
extensions:[],
inpile:[],
cardType:{},
characterDialogGroup:{
'收藏':function(name,capt){
return lib.config.favouriteCharacter.contains(name)?capt:null;
@ -22285,19 +22286,19 @@
var groupSort;
if(thisiscard){
groupSort=function(name){
if(lib.card[name[2]].type=='basic') return 0;
if(lib.card[name[2]].type=='stonecard') return -0.5;
if(lib.card[name[2]].type=='hsmengjing') return 0.3;
if(lib.card[name[2]].type=='hsbaowu') return 0.3;
if(lib.card[name[2]].type=='hslingjian') return 0.3;
if(lib.card[name[2]].type=='hsshenqi') return 0.3;
if(lib.card[name[2]].type=='stonecharacter') return -1;
if(lib.card[name[2]].type=='chess') return 1.5;
if(lib.card[name[2]].type=='trick') return 2;
if(lib.card[name[2]].type=='delay') return 3;
if(lib.card[name[2]].type=='equip') return 4;
if(lib.card[name[2]].type=='zhenfa') return 5;
return 6;
var type=lib.card[name[2]].type;
if(lib.cardType[type]){
return lib.cardType[type];
}
switch(type){
case 'basic':return 0;
case 'chess':return 1.5;
case 'trick':return 2;
case 'delay':return 3;
case 'equip':return 4;
case 'zhenfa':return 5;
default:return 6;
}
};
}
else{
@ -26993,18 +26994,18 @@
var func;
if(sort=='type_sort'){
func=function(card){
if(get.type(card)=='basic') return 2;
if(get.type(card)=='stonecard') return -0.5;
if(get.type(card)=='hsmengjing') return 0.5;
if(get.type(card)=='hsbaowu') return 0.5;
if(get.type(card)=='hslingjian') return 0.5;
if(get.type(card)=='hsshenqi') return 0.5;
if(get.type(card)=='stonecharacter') return 1;
if(get.type(card)=='chess') return 1.5;
if(get.type(card)=='trick') return -1;
if(get.type(card)=='delay') return -2;
if(get.type(card)=='equip') return -3;
return -4;
var type=get.type(card);
if(lib.cardType[type]){
return lib.cardType[type];
}
switch(type){
case 'basic':return 2;
case 'chess':return 1.5;
case 'trick':return -1;
case 'delay':return -2;
case 'equip':return -3;
default:return -4;
}
}
}
else if(sort=='suit_sort'){

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
image/card/hsdusu_xueji.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -1707,6 +1707,10 @@ mode.stone={
}
}
},
cardType:{
stonecard:-0.5,
stonecharacter:1
},
card:{
spell_siwangchanrao:{
type:'stonecard',