stone
This commit is contained in:
parent
1d1020bd6b
commit
735116974a
14
game/game.js
14
game/game.js
|
@ -226,7 +226,7 @@
|
||||||
},
|
},
|
||||||
show_splash:{
|
show_splash:{
|
||||||
name:'显示开始界面',
|
name:'显示开始界面',
|
||||||
init:true,
|
init:false,
|
||||||
},
|
},
|
||||||
game_speed:{
|
game_speed:{
|
||||||
name:'游戏速度',
|
name:'游戏速度',
|
||||||
|
@ -1742,7 +1742,7 @@
|
||||||
},
|
},
|
||||||
change_choice:{
|
change_choice:{
|
||||||
name:'开启换将卡',
|
name:'开启换将卡',
|
||||||
init:false,
|
init:true,
|
||||||
onclick:function(bool){
|
onclick:function(bool){
|
||||||
game.saveConfig('change_choice',bool,this._link.config.mode);
|
game.saveConfig('change_choice',bool,this._link.config.mode);
|
||||||
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
||||||
|
@ -1978,7 +1978,7 @@
|
||||||
},
|
},
|
||||||
change_choice:{
|
change_choice:{
|
||||||
name:'开启换将卡',
|
name:'开启换将卡',
|
||||||
init:false,
|
init:true,
|
||||||
onclick:function(bool){
|
onclick:function(bool){
|
||||||
game.saveConfig('change_choice',bool,this._link.config.mode);
|
game.saveConfig('change_choice',bool,this._link.config.mode);
|
||||||
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
||||||
|
@ -2134,7 +2134,7 @@
|
||||||
},
|
},
|
||||||
change_choice:{
|
change_choice:{
|
||||||
name:'开启换将卡',
|
name:'开启换将卡',
|
||||||
init:false,
|
init:true,
|
||||||
onclick:function(bool){
|
onclick:function(bool){
|
||||||
game.saveConfig('change_choice',bool,this._link.config.mode);
|
game.saveConfig('change_choice',bool,this._link.config.mode);
|
||||||
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
||||||
|
@ -2188,7 +2188,7 @@
|
||||||
},
|
},
|
||||||
change_choice:{
|
change_choice:{
|
||||||
name:'开启换将卡',
|
name:'开启换将卡',
|
||||||
init:false,
|
init:true,
|
||||||
onclick:function(bool){
|
onclick:function(bool){
|
||||||
game.saveConfig('change_choice',bool,this._link.config.mode);
|
game.saveConfig('change_choice',bool,this._link.config.mode);
|
||||||
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
||||||
|
@ -2419,7 +2419,7 @@
|
||||||
},
|
},
|
||||||
change_choice:{
|
change_choice:{
|
||||||
name:'开启换将卡',
|
name:'开启换将卡',
|
||||||
init:false,
|
init:true,
|
||||||
onclick:function(bool){
|
onclick:function(bool){
|
||||||
game.saveConfig('change_choice',bool,this._link.config.mode);
|
game.saveConfig('change_choice',bool,this._link.config.mode);
|
||||||
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
||||||
|
@ -2563,7 +2563,7 @@
|
||||||
},
|
},
|
||||||
change_choice:{
|
change_choice:{
|
||||||
name:'开启换将卡',
|
name:'开启换将卡',
|
||||||
init:false,
|
init:true,
|
||||||
onclick:function(bool){
|
onclick:function(bool){
|
||||||
game.saveConfig('change_choice',bool,this._link.config.mode);
|
game.saveConfig('change_choice',bool,this._link.config.mode);
|
||||||
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
if(!_status.event.parent.showConfig&&!_status.event.showConfig) return;
|
||||||
|
|
|
@ -69,6 +69,7 @@ mode.stone={
|
||||||
},
|
},
|
||||||
changeRage:function(num){
|
changeRage:function(num){
|
||||||
if(_status.mode!='deck') return;
|
if(_status.mode!='deck') return;
|
||||||
|
if(!_status.rageEnabled) return;
|
||||||
var popup=null;
|
var popup=null;
|
||||||
if(this.side==game.me.side){
|
if(this.side==game.me.side){
|
||||||
if(_status.friendRage<100){
|
if(_status.friendRage<100){
|
||||||
|
@ -1320,6 +1321,8 @@ mode.stone={
|
||||||
return uiintro;
|
return uiintro;
|
||||||
},220);
|
},220);
|
||||||
if(get.config('skill_bar')){
|
if(get.config('skill_bar')){
|
||||||
|
_status.rageEnabled=true;
|
||||||
|
|
||||||
ui.friendBar=ui.create.div('.skillbar.right.shadowed.playerbg',ui.arena);
|
ui.friendBar=ui.create.div('.skillbar.right.shadowed.playerbg',ui.arena);
|
||||||
ui.enemyBar=ui.create.div('.skillbar.left.shadowed.playerbg',ui.arena);
|
ui.enemyBar=ui.create.div('.skillbar.left.shadowed.playerbg',ui.arena);
|
||||||
// ui.friendBar.dataset.nature='metal';
|
// ui.friendBar.dataset.nature='metal';
|
||||||
|
|
Loading…
Reference in New Issue