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){
|
||||
document.addEventListener('mousewheel',ui.click.windowmousewheel,{passive:true});
|
||||
document.addEventListener('mousemove',ui.click.windowmousemove);
|
||||
document.addEventListener('mousedown',ui.click.windowmousedown);
|
||||
document.addEventListener('mouseup',ui.click.windowmouseup);
|
||||
document.addEventListener('contextmenu',ui.click.right);
|
||||
document.onmousemove=ui.click.windowmousemove;
|
||||
document.onmousedown=ui.click.windowmousedown;
|
||||
document.onmouseup=ui.click.windowmouseup;
|
||||
document.oncontextmenu=ui.click.right;
|
||||
}
|
||||
else{
|
||||
document.addEventListener('touchstart',ui.click.touchconfirm);
|
||||
document.addEventListener('touchstart',ui.click.windowtouchstart);
|
||||
document.addEventListener('touchend',ui.click.windowtouchend);
|
||||
document.addEventListener('touchmove',ui.click.windowtouchmove);
|
||||
document.ontouchstart=ui.click.windowtouchstart;
|
||||
document.ontouchend=ui.click.windowtouchend;
|
||||
document.ontouchmove=ui.click.windowtouchmove;
|
||||
}
|
||||
if(!lib.device&&!lib.node){
|
||||
window.onbeforeunload=function(){
|
||||
|
@ -16683,7 +16683,8 @@
|
|||
var info=lib.card[card[2]];
|
||||
if(this.name){
|
||||
this.classList.remove('epic');
|
||||
this.classList.remove('legend');
|
||||
this.classList.remove('legend');
|
||||
this.classList.remove('unique');
|
||||
var subtype=get.subtype(this);
|
||||
if(subtype){
|
||||
this.classList.remove(subtype);
|
||||
|
@ -16695,6 +16696,9 @@
|
|||
else if(info.legend){
|
||||
this.classList.add('legend');
|
||||
}
|
||||
else if(info.unique){
|
||||
this.classList.add('unique');
|
||||
}
|
||||
var bg=card[2];
|
||||
if(info.cardimage){
|
||||
bg=info.cardimage;
|
||||
|
@ -20252,6 +20256,9 @@
|
|||
else if(content.epic){
|
||||
lib.card[content.name].epic=true;
|
||||
}
|
||||
else if(content.unique){
|
||||
lib.card[content.name].unique=true;
|
||||
}
|
||||
}
|
||||
},
|
||||
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(117,186,0);*/
|
||||
}
|
||||
/*.card.fullskin.fire>.image{
|
||||
-webkit-filter:saturate(2);
|
||||
}*/
|
||||
.card.fullskin.gold>.name {
|
||||
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 {
|
||||
top: 8px;
|
||||
right: 6px;
|
||||
|
|
Loading…
Reference in New Issue