This commit is contained in:
libccy 2015-12-15 13:22:47 +08:00
parent 47e689242e
commit 75b98028fb
3 changed files with 24 additions and 3 deletions

View File

@ -241,6 +241,7 @@ window.config={
modeconfig:false,
gameconfig:false,
appearence:false,
target_shake:true,
video:'20',
coin:0,

View File

@ -881,6 +881,20 @@
init:true,
unfrequent:true,
},
target_shake:{
name:'出牌抖动',
init:true,
unfrequent:true,
onclick:function(bool){
game.saveConfig('target_shake',bool);
if(bool){
ui.arena.classList.remove('no_target_shake');
}
else{
ui.arena.classList.add('no_target_shake');
}
}
},
button_press:{
name:'按钮效果',
init:true,
@ -12951,6 +12965,9 @@
if(lib.config.layout=='default'&&lib.config.hp_style=='official'){
ui.arena.classList.add('hpimage');
}
if(!lib.config.target_shake){
ui.arena.classList.add('no_target_shake');
}
ui.arena.dataset.name_font=lib.config.name_font||'xinwei';
ui.arena.dataset.identity_font=lib.config.identity_font||'huangcao';
ui.arena.dataset.global_font=lib.config.global_font||'default';
@ -17493,6 +17510,7 @@
},
auto:function(){
if(ui.auto.classList.contains('hidden')) return;
if(_status.paused2) return;
if(!_status.auto){
_status.auto=true;
// ui.auto.innerHTML='手动';

View File

@ -989,9 +989,11 @@ div:hover>.intro{opacity: 1;}
0 10px 10px -9px rgba(0,0,0,0.1),0 10px 0 -9px rgba(0,0,0,0.05);}*/
.selected,.target{/*transform: scale(1.05);*/}
/*.player.target{-webkit-filter:brightness(1.2)}*/
.target{transform: rotate(-3deg);
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px,rgba(255, 0, 0, 0.4) 0 0 5px, rgba(255, 0, 0, 0.5) 0 0 12px, rgba(255, 0, 0, 0.8) 0 0 15px !important}
.target2{transform: rotate(3deg);}
.target{box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px,rgba(255, 0, 0, 0.4) 0 0 5px, rgba(255, 0, 0, 0.5) 0 0 12px, rgba(255, 0, 0, 0.8) 0 0 15px !important}
#arena:not(.no_target_shake) .target{transform: rotate(-3deg);}
#arena:not(.no_target_shake) .target2{transform: rotate(3deg);}
.content>.config.line2{
transform:translateX(-5px);
}