This commit is contained in:
parent
4216bfb835
commit
9bf1c0b099
23
game/game.js
23
game/game.js
|
@ -6157,16 +6157,16 @@
|
||||||
}
|
}
|
||||||
if(!lib.config.touchscreen){
|
if(!lib.config.touchscreen){
|
||||||
document.addEventListener('mousewheel',ui.click.windowmousewheel,{passive:true});
|
document.addEventListener('mousewheel',ui.click.windowmousewheel,{passive:true});
|
||||||
document.addEventListener('mousemove',ui.click.windowmousemove);
|
document.onmousemove=ui.click.windowmousemove;
|
||||||
document.addEventListener('mousedown',ui.click.windowmousedown);
|
document.onmousedown=ui.click.windowmousedown;
|
||||||
document.addEventListener('mouseup',ui.click.windowmouseup);
|
document.onmouseup=ui.click.windowmouseup;
|
||||||
document.addEventListener('contextmenu',ui.click.right);
|
document.oncontextmenu=ui.click.right;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
document.addEventListener('touchstart',ui.click.touchconfirm);
|
document.addEventListener('touchstart',ui.click.touchconfirm);
|
||||||
document.addEventListener('touchstart',ui.click.windowtouchstart);
|
document.ontouchstart=ui.click.windowtouchstart;
|
||||||
document.addEventListener('touchend',ui.click.windowtouchend);
|
document.ontouchend=ui.click.windowtouchend;
|
||||||
document.addEventListener('touchmove',ui.click.windowtouchmove);
|
document.ontouchmove=ui.click.windowtouchmove;
|
||||||
}
|
}
|
||||||
if(!lib.device&&!lib.node){
|
if(!lib.device&&!lib.node){
|
||||||
window.onbeforeunload=function(){
|
window.onbeforeunload=function(){
|
||||||
|
@ -16683,7 +16683,8 @@
|
||||||
var info=lib.card[card[2]];
|
var info=lib.card[card[2]];
|
||||||
if(this.name){
|
if(this.name){
|
||||||
this.classList.remove('epic');
|
this.classList.remove('epic');
|
||||||
this.classList.remove('legend');
|
this.classList.remove('legend');
|
||||||
|
this.classList.remove('unique');
|
||||||
var subtype=get.subtype(this);
|
var subtype=get.subtype(this);
|
||||||
if(subtype){
|
if(subtype){
|
||||||
this.classList.remove(subtype);
|
this.classList.remove(subtype);
|
||||||
|
@ -16695,6 +16696,9 @@
|
||||||
else if(info.legend){
|
else if(info.legend){
|
||||||
this.classList.add('legend');
|
this.classList.add('legend');
|
||||||
}
|
}
|
||||||
|
else if(info.unique){
|
||||||
|
this.classList.add('unique');
|
||||||
|
}
|
||||||
var bg=card[2];
|
var bg=card[2];
|
||||||
if(info.cardimage){
|
if(info.cardimage){
|
||||||
bg=info.cardimage;
|
bg=info.cardimage;
|
||||||
|
@ -20252,6 +20256,9 @@
|
||||||
else if(content.epic){
|
else if(content.epic){
|
||||||
lib.card[content.name].epic=true;
|
lib.card[content.name].epic=true;
|
||||||
}
|
}
|
||||||
|
else if(content.unique){
|
||||||
|
lib.card[content.name].unique=true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
playAudio:function(str){
|
playAudio:function(str){
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
@ -3383,9 +3383,16 @@ div[data-decoration="bronze"]::after{
|
||||||
color: rgb(233, 131, 255);
|
color: rgb(233, 131, 255);
|
||||||
/*color: rgb(117,186,0);*/
|
/*color: rgb(117,186,0);*/
|
||||||
}
|
}
|
||||||
/*.card.fullskin.fire>.image{
|
.card.fullskin.gold>.name {
|
||||||
-webkit-filter:saturate(2);
|
color: white;
|
||||||
}*/
|
text-shadow: black 0 0 1px, rgba(0,0,0,0.5) 0 0 1px;
|
||||||
|
background: rgba(234, 158, 0, 0.6);
|
||||||
|
border: 1px solid rgb(134, 87, 1);
|
||||||
|
box-shadow: rgba(255, 149, 0, 0.4) 0 0 10px inset;
|
||||||
|
}
|
||||||
|
.card.fullskin.gold>.name2 {
|
||||||
|
color: rgb(255,235,59);
|
||||||
|
}
|
||||||
.card.fullskin>.info {
|
.card.fullskin>.info {
|
||||||
top: 8px;
|
top: 8px;
|
||||||
right: 6px;
|
right: 6px;
|
||||||
|
|
Loading…
Reference in New Issue