diff --git a/game/game.js b/game/game.js index aec7ac01c..7d49afe73 100644 --- a/game/game.js +++ b/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){ diff --git a/image/character/sunquan.jpg b/image/character/sunquan.jpg index c6f160b15..eb5c5fd5a 100644 Binary files a/image/character/sunquan.jpg and b/image/character/sunquan.jpg differ diff --git a/layout/default/layout.css b/layout/default/layout.css index 004f81225..8ac22a918 100644 --- a/layout/default/layout.css +++ b/layout/default/layout.css @@ -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;