This commit is contained in:
libccy 2017-05-01 14:19:34 +08:00
parent bc33bbd106
commit f2de67b11a
12 changed files with 47 additions and 5 deletions

View File

@ -846,7 +846,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
content:function(){ content:function(){
var list=[]; var list=[];
for(var i=0;i<2;i++){ for(var i=0;i<2;i++){
list.push(game.createCard('shan','red')); list.push(game.createCard('shan'));
} }
target.gain(list,'gain2'); target.gain(list,'gain2');
}, },

View File

@ -190,6 +190,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
audio:true, audio:true,
fullskin:true, fullskin:true,
type:'basic', type:'basic',
cardcolor:'red',
ai:{ ai:{
basic:{ basic:{
useful:[7,2], useful:[7,2],
@ -200,6 +201,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
tao:{ tao:{
fullskin:true, fullskin:true,
type:'basic', type:'basic',
cardcolor:'red',
enable:function(card,player){ enable:function(card,player){
return player.hp<player.maxHp; return player.hp<player.maxHp;
}, },
@ -767,6 +769,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
type:'trick', type:'trick',
enable:true, enable:true,
selectTarget:-1, selectTarget:-1,
cardcolor:'red',
filterTarget:function(card,player,target){ filterTarget:function(card,player,target){
return target==player; return target==player;
}, },

View File

@ -1779,6 +1779,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
enable:true, enable:true,
selectTarget:-1, selectTarget:-1,
reverseOrder:true, reverseOrder:true,
cardcolor:'black',
filterTarget:function(card,player,target){ filterTarget:function(card,player,target){
return target!=player; return target!=player;
}, },
@ -1838,6 +1839,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
enable:true, enable:true,
selectTarget:-1, selectTarget:-1,
reverseOrder:true, reverseOrder:true,
cardcolor:'red',
filterTarget:function(card,player,target){ filterTarget:function(card,player,target){
return target!=player; return target!=player;
}, },

View File

@ -713,6 +713,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
huoshan:{ huoshan:{
fullskin:true, fullskin:true,
type:'delay', type:'delay',
cardcolor:'red',
modTarget:function(card,player,target){ modTarget:function(card,player,target){
return lib.filter.judge(card,player,target); return lib.filter.judge(card,player,target);
}, },
@ -871,6 +872,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
type:'trick', type:'trick',
enable:true, enable:true,
filterTarget:true, filterTarget:true,
cardcolor:'red',
content:function(){ content:function(){
"step 0" "step 0"
if(target.countCards('he')<2){ if(target.countCards('he')<2){

View File

@ -6366,7 +6366,32 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
card:{ card:{
hsjixie_zhadan:{ hsjixie_zhadan:{
enable:true,
fullimage:true,
type:'hsjixie',
vanish:true,
derivation:'hs_pengpeng',
filterTarget:function(card,player,target){
return target==player;
},
modTarget:true,
selectTarget:-1,
cardcolor:'black',
content:function(){
var targets=target.getEnemies();
if(targets.length){
var target2=targets.randomGet();
target2.addExpose(0.2);
target2.damage('fire');
}
},
ai:{
value:8,
result:{
target:1
},
order:4,
}
}, },
hsqizhou_feng:{ hsqizhou_feng:{
type:'hsqizhou', type:'hsqizhou',
@ -7199,6 +7224,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hs_yinggencao:'萤根草', hs_yinggencao:'萤根草',
hs_zhihuanhua:'致幻花', hs_zhihuanhua:'致幻花',
hs_shirencao:'食人草', hs_shirencao:'食人草',
hs_fachaotuteng:'法潮图腾',
hs_huolituteng:'活力图腾',
hs_manyututeng:'蛮鱼图腾',
zhaochao:'招潮', zhaochao:'招潮',
zhaochao_info:'锁定技,结束阶段,你视为对一名随机敌人使用一张杀;若此杀被闪避,你视为对另一名随机敌人使用一张杀', zhaochao_info:'锁定技,结束阶段,你视为对一名随机敌人使用一张杀;若此杀被闪避,你视为对另一名随机敌人使用一张杀',

View File

@ -63,6 +63,7 @@ window.noname_asset_list=[
'image/card/hsdusu_kuyecao.jpg', 'image/card/hsdusu_kuyecao.jpg',
'image/card/hsdusu_huangxuecao.jpg', 'image/card/hsdusu_huangxuecao.jpg',
'image/card/hsdusu_huoyanhua.jpg', 'image/card/hsdusu_huoyanhua.jpg',
'image/card/hsjixie_zhadan.jpg',
'image/card/hsqizhou_feng.jpg', 'image/card/hsqizhou_feng.jpg',
'image/card/hsqizhou_huo.jpg', 'image/card/hsqizhou_huo.jpg',
'image/card/hsqizhou_shui.jpg', 'image/card/hsqizhou_shui.jpg',
@ -375,6 +376,7 @@ window.noname_asset_list=[
'image/character/hs_bolvar.jpg', 'image/character/hs_bolvar.jpg',
'image/character/hs_brann.jpg', 'image/character/hs_brann.jpg',
'image/character/hs_aedwin.jpg', 'image/character/hs_aedwin.jpg',
'image/character/hs_fachaotuteng.jpg',
'image/character/hs_finley.jpg', 'image/character/hs_finley.jpg',
'image/character/hs_fenjie.jpg', 'image/character/hs_fenjie.jpg',
'image/character/hs_fandral.jpg', 'image/character/hs_fandral.jpg',
@ -383,6 +385,7 @@ window.noname_asset_list=[
'image/character/hs_guldan.jpg', 'image/character/hs_guldan.jpg',
'image/character/hs_hemite.jpg', 'image/character/hs_hemite.jpg',
'image/character/hs_hudunren.jpg', 'image/character/hs_hudunren.jpg',
'image/character/hs_huolituteng.jpg',
'image/character/hs_hallazeal.jpg', 'image/character/hs_hallazeal.jpg',
'image/character/hs_huzhixiannv.jpg', 'image/character/hs_huzhixiannv.jpg',
'image/character/hs_jgarrosh.jpg', 'image/character/hs_jgarrosh.jpg',
@ -405,6 +408,7 @@ window.noname_asset_list=[
'image/character/hs_lrexxar.jpg', 'image/character/hs_lrexxar.jpg',
'image/character/hs_lrhonin.jpg', 'image/character/hs_lrhonin.jpg',
'image/character/hs_magni.jpg', 'image/character/hs_magni.jpg',
'image/character/hs_manyututeng.jpg',
'image/character/hs_malfurion.jpg', 'image/character/hs_malfurion.jpg',
'image/character/hs_malorne.jpg', 'image/character/hs_malorne.jpg',
'image/character/hs_malygos.jpg', 'image/character/hs_malygos.jpg',

View File

@ -23512,6 +23512,9 @@
noclick=true; noclick=true;
suit=null; suit=null;
} }
if(!suit&&lib.card[name].cardcolor){
suit=lib.card[name].cardcolor;
}
if(typeof suit!='string'){ if(typeof suit!='string'){
suit=['heart','diamond','club','spade'].randomGet(); suit=['heart','diamond','club','spade'].randomGet();
} }

View File

@ -10,9 +10,9 @@ window.noname_update={
// 'game/config.js', // 'game/config.js',
// 'game/source.js', // 'game/source.js',
// 'game/pressure.js', // 'game/pressure.js',
// 'game/asset.js', 'game/asset.js',
// 'card/*', 'card/*',
'card/swd.js', // 'card/swd.js',
// 'card/standard.js', // 'card/standard.js',
'character/*', 'character/*',
// 'character/rank.js', // 'character/rank.js',

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 909 KiB