This commit is contained in:
libccy 2016-06-08 09:43:10 +08:00
parent 2a9edf625f
commit 6f324c03b7
22 changed files with 112 additions and 15 deletions

View File

@ -37,7 +37,7 @@ card.hearth={
}, },
jihuocard:{ jihuocard:{
fullskin:true, fullskin:true,
type:'basic', type:'trick',
enable:true, enable:true,
filterTarget:function(card,player,target){ filterTarget:function(card,player,target){
return player==target; return player==target;

View File

@ -1,5 +1,27 @@
card.swd={ card.swd={
card:{ card:{
xingjunyan:{
fullskin:true,
type:'equip',
subtype:'equip5',
skills:['xingjunyan'],
ai:{
basic:{
equipValue:4
},
},
},
qinglonglingzhu:{
fullskin:true,
type:'equip',
subtype:'equip5',
skills:['qinglonglingzhu'],
ai:{
basic:{
equipValue:5
},
},
},
baihupifeng:{ baihupifeng:{
fullskin:true, fullskin:true,
type:"equip", type:"equip",
@ -614,6 +636,31 @@ card.swd={
}, },
}, },
skill:{ skill:{
qinglonglingzhu:{
trigger:{source:'damageEnd'},
direct:true,
filter:function(event,player){
return event.nature&&event.player&&event.player.isAlive();
},
content:function(){
player.gainPlayerCard('是否对'+get.translation(trigger.player)+'发动【青龙灵珠】?',trigger.player,function(button){
if(ai.get.attitude(player,trigger.player)<=0){
return ai.get.buttonValue(button);
}
return 0;
},'he').logSkill=['qinglonglingzhu',trigger.player];
},
},
xingjunyan:{
trigger:{source:'damageBegin',player:'damageBegin'},
forced:true,
filter:function(event,player){
return event.card&&event.card.name=='sha';
},
content:function(){
trigger.num++;
}
},
baihupifeng:{ baihupifeng:{
trigger:{player:'phaseEnd'}, trigger:{player:'phaseEnd'},
frequent:true, frequent:true,
@ -1091,6 +1138,10 @@ card.swd={
}, },
}, },
translate:{ translate:{
qinglonglingzhu:'青龙灵珠',
qinglonglingzhu_info:'每当你造成一次属性伤害,你可以获得对方的一张牌',
xingjunyan:'星君眼',
xingjunyan_info:'你的杀造成的伤害+1杀对你造成的伤害+1',
guiyanfadao:'鬼眼法刀', guiyanfadao:'鬼眼法刀',
guiyanfadao_bg:'眼', guiyanfadao_bg:'眼',
// guiyanfadao_info:'你可以将一张普通杀当毒杀使用', // guiyanfadao_info:'你可以将一张普通杀当毒杀使用',

17
character/ow.js Normal file
View File

@ -0,0 +1,17 @@
'use strict';
character.ow={
character:{
ow_liekong:['female','shu',3,[]],
// ow_heibaihe:['female','shu',3,[]],
ow_sishen:['female','shu',3,[]],
ow_tianshi:['female','shu',3,[]],
ow_falaozhiying:['female','shu',3,[]],
ow_zhixuzhiguang:['female','shu',3,[]],
ow_luxiao:['female','shu',3,[]],
ow_shibing:['female','shu',3,[]],
ow_yuanshi:['female','shu',3,[]],
// ow_mei:['female','shu',3,[]],
// ow_baolei:['female','shu',3,[]],
ow_chanyata:['female','shu',3,[]],
}
};

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[ window.noname_asset_list=[
'1.8.9', '1.8.10',
'image/background/huangtian_bg.jpg', 'image/background/huangtian_bg.jpg',
'image/background/shengshi_bg.jpg', 'image/background/shengshi_bg.jpg',
'image/background/xueji_bg.jpg', 'image/background/xueji_bg.jpg',
@ -86,6 +86,7 @@ window.noname_asset_list=[
'image/card/qilin.png', 'image/card/qilin.png',
'image/card/qinggang.png', 'image/card/qinggang.png',
'image/card/qinglong.png', 'image/card/qinglong.png',
'image/card/qinglonglingzhu.png',
'image/card/renwang.png', 'image/card/renwang.png',
'image/card/sadengjinhuan.png', 'image/card/sadengjinhuan.png',
'image/card/sanjian.png', 'image/card/sanjian.png',
@ -252,6 +253,7 @@ window.noname_asset_list=[
'image/card/wuzhong.png', 'image/card/wuzhong.png',
'image/card/xiangyuye.png', 'image/card/xiangyuye.png',
'image/card/xingjiegoutong.png', 'image/card/xingjiegoutong.png',
'image/card/xingjunyan.png',
'image/card/xixueguizhihuan.png', 'image/card/xixueguizhihuan.png',
'image/card/yihuajiemu.png', 'image/card/yihuajiemu.png',
'image/card/yiyi.png', 'image/card/yiyi.png',
@ -543,6 +545,15 @@ window.noname_asset_list=[
'image/character/nianshou.jpg', 'image/character/nianshou.jpg',
'image/character/niutou.jpg', 'image/character/niutou.jpg',
'image/character/old_zhonghui.jpg', 'image/character/old_zhonghui.jpg',
'image/character/ow_liekong.jpg',
'image/character/ow_sishen.jpg',
'image/character/ow_chanyata.jpg',
'image/character/ow_yuanshi.jpg',
'image/character/ow_zhixuzhiguang.jpg',
'image/character/ow_falaozhiying.jpg',
'image/character/ow_luxiao.jpg',
'image/character/ow_shibing.jpg',
'image/character/ow_tianshi.jpg',
'image/character/pal_changqing.jpg', 'image/character/pal_changqing.jpg',
'image/character/pal_hanlingsha.jpg', 'image/character/pal_hanlingsha.jpg',
'image/character/pal_jingtian.jpg', 'image/character/pal_jingtian.jpg',
@ -2388,7 +2399,6 @@ window.noname_skin_list={
xuzhu:1, xuzhu:1,
yangxiu:2, yangxiu:2,
yj_jushou:2, yj_jushou:2,
yuanshu:3,
yuanshu:4, yuanshu:4,
yuejin:3, yuejin:3,
yufan:1, yufan:1,

View File

@ -1425,7 +1425,7 @@
this.innerHTML='已隐藏'; this.innerHTML='已隐藏';
game.saveConfig('hiddenModePack',['stone','chess','boss']); game.saveConfig('hiddenModePack',['stone','chess','boss']);
game.saveConfig('hiddenCardPack',['zhenfa','yunchou','swd','shenqi','hearth','compensate']); game.saveConfig('hiddenCardPack',['zhenfa','yunchou','swd','shenqi','hearth','compensate']);
game.saveConfig('hiddenCharacterPack',['diy','yxs','hearth','swd','gujian','xianjian','xiake','boss']); game.saveConfig('hiddenCharacterPack',['diy','yxs','hearth','swd','gujian','xianjian','xiake','boss','ow']);
var that=this; var that=this;
setTimeout(function(){ setTimeout(function(){
that.innerHTML='隐藏非官方扩展包'; that.innerHTML='隐藏非官方扩展包';
@ -3397,7 +3397,16 @@
} }
} }
for(var i=0;i<extensionlist.length;i++){ for(var i=0;i<extensionlist.length;i++){
lib.init.js(lib.assetURL+'extension/'+extensionlist[i],'extension',extLoaded,extLoaded); lib.init.js(lib.assetURL+'extension/'+extensionlist[i],'extension',extLoaded,(function(i){
return function(){
game.removeExtension(i);
extToLoad--;
if(extToLoad==0){
delete window.game;
loadPack();
}
}
}(extensionlist[i])));
} }
} }
else{ else{
@ -5805,6 +5814,14 @@
event.finish(); event.finish();
} }
"step 3" "step 3"
if(event.logSkill&&event.result.bool&&!game.online){
if(typeof event.logSkill=='string'){
player.logSkill(event.logSkill);
}
else if(Array.isArray(event.logSkill)){
player.logSkill.apply(player,event.logSkill);
}
}
var cards=[]; var cards=[];
for(var i=0;i<event.result.links.length;i++){ for(var i=0;i<event.result.links.length;i++){
cards.push(event.result.links[i]); cards.push(event.result.links[i]);
@ -16090,6 +16107,9 @@
if(lib.node&&lib.node.fs){ if(lib.node&&lib.node.fs){
try{ try{
lib.node.fs.readdir(__dirname+'/extension/'+extname,function(err,list){ lib.node.fs.readdir(__dirname+'/extension/'+extname,function(err,list){
if(err){
return;
}
var removeFile=function(){ var removeFile=function(){
if(list.length){ if(list.length){
var filename=list.shift(); var filename=list.shift();

View File

@ -9,6 +9,7 @@ character.pack={
diy:'DIY', diy:'DIY',
yxs:'英雄杀', yxs:'英雄杀',
hearth:'炉石传说', hearth:'炉石传说',
ow:'守望先锋',
swd:'轩辕剑', swd:'轩辕剑',
gujian:'古剑奇谭', gujian:'古剑奇谭',
xianjian:'仙剑', xianjian:'仙剑',

View File

@ -18,6 +18,7 @@ window.noname_source_list=[
'character/guozhan.js', 'character/guozhan.js',
'character/hearth.js', 'character/hearth.js',
'character/jiange.js', 'character/jiange.js',
'character/ow.js',
'character/rank.js', 'character/rank.js',
'character/refresh.js', 'character/refresh.js',
'character/shenhua.js', 'character/shenhua.js',

View File

@ -1,21 +1,18 @@
window.noname_update={ window.noname_update={
version:'1.8.14.2', version:'1.8.15',
changeLog:[ changeLog:[
'修bug', '修bug',
], ],
files:{ files:{
global:[ global:[
'character/sp.js', 'character/ow.js',
'character/yijiang.js', 'card/swd.js',
'mode/guozhan.js', 'card/hearth.js',
'game/package.js',
'game/game.js', 'game/game.js',
'layout/default/layout.css', 'game/source.js',
'theme/woodden/style.css', 'game/asset.js',
'theme/simple/style.css',
'theme/music/style.css',
], ],
'1.8.14':[],
'1.8.14.1':[],
'1.8.14.2':[] '1.8.14.2':[]
} }
} }

BIN
image/card/qinglonglingzhu.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
image/card/xingjunyan.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

BIN
image/character/ow_mei.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB