This commit is contained in:
libccy 2016-05-28 09:47:22 +08:00
parent 1267f6b249
commit ac26950436
12 changed files with 55 additions and 21 deletions

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[
'1.8.6',
'1.8.7',
'image/background/huangtian_bg.jpg',
'image/background/shengshi_bg.jpg',
'image/background/xueji_bg.jpg',
@ -2225,6 +2225,12 @@ window.noname_asset_list=[
'theme/style/cardback/official.css',
'theme/style/cardback/wood.css',
'theme/style/cardback/new.css',
'theme/style/cardback/feicheng.css',
'theme/style/cardback/liusha.css',
'theme/style/cardback/image/feicheng.png',
'theme/style/cardback/image/feicheng2.png',
'theme/style/cardback/image/liusha.png',
'theme/style/cardback/image/liusha2.png',
'theme/style/cardback/image/new.png',
'theme/style/cardback/image/new2.png',
'theme/style/cardback/image/official.png',

View File

@ -324,16 +324,6 @@ window.config={
dierestart:true
},
},
game_intro:{
identity:'主公:消灭所有的反贼和内奸,平定天下。<br/>忠臣:不惜一切保护主公,胜利条件与主公相同。'+
'<br/>反贼:杀死主公,推翻统治。<br/>内奸:前期在保护主公的情况下除掉其他人,最后杀死主公成为生还者。',
guozhan:'当全场只剩下一种势力存活时,该势力的角色获胜',
versus:'',
infinity:'',
boss:'',
character_card_config:'',
},
current_mode:{},
customforbid:[],
forbid:[

View File

@ -645,7 +645,7 @@
wood:'木纹',
music:'音乐',
simple:'原版',
new:'新版'
new:'新版',
},
onclick:function(layout){
game.saveConfig('card_style',layout);
@ -664,6 +664,8 @@
music:'音乐',
official:'原版',
new:'新版',
feicheng:'废城',
liusha:'流沙',
},
onclick:function(layout){
game.saveConfig('cardback_style',layout);

View File

@ -93,6 +93,12 @@ window.noname_source_list=[
'theme/style/cardback/official.css',
'theme/style/cardback/wood.css',
'theme/style/cardback/new.css',
'theme/style/cardback/feicheng.css',
'theme/style/cardback/liusha.css',
'theme/style/cardback/image/feicheng.png',
'theme/style/cardback/image/feicheng2.png',
'theme/style/cardback/image/liusha.png',
'theme/style/cardback/image/liusha2.png',
'theme/style/cardback/image/new.png',
'theme/style/cardback/image/new2.png',
'theme/style/cardback/image/official.png',

View File

@ -1,11 +1,17 @@
window.noname_update={
version:'1.8.11',
version:'1.8.12',
changeLog:[
'单机2v2',
'扩展支持配音'
'新卡背',
],
files:{
global:['mode/versus.js','game/game.js','mode/stone.js','character/shenhua.js'],
'1.8.10.5':[],
global:[
'game/config.js',
'game/source.js',
'game/asset.js',
'game/game.js',
'mode/versus.js',
],
'1.8.11':[],
'1.8.12':[],
}
}

View File

@ -185,10 +185,7 @@ mode.versus={
else{
if(_status.mode=='two'){
_status.first_less=true;
var firstChoose=game.players.randomGet();
if(firstChoose.next.side==firstChoose.side){
firstChoose=firstChoose.next;
}
var firstChoose=_status.firstAct;
game.gameDraw(firstChoose);
if(get.config('replace_handcard_two')){
game.replaceHandcards(firstChoose.previous);
@ -541,6 +538,17 @@ mode.versus={
ref.next.side=bool2;
ref.next.next.side=!bool;
ref.previous.side=!bool2;
var firstChoose=game.players.randomGet();
if(firstChoose.next.side==firstChoose.side){
firstChoose=firstChoose.next;
}
_status.firstAct=firstChoose;
for(var i=0;i<4;i++){
firstChoose.node.name.innerHTML=get.verticalStr(get.cnNumber(i+1,true)+'号位');
firstChoose=firstChoose.next;
}
for(var i=0;i<game.players.length;i++){
if(game.players[i].side==game.me.side){
game.players[i].node.identity.firstChild.innerHTML='友';

View File

@ -0,0 +1,8 @@
.card:empty,.card.infohidden{
background: url('image/feicheng.png');
background-size: cover;
}
.card.infohidden:not(.infoflip){
background: url('image/feicheng2.png');
background-size: cover;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

View File

@ -0,0 +1,8 @@
.card:empty,.card.infohidden{
background: url('image/liusha.png');
background-size: cover;
}
.card.infohidden:not(.infoflip){
background: url('image/liusha2.png');
background-size: cover;
}