Add files via upload

This commit is contained in:
Sukincen 2019-09-06 11:08:34 +08:00 committed by GitHub
parent b9efffcebb
commit 37d8902e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 184 additions and 7 deletions

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[ window.noname_asset_list=[
'1.9.92.2', '1.9.92.3',
'audio/background/aozhan_chaoming.mp3', 'audio/background/aozhan_chaoming.mp3',
'audio/background/aozhan_online.mp3', 'audio/background/aozhan_online.mp3',
'audio/background/music_danji.mp3', 'audio/background/music_danji.mp3',
@ -388,6 +388,10 @@ window.noname_asset_list=[
'audio/skill/yanjiao2.mp3', 'audio/skill/yanjiao2.mp3',
'audio/skill/xingshen1.mp3', 'audio/skill/xingshen1.mp3',
'audio/skill/xingshen2.mp3', 'audio/skill/xingshen2.mp3',
'audio/skill/weicheng1.mp3',
'audio/skill/weicheng2.mp3',
'audio/skill/daoshu1.mp3',
'audio/skill/daoshu2.mp3',
'audio/skill/anguo1.mp3', 'audio/skill/anguo1.mp3',
'audio/skill/anguo2.mp3', 'audio/skill/anguo2.mp3',
@ -1875,6 +1879,7 @@ window.noname_asset_list=[
'image/background/wangshi_bg.jpg', 'image/background/wangshi_bg.jpg',
'image/background/xiongxin_bg.jpg', 'image/background/xiongxin_bg.jpg',
'image/background/zhanyun_bg.jpg', 'image/background/zhanyun_bg.jpg',
'image/background/xinsha_bg.jpg',
'image/card/db_atk1.jpg', 'image/card/db_atk1.jpg',
'image/card/db_atk2.jpg', 'image/card/db_atk2.jpg',
@ -2546,6 +2551,7 @@ window.noname_asset_list=[
'image/character/huatuo.jpg', 'image/character/huatuo.jpg',
'image/character/huaxiong.jpg', 'image/character/huaxiong.jpg',
'image/character/jiangfei.jpg', 'image/character/jiangfei.jpg',
'image/character/jianggan.jpg',
'image/character/jiangqing.jpg', 'image/character/jiangqing.jpg',
'image/character/jiangwei.jpg', 'image/character/jiangwei.jpg',
'image/character/jianyong.jpg', 'image/character/jianyong.jpg',
@ -2618,6 +2624,7 @@ window.noname_asset_list=[
'image/character/mtg_lilianna.jpg', 'image/character/mtg_lilianna.jpg',
'image/character/mtg_nisha.jpg', 'image/character/mtg_nisha.jpg',
'image/character/mtg_qianzhuo.jpg', 'image/character/mtg_qianzhuo.jpg',
'image/character/nashime.jpg',
'image/character/nianshou.jpg', 'image/character/nianshou.jpg',
'image/character/niutou.jpg', 'image/character/niutou.jpg',
'image/character/ns_caocao.jpg', 'image/character/ns_caocao.jpg',
@ -2923,6 +2930,13 @@ window.noname_asset_list=[
'image/character/taishici.jpg', 'image/character/taishici.jpg',
'image/character/taoqian.jpg', 'image/character/taoqian.jpg',
'image/character/tianfeng.jpg', 'image/character/tianfeng.jpg',
'image/character/tw_beimihu.jpg',
'image/character/tw_caoang.jpg',
'image/character/tw_caohong.jpg',
'image/character/tw_dingfeng.jpg',
'image/character/tw_maliang.jpg',
'image/character/tw_xiahouba.jpg',
'image/character/tw_zumao.jpg',
'image/character/wangcan.jpg', 'image/character/wangcan.jpg',
'image/character/wangji.jpg', 'image/character/wangji.jpg',
'image/character/wanglang.jpg', 'image/character/wanglang.jpg',
@ -3069,6 +3083,63 @@ window.noname_asset_list=[
'image/character/zoushi.jpg', 'image/character/zoushi.jpg',
'image/character/zumao.jpg', 'image/character/zumao.jpg',
'image/character/zuoci.jpg', 'image/character/zuoci.jpg',
'image/emotion/shibing_emotion/1.gif',
'image/emotion/shibing_emotion/2.gif',
'image/emotion/shibing_emotion/3.gif',
'image/emotion/shibing_emotion/4.gif',
'image/emotion/shibing_emotion/5.gif',
'image/emotion/shibing_emotion/6.gif',
'image/emotion/shibing_emotion/7.gif',
'image/emotion/shibing_emotion/8.gif',
'image/emotion/shibing_emotion/9.gif',
'image/emotion/shibing_emotion/10.gif',
'image/emotion/shibing_emotion/11.gif',
'image/emotion/shibing_emotion/12.gif',
'image/emotion/shibing_emotion/13.gif',
'image/emotion/shibing_emotion/14.gif',
'image/emotion/shibing_emotion/15.gif',
'image/emotion/guojia_emotion/1.gif',
'image/emotion/guojia_emotion/2.gif',
'image/emotion/guojia_emotion/3.gif',
'image/emotion/guojia_emotion/4.gif',
'image/emotion/guojia_emotion/5.gif',
'image/emotion/guojia_emotion/6.gif',
'image/emotion/guojia_emotion/7.gif',
'image/emotion/guojia_emotion/8.gif',
'image/emotion/guojia_emotion/9.gif',
'image/emotion/guojia_emotion/10.gif',
'image/emotion/guojia_emotion/11.gif',
'image/emotion/guojia_emotion/12.gif',
'image/emotion/guojia_emotion/13.gif',
'image/emotion/guojia_emotion/14.gif',
'image/emotion/guojia_emotion/15.gif',
'image/emotion/guojia_emotion/16.gif',
'image/emotion/guojia_emotion/17.gif',
'image/emotion/guojia_emotion/18.gif',
'image/emotion/guojia_emotion/19.gif',
'image/emotion/guojia_emotion/20.gif',
'image/emotion/zhenji_emotion/1.gif',
'image/emotion/zhenji_emotion/2.gif',
'image/emotion/zhenji_emotion/3.gif',
'image/emotion/zhenji_emotion/4.gif',
'image/emotion/zhenji_emotion/5.gif',
'image/emotion/zhenji_emotion/6.gif',
'image/emotion/zhenji_emotion/7.gif',
'image/emotion/zhenji_emotion/8.gif',
'image/emotion/zhenji_emotion/9.gif',
'image/emotion/zhenji_emotion/10.gif',
'image/emotion/zhenji_emotion/11.gif',
'image/emotion/zhenji_emotion/12.gif',
'image/emotion/zhenji_emotion/13.gif',
'image/emotion/zhenji_emotion/14.gif',
'image/emotion/zhenji_emotion/15.gif',
'image/emotion/zhenji_emotion/16.gif',
'image/emotion/zhenji_emotion/17.gif',
'image/emotion/zhenji_emotion/18.gif',
'image/emotion/zhenji_emotion/19.gif',
'image/emotion/zhenji_emotion/20.gif',
'image/mode/boss/card/chixueqingfeng.jpg', 'image/mode/boss/card/chixueqingfeng.jpg',
'image/mode/boss/card/chiyanzhenhunqin.jpg', 'image/mode/boss/card/chiyanzhenhunqin.jpg',
'image/mode/boss/card/guilongzhanyuedao.jpg', 'image/mode/boss/card/guilongzhanyuedao.jpg',

View File

@ -14,7 +14,7 @@ window.config={
forbiddouble:['zhugedan','swd_kangnalishi','dongzhuo','wutugu','hs_siwangzhiyi','hs_ronghejuren','hs_shanlingjuren'], forbiddouble:['zhugedan','swd_kangnalishi','dongzhuo','wutugu','hs_siwangzhiyi','hs_ronghejuren','hs_shanlingjuren'],
forbidthreecard:['qiankunbiao','shenhuofeiya','gw_ciguhanshuang','gw_birinongwu','gw_qinpendayu','gw_poxiao'], forbidthreecard:['qiankunbiao','shenhuofeiya','gw_ciguhanshuang','gw_birinongwu','gw_qinpendayu','gw_poxiao'],
all:{ all:{
sgscharacters:['standard','shenhua','xinghuoliaoyuan','refresh','yijiang','sp','extra','old','mobile'], sgscharacters:['standard','shenhua','xinghuoliaoyuan','refresh','yijiang','sp','extra','old','mobile','tw'],
sgscards:['standard','extra','sp','guozhan'], sgscards:['standard','extra','sp','guozhan'],
sgsmodes:['identity','guozhan','versus','doudizhu','brawl','connect'], sgsmodes:['identity','guozhan','versus','doudizhu','brawl','connect'],
stockmode:['identity','guozhan','versus','boss','doudizhu','chess','stone','connect','brawl','tafang'], stockmode:['identity','guozhan','versus','boss','doudizhu','chess','stone','connect','brawl','tafang'],

View File

@ -45,6 +45,11 @@
ondb:[], ondb:[],
ondb2:[], ondb2:[],
chatHistory:[], chatHistory:[],
emotionList:{
shibing_emotion:15,
guojia_emotion:20,
zhenji_emotion:20,
},
arenaReady:[], arenaReady:[],
onfree:[], onfree:[],
inpile:[], inpile:[],
@ -9411,6 +9416,12 @@
qun:'群', qun:'群',
shen:'神', shen:'神',
western:'西', western:'西',
wei2:'魏国',
shu2:'蜀国',
wu2:'吴国',
qun2:'群雄',
shen2:'神将',
western2:'西方',
male:'男', male:'男',
female:'女', female:'女',
mad:'混乱', mad:'混乱',
@ -9459,6 +9470,10 @@
baiban:'白板', baiban:'白板',
_disableJudge:"判定区", _disableJudge:"判定区",
guojia_emotion:'郭嘉表情',
zhenji_emotion:'甄姬表情',
shibing_emotion:'士兵表情',
pause:'暂停', pause:'暂停',
config:'选项', config:'选项',
auto:'托管', auto:'托管',
@ -13656,7 +13671,7 @@
lib.skill[event.skill].onrespond(event,player); lib.skill[event.skill].onrespond(event,player);
} }
} }
else if(lib.config.show_card_prompt&&!lib.config.hide_card_prompt_basic){ else if(!event.nopopup&&lib.config.show_card_prompt&&!lib.config.hide_card_prompt_basic){
player.popup(card.name,'wood'); player.popup(card.name,'wood');
} }
if(cardaudio&&event.getParent(3).name=='useCard'){ if(cardaudio&&event.getParent(3).name=='useCard'){
@ -15354,6 +15369,7 @@
},this.playerid,str); },this.playerid,str);
}, },
say:function(str){ say:function(str){
str=str.replace(/##assetURL##/g,lib.assetURL);
var dialog=ui.create.dialog('hidden'); var dialog=ui.create.dialog('hidden');
dialog.classList.add('static'); dialog.classList.add('static');
dialog.add('<div class="text" style="word-break:break-all;display:inline">'+str+'</div>'); dialog.add('<div class="text" style="word-break:break-all;display:inline">'+str+'</div>');
@ -42237,6 +42253,72 @@
list.scrollTop=list.scrollHeight; list.scrollTop=list.scrollHeight;
}; };
uiintro._heightfixed=true; uiintro._heightfixed=true;
var emotionTitle=ui.create.div('.text.center','聊天表情');
emotionTitle.style.width='calc(100%)';
uiintro.add(emotionTitle);
var list1=ui.create.div('');
if(get.is.phoneLayout()){
list1.style.height='100px';
}
else{
list1.style.height='150px';
}
list1.style.overflow='scroll';
uiintro.add(list1);
uiintro.style.height=uiintro.content.offsetHeight+'px';
var list2=ui.create.div('');
if(get.is.phoneLayout()){
list2.style.height='100px';
}
else{
list2.style.height='150px';
}
list2.style.overflow='scroll';
uiintro.add(list2);
uiintro.style.height=uiintro.content.offsetHeight+'px';
for(var i in lib.emotionList){
var emotionPack=ui.create.div('.card.fullskin','<img src="'+lib.assetURL+'image/emotion/'+i+'/1.gif" width="50" height="50">',function(){
emotionTitle.innerHTML=get.translation(this.pack);
for(var j=1;j<=lib.emotionList[this.pack];j++){
var emotionButton=ui.create.div('.card.fullskin','<img src="'+lib.assetURL+'image/emotion/'+this.pack+'/'+j+'.gif" width="50" height="50">',function(){
var player=game.me;
var str='<img src="##assetURL##image/emotion/'+this.pack+'/'+this.emotionID+'.gif" width="50" height="50">';
if(!player){
if(game.connectPlayers){
if(game.online){
for(var i=0;i<game.connectPlayers.length;i++){
if(game.connectPlayers[i].playerid==game.onlineID){
player=game.connectPlayers[i];break;
}
}
}
else{
player=game.connectPlayers[0];
}
}
}
if(!player) return;
if(game.online){
game.send('chat',game.onlineID,str);
}
else{
lib.element.player.chat.call(player,str);
}
});
emotionButton.emotionID=j;
emotionButton.pack=this.pack;
emotionButton.style.height='50px';
emotionButton.style.width='50px';
list2.appendChild(emotionButton);
}
list1.delete();
uiintro.add(list2);
});
emotionPack.pack=i;
emotionPack.style.height='50px';
emotionPack.style.width='50px';
list1.appendChild(emotionPack);
}
return uiintro; return uiintro;
}, },
volumn:function(){ volumn:function(){
@ -46487,6 +46569,9 @@
if(str2.indexOf('SP')==0){ if(str2.indexOf('SP')==0){
str2=str2.slice(2); str2=str2.slice(2);
} }
else if(str2.indexOf('TW')==0){
str2=str2.slice(2);
}
else if(str2.indexOf('JSP')==0){ else if(str2.indexOf('JSP')==0){
str2=str2.slice(3); str2=str2.slice(3);
} }
@ -46513,6 +46598,9 @@
if(str2.indexOf('SP')==0){ if(str2.indexOf('SP')==0){
str2=str2.slice(2); str2=str2.slice(2);
} }
else if(str2.indexOf('TW')==0){
str2=str2.slice(2);
}
else if(str2.indexOf('JSP')==0){ else if(str2.indexOf('JSP')==0){
str2=str2.slice(3); str2=str2.slice(3);
} }
@ -46530,6 +46618,9 @@
if(str2.indexOf('SP')==0){ if(str2.indexOf('SP')==0){
str2=str2.slice(2); str2=str2.slice(2);
} }
else if(str2.indexOf('TW')==0){
str2=str2.slice(2);
}
else if(str2.indexOf('JSP')==0){ else if(str2.indexOf('JSP')==0){
str2=str2.slice(3); str2=str2.slice(3);
} }

View File

@ -10,6 +10,7 @@ window.noname_package={
mobile:'移动版', mobile:'移动版',
old:'怀旧', old:'怀旧',
diy:'DIY', diy:'DIY',
tw:'外服武将',
yxs:'英雄杀', yxs:'英雄杀',
hearth:'炉石传说', hearth:'炉石传说',
gwent:'昆特牌', gwent:'昆特牌',
@ -75,6 +76,7 @@ window.noname_package={
}, },
background:{ background:{
ol_bg:'龙纹', ol_bg:'龙纹',
xinsha_bg:'新杀',
zhulin_bg:'竹林', zhulin_bg:'竹林',
shengshi_bg:'盛世', shengshi_bg:'盛世',
taoyuan_bg:'桃园', taoyuan_bg:'桃园',

View File

@ -25,6 +25,7 @@ window.noname_source_list=[
'character/sp.js', 'character/sp.js',
'character/standard.js', 'character/standard.js',
'character/swd.js', 'character/swd.js',
'character/tw.js',
'character/xianjian.js', 'character/xianjian.js',
'character/xinghuoliaoyuan.js', 'character/xinghuoliaoyuan.js',
'character/yijiang.js', 'character/yijiang.js',

View File

@ -1,12 +1,24 @@
window.noname_update={ window.noname_update={
version:'1.9.92.2.1', version:'1.9.92.3',
update:'1.9.92.2', update:'1.9.92.2.1',
changeLog:[ changeLog:[
'聊天表情by 极光)',
'蒋干手杀台服武将一将成名TW',
'新杀background',
'BUG修复', 'BUG修复',
], ],
files:[ files:[
//'card/extra.js', 'character/refresh.js',
'character/mobile.js', 'character/shenhua.js',
'character/sp.js',
'character/standard.js',
'character/tw.js',
'character/xinghuoliaoyian.js',
'mode/guozhan.js',
'mode/versus.js',
'game/config.js',
'game/game.js', 'game/game.js',
'game/package.js',
'game/source.js',
] ]
}; };