diff --git a/character/extra.js b/character/extra.js index 15d1502d7..1cdb63532 100755 --- a/character/extra.js +++ b/character/extra.js @@ -517,7 +517,9 @@ character.extra={ trigger:{global:'dieAfter'}, forced:true, content:function(){ - player.loseHp(player.hp); + if(player.hp=2&&player.num('h')<=player.hp+1; - player.chooseTarget('是否发动放权?',function(card,player,target){ + player.chooseTarget('是否发动【放权】?',function(card,player,target){ return target!=player; }).ai=function(target){ if(!fang) return -1; @@ -877,7 +877,7 @@ character.shenhua={ }, content:function(){ "step 0" - var next=player.chooseToDiscard('he','是否发动悲歌?'); + var next=player.chooseToDiscard('he','是否发动【悲歌】?'); next.ai=ai.get.unuseful2; next.logSkill='beige'; "step 1" @@ -1957,7 +1957,7 @@ character.shenhua={ if(player==target&&get.subtype(card)=='equip2'){ if(ai.get.equipValue(card)<=8) return 0; } - if(target.num('e','2')) return; + if(target.get('e','2')) return; if(player.skills.contains('unequip')) return; if(get.tag(card,'respondShan')) return [0.5,0]; } @@ -2039,13 +2039,16 @@ character.shenhua={ if(player.storage.niepan) return false; }, content:function(){ + 'step 0' player.hp=Math.min(3,player.maxHp); player.discard(player.get('hej')); player.draw(3); player.unmarkSkill('niepan'); - if(player.classList.contains('linked')) player.link(); - if(player.classList.contains('turnedover')) player.turnOver(); player.storage.niepan=true; + 'step 1' + if(player.classList.contains('linked')) player.link(); + 'step 2' + if(player.classList.contains('turnedover')) player.turnOver(); }, ai:{ skillTagFilter:function(player){ @@ -2150,7 +2153,7 @@ character.shenhua={ }, content:function(){ "step 0" - player.chooseTarget([1,trigger.num],function(card,player,target){ + player.chooseTarget('是否发动【节命】?',[1,trigger.num],function(card,player,target){ return target.num('h')0; }, direct:true, + audio:2, content:function(){ 'step 0' player.chooseTarget('是否发动【绝地】?',function(card,player,target){ @@ -293,7 +295,7 @@ character.sp={ }, mumu:{ enable:'phaseUse', - // usable:1, + usable:1, filterCard:function(card,player,target){ return card.name=='sha'||(get.type(card,'trick')=='trick'&&get.color(card)=='black'); }, diff --git a/character/swd.js b/character/swd.js index 306078c62..fcbc3a566 100755 --- a/character/swd.js +++ b/character/swd.js @@ -851,7 +851,7 @@ character.swd={ "step 0" var save=false; if(ai.get.attitude(player,trigger.target)>2){ - if(player.num('h','shan')||player.num('e','2')|| + if(player.num('h','shan')||player.get('e','2')|| trigger.target.hp==1||player.hp>trigger.target.hp+1){ if(!trigger.target.num('h','shan')||trigger.target.num('h')'+ '主将杀死对方随从后获得一个额外的行动值并摸两张牌,杀死己方随从无惩罚,随从杀死随从无效果'+ '
  • 主将可重铸随从牌,但回合内总的重铸次数不能超过3,随从不能重铸任何牌(包括铁索等默认可以重铸的牌);若重铸的牌为随从牌或法术牌,则摸牌改为从牌库中获得一张法术牌'+ - '
  • 嘲讽:若一方阵营中有嘲讽角色,则同阵营的无嘲讽角色不以能成为杀或决斗的目标'+ + '
  • 嘲讽:若一方阵营中有嘲讽角色,则同阵营的无嘲讽角色不以能成为杀目标'+ '
  • 行动顺序为先主将后随从。主将或随从死亡后立即移出游戏,主将死亡后替补登场,替补登场时摸3+X张牌,X为对方存活的随从数,无替补时游戏结束' }, setPopped:function(node,func,width,height){ @@ -12461,7 +12544,7 @@ } } }, - asyncDraw:function(players,num){ + asyncDraw:function(players,num,drawDeck){ for(var i=0;i.card>.info>span, border-radius:6px; transition: opacity 0.3s; } +#window.reduce_radius>.dialog.popped{ + border-radius:4px; +} #window>.dialog.popped>.bar{ display:none !important; } @@ -723,6 +726,10 @@ margin-bottom: 5px; background: rgba(63, 119, 173,1); border: 1px solid rgba(31, 82, 131, 1); } +.hp.actcount>div.overflow:not(.lost){ + background: rgb(162, 162, 162); + border: 1px solid rgb(117, 117, 117); +} .hp.actcount>.lost{ background: rgba(63, 119, 173,1); border: 1px solid rgba(31, 82, 131, 1); @@ -881,7 +888,7 @@ margin-bottom: 5px; animation: dialog_start2 0.3s; -webkit-animation: dialog_start2 0.3s; } -.dialog.removing{top: 100px} +/*.dialog.removing{top: 100px}*/ .card.drawing{ animation: drawing 1s; animation-fill-mode: forwards; @@ -920,6 +927,9 @@ margin-bottom: 5px; left:10px; background-size:cover; } +#window.reduce_radius #me>.fakeme.avatar{ + border-radius:4px; +} .card.removing{transform:scale(0);} #me>div>div>.card.removing{margin-left: -52px;margin-right: -52px;} @@ -1042,6 +1052,9 @@ div:hover>.intro{opacity: 1;} box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px; border-radius:8px; } +#window.reduce_radius .shadowed{ + border-radius: 4px; +} .underline,.underlinenode{ padding:3px; width:auto; @@ -1093,6 +1106,18 @@ div:hover>.intro{opacity: 1;} #arena[data-identity_font='huangcao'] .player .identity>div{ font-family: 'huangcao','xinwei'; } + + +#arena[data-cardtext_font='xiaozhuan'] .card div:not(.info):not(.background){ + font-family: 'xiaozhuan'; +} +#arena[data-cardtext_font='xinwei'] .card div:not(.info):not(.background){ + font-family: 'xinwei'; +} +#arena[data-cardtext_font='huangcao'] .card div:not(.info):not(.background){ + font-family: 'huangcao','xinwei'; +} + .player .identity>div{ margin: auto; position: relative; @@ -1430,6 +1455,11 @@ div:hover>.wunature{ border-radius:8px; min-height:240px; } +#window.reduce_radius .dialog.scroll1, +#window.reduce_radius .dialog.scroll2, +#window.reduce_radius .dialog.withbg{ + border-radius:4px; +} /*--------动画--------*/ @keyframes cardeffect{ diff --git a/layout/default/menu.css b/layout/default/menu.css index 8cfedd471..975dcbb51 100644 --- a/layout/default/menu.css +++ b/layout/default/menu.css @@ -428,6 +428,9 @@ top:0; position: absolute; } +#window.reduce_radius .menu-buttons>.new_character>.avatar>input{ + border-radius: 4px; +} .menu-buttons>.new_character>.avatar>.select_avatar{ font-family: 'xinwei'; font-size: 20px; @@ -545,11 +548,8 @@ .menubutton{ box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 3px 10px; - border-radius:8px; - background-image: linear-gradient(rgba(75,75,75,1), rgba(70,70,70,1)); -} -.menubutton{ border-radius:4px; + background-image: linear-gradient(rgba(75,75,75,1), rgba(70,70,70,1)); } .menubutton.active{ background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); diff --git a/layout/mobile/layout.css b/layout/mobile/layout.css index d2adebcb9..b2d6ba90d 100644 --- a/layout/mobile/layout.css +++ b/layout/mobile/layout.css @@ -25,7 +25,7 @@ width: calc(5000% / 47); left:calc(-150% / 47); top:auto; - border-radius:0; + border-radius:0 !important; height:120px; } #arena:not(.chess) #handcards1{ diff --git a/layout/mode/boss.css b/layout/mode/boss.css index 6ae3f9793..f470b03c5 100755 --- a/layout/mode/boss.css +++ b/layout/mode/boss.css @@ -75,10 +75,6 @@ top:auto; bottom:65px; height:calc(100% - 383px); - /*min-height: 207px;*/ - background: rgba(0,0,0,0.2); - box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px; - border-radius:8px; animation: dialog_start2 0.5s; -webkit-animation: dialog_start2 0.5s; } diff --git a/layout/mode/chess.css b/layout/mode/chess.css index f54bf20b2..2ff6d8409 100755 --- a/layout/mode/chess.css +++ b/layout/mode/chess.css @@ -61,6 +61,9 @@ box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px; border-radius:8px; } +#window.reduce_radius>.dialog{ + border-radius:4px; +} #arena>.dialog.slim:not(.center){ top:40px; } @@ -139,6 +142,10 @@ box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px; border-radius:8px; } +#window.reduce_radius .player.playergrid, +#window.reduce_radius .player.obstacle{ + border-radius:4px; +} .player.playerblank{ background: none; } diff --git a/layout/newlayout/global.css b/layout/newlayout/global.css index e51c35b5a..fdc776e7d 100644 --- a/layout/newlayout/global.css +++ b/layout/newlayout/global.css @@ -54,7 +54,7 @@ .player .actcount.hp{ top: 18px; left: 15px; - width: 130px; + width: 120px; bottom: auto; right: auto; text-align: left; @@ -76,6 +76,9 @@ .player.fullskin2 .avatar{ border-radius:8px 0 0 8px; } +#window.reduce_radius .player.fullskin2 .avatar{ + border-radius:4px 0 0 4px; +} .player.fullskin2 .avatar2{ top:10px; left:auto; @@ -381,7 +384,6 @@ .dialog.withbg{ background: rgba(0,0,0,0.2); box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px; - border-radius:8px; min-height:240px; } .dialog>.bar{ diff --git a/mode/boss.js b/mode/boss.js index ebe6bde3c..7500b0116 100755 --- a/mode/boss.js +++ b/mode/boss.js @@ -528,6 +528,7 @@ mode.boss={ dialog.classList.add('fixed'); ui.window.appendChild(dialog); dialog.classList.add('bosscharacter'); + dialog.classList.add('withbg'); // dialog.add('0/3'); dialog.add([list.slice(0,20),'character']); dialog.noopen=true; @@ -553,6 +554,7 @@ mode.boss={ _status.event.dialog=ui.create.dialog('选择参战角色','hidden'); ui.window.appendChild(_status.event.dialog); _status.event.dialog.classList.add('bosscharacter'); + _status.event.dialog.classList.add('withbg'); _status.event.dialog.classList.add('fixed'); // _status.event.dialog.add('0/3'); _status.event.dialog.add([list.slice(0,20),'character']); @@ -566,6 +568,7 @@ mode.boss={ }; event.dialogxx=ui.create.characterDialog(); event.dialogxx.classList.add('bosscharacter'); + event.dialogxx.classList.add('withbg'); event.dialogxx.classList.add('fixed'); ui.create.cheat2=function(){ _status.createControl=event.asboss; diff --git a/mode/guozhan.js b/mode/guozhan.js index 367690556..90dbf1837 100755 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -869,7 +869,7 @@ mode.guozhan={ if(from.identity==toidentity&&toidentity!='ye'){ return 4+difficulty; } - if(lib.character[from.name1][1]==toidentity){ + if(from.identity=='unknown'&&lib.character[from.name1][1]==toidentity){ if(get.totalPopulation(toidentity)+1<=get.population()/2) return 4+difficulty; } var groups=[]; @@ -902,7 +902,7 @@ mode.guozhan={ if(to==game.me) difficulty=(2-get.difficulty())*1.5; if(from==to) return 5+difficulty; if(from.identity==to.identity&&from.identity!='unknown'&&from.identity!='ye') return 5+difficulty; - if(lib.character[from.name1][1]==to.identity){ + if(from.identity=='unknown'&&lib.character[from.name1][1]==to.identity){ if(get.totalPopulation(to.identity)+1<=get.population()/2) return 4+difficulty; } var toidentity=to.identity; diff --git a/mode/identity.js b/mode/identity.js index ef9ba3088..5d2d0a5b0 100755 --- a/mode/identity.js +++ b/mode/identity.js @@ -326,7 +326,7 @@ mode.identity={ } } else if(game.me.identity=='nei'){ - if(get.population('fan')+get.population('zhu')+get.population('zhong')==0){ + if(game.players.length==1){ game.over(true); } else{ @@ -334,7 +334,8 @@ mode.identity={ } } else{ - if(get.population('fan')+get.population('zhong')>0&&game.zhu.classList.contains('dead')){ + if((get.population('fan')+get.population('zhong')>0||get.population('nei')>1)&& + game.zhu.classList.contains('dead')){ game.over(true); } else{ @@ -441,9 +442,33 @@ mode.identity={ } else{ identityList=lib.config.mode_config.identity.identity[game.players.length-2].slice(0); - if(get.config('player_number')=='8'&&get.config('double_nei')){ - identityList.remove('fan'); - identityList.push('nei'); + if(get.config('double_nei')){ + switch(get.config('player_number')){ + case '8': + identityList.remove('fan'); + identityList.push('nei'); + break; + case '7': + identityList.remove('zhong'); + identityList.push('nei'); + break; + case '6': + identityList.remove('fan'); + identityList.push('nei'); + break; + case '5': + identityList.remove('fan'); + identityList.push('nei'); + break; + case '4': + identityList.remove('zhong'); + identityList.push('nei'); + break; + case '3': + identityList.remove('fan'); + identityList.push('nei'); + break; + } } } @@ -995,7 +1020,7 @@ mode.identity={ if(from==to) return 10; if(from.ai.friend.contains(to)) return 5; if(get.population('fan')+get.population('zhong')>0) return 0; - return -1; + return -5; case 'fan': if(strategy==5) return Math.max(-1,situation); if(strategy==6) return Math.min(0,situation); diff --git a/mode/stone.js b/mode/stone.js index c91dc3056..99b0662c0 100755 --- a/mode/stone.js +++ b/mode/stone.js @@ -68,6 +68,10 @@ mode.stone={ } }, drawDeck:function(num,log){ + if(this.isMin()){ + this.draw(num,log); + return; + } if(!num){ num=1; } @@ -90,11 +94,29 @@ mode.stone={ else{ game.addVideo('updateActCount',this,[used,this.actcount,this.getActCount()]); } - for(var i=0;i<10;i++){ - if(this.actcount>this.node.actcount.childElementCount){ + var maxcount; + if(lib.config.layout=='default'||used=='outphase'||_status.currentPhase!=this){ + maxcount=this.actcount; + } + else{ + if(_status.video){ + maxcount=this.actcount-(current||0); + } + else{ + maxcount=this.actcount-this.getActCount(); + } + if(this.actcount>maxcount){ + maxcount=this.actcount; + } + if(maxcount>12){ + maxcount=12; + } + } + for(var i=0;i<12;i++){ + if(maxcount>this.node.actcount.childElementCount){ ui.create.div(this.node.actcount); } - else if(this.actcount=this.actcount){ + this.node.actcount.childNodes[i].classList.add('overflow'); + } + else{ + this.node.actcount.childNodes[i].classList.remove('overflow'); + } } else{ this.node.actcount.childNodes[i].classList.add('lost'); + this.node.actcount.childNodes[i].classList.remove('overflow'); } } } }, - hasFellowSkill:function(skill){ + hasFellowSkill:function(skill,exclude){ for(var i=0;i1) return target.hp; return 0; } @@ -3090,7 +3181,7 @@ mode.stone={ }, spell_xianzuzhaohuan:{ type:'stonecard', - stoneact:1, + stoneact:2, career:'shaman', fullimage:true, enable:true, @@ -3394,10 +3485,10 @@ mode.stone={ selectTarget:-1, content:function(){ if(player.hasFellowSkill('priest_hunwu')){ - target.loseHp(2); + target.loseHp(3); } else{ - target.recover(2); + target.recover(3); } }, ai:{ @@ -3633,7 +3724,7 @@ mode.stone={ stoneact:2, career:'hunter', enable:function(event,player){ - return player.getEnemy().countFellow()>0; + return player.getEnemy().countFellow()>0&&player.canAddFellow(); }, fullimage:true, filterTarget:function(card,player,target){ @@ -3951,7 +4042,7 @@ mode.stone={ fullimage:true, chongzhu:true, enable:function(event,player){ - return !player.skills.contains('druid_yexingchengzhang'); + return !player.skills.contains('druid_yexingchengzhang')&&!player.isMin(); }, stoneact:2, career:'druid', @@ -4488,6 +4579,14 @@ mode.stone={ if(player.canAddFellow()){ player.addFellowAuto('stone_xinbing'); } + 'step 2' + var equip1=get.cardPile(function(card){ + return get.subtype(card)=='equip1'; + }); + if(!equip1){ + equip1=game.createCard('qingnang'); + } + player.equip(equip1); }, ai:{ order:8.5, @@ -4613,7 +4712,7 @@ mode.stone={ multitarget:true, multiline:true, content:function(){ - game.asyncDraw(targets,3); + game.asyncDraw(targets,2); }, ai:{ order:5, @@ -5044,8 +5143,9 @@ mode.stone={ return target.isMin(); }, content:function(){ - target.gainMaxHp(2); - target.recover(2); + target.maxHp+=2; + target.hp+=2; + target.update(); target.draw(2); }, ai:{ @@ -5142,8 +5242,8 @@ mode.stone={ }, ai:{ order:7, - value:5, - useful:5, + value:1, + useful:1, result:{ target:function(player,target){ var ne1=target.num('e'),ne2=player.num('e'); @@ -5175,8 +5275,8 @@ mode.stone={ }, ai:{ order:1, - value:5, - useful:5, + value:1, + useful:1, result:{ target:function(player,target){ if(target.num('he')>=player.num('h')) return -1; @@ -5187,6 +5287,675 @@ mode.stone={ }, }, skill:{ + hunter_mishi:{ + trigger:{global:'fellow'}, + forced:true, + unique:true, + filter:function(event,player){ + return event.player.side==player.side&&event.source!=player; + }, + content:function(){ + player.draw(); + } + }, + hunter_muyang:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + filter:function(event,player){ + return player.getLeader().countFellow()>1&&player.getLeader().canAddFellow(); + }, + content:function(){ + var num=player.getLeader().countFellow()-1; + var list=[]; + for(var i in lib.character){ + if(lib.character[i][4].contains('stone')&& + !lib.character[i][4].contains('stonehidden')&& + lib.character[i][5]&&lib.character[i][5][0]==num){ + list.push(i); + } + } + var target=player.getLeader(); + if(list.length){ + target.addFellowAuto(list.randomGet()); + } + } + }, + hunter_juji:{ + unique:true + }, + hunter_dusha:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + content:function(){ + 'step 0' + var list=[]; + var target=player.getLeader(); + for(var i=0;i0; + }, + content:function(){ + "step 0" + event.chooser=player.getLeader(); + event.chooser.chooseToDiscard('是否弃置一张装备牌令'+get.translation(player)+'摸三张牌?', + 'he',function(card){ + return get.type(card)=='equip'; + }).ai=function(card){ + return 7-ai.get.value(card); + }; + "step 1" + if(result.bool){ + player.draw(3); + } + } + }, + rogue_jielue:{ + trigger:{global:'equipEnd'}, + unique:true, + forced:true, + filter:function(event,player){ + return event.player.side==player.side&&get.subtype(event.card)=='equip1'; + }, + content:function(){ + player.draw(2); + }, + ai:{ + threaten:1.3 + } + }, + rogue_fusheng:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + filter:function(event,player){ + for(var i=0;i1){ + return true; + } + } + }, + content:function(){ + var num=1; + for(var i=0;inum){ + num=game.players[i].hp; + } + } + player.hp=num; + player.maxHp=num; + player.update(); + } + }, + rogue_lifa:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + content:function(){ + 'step 0' + var target=player.getLeader(); + if(target.get('e','1')){ + target=target.getEnemy(); + player.line(target,'green'); + target.damage(); + } + else{ + player.line(target,'green'); + var equip1=get.cardPile(function(card){ + return get.subtype(card)=='equip1'; + }); + if(!equip1){ + equip1=game.createCard('qingnang'); + } + target.equip(equip1); + } + } + }, + rogue_shoudao:{ + trigger:{global:'phaseEnd'}, + forced:true, + direct:true, + filter:function(event,player){ + return event.player==player.getLeader()&&event.player.countFellow()>1; + }, + content:function(){ + 'step 0' + var players=get.players(); + var targets=[]; + for(var i=0;i1){ + return true; + } + } + return false; + }, + content:function(){ + "step 0" + var list=[]; + for(var i=0;i1){ + list.push(game.players[i]); + } + } + list.sort(lib.sort.seat); + event.list=list; + "step 1" + if(event.list.length){ + var current=event.list.shift(); + current.damage(2); + player.line(current,'green'); + event.redo(); + } + } + }, + paladin_tuxi:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + filter:function(event,player){ + var leader=player.getLeader(); + return leader.hp2){ + return ai.get.attitude(event.chooser,target)*(2-target.maxHp)/100; + } + return ai.get.attitude(event.chooser,target)*(2-target.hp); + }; + player.line(event.chooser); + "step 1" + if(result.bool){ + event.chooser.line(result.targets[0]); + result.targets[0].hp=2; + result.targets[0].maxHp=2; + result.targets[0].update(); + } + } + }, + paladin_baowei:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + filter:function(event,player){ + for(var i=0;i0&&player.getEnemy().hasFellow(); + }, + content:function(){ + 'step 0' + var num=player.getLeader().num('e'); + var map=[]; + var targets=player.getEnemy().getFellow(); + event.targets=targets; + for(var i=0;i1; + }, + content:function(){ + var target=player.getLeader(); + var num=target.countFellow(); + if(num>1){ + target.actused-=num-1; + target.updateActCount(); + } + } + }, + druid_qicheng:{ + trigger:{player:'dieBegin'}, + forced:true, + unique:true, + content:function(){ + player.getLeader().addSkill('druid_qicheng2'); + }, + ai:{ + threaten:0.8 + } + }, + druid_qicheng2:{ + trigger:{global:'dieAfter'}, + forced:true, + popup:false, + filter:function(event,player){ + return event.player.skills.contains('druid_qicheng'); + }, + content:function(){ + game.delay(); + var list=[]; + for(var i in lib.character){ + if(lib.character[i][4].contains('stone')&& + !lib.character[i][4].contains('stonehidden')&& + lib.character[i][5]&&lib.character[i][5][0]==1){ + list.push(i); + } + } + player.addFellowAuto(list.randomGet()); + player.removeSkill('druid_qicheng2'); + } + }, + druid_renya:{ + trigger:{source:'fellow'}, + forced:true, + unique:true, + content:function(){ + 'step 0' + player.getLeader().chooseControl('冲锋','潜行').ai=function(){ + if(Math.random()<0.5) return '潜行'; + return '冲锋'; + } + 'step 1' + if(result.control=='潜行'){ + player.maxHp++; + player.hp++; + player.update(); + player.addSkill('stone_qianxing'); + } + else{ + player.draw(); + player.addSkill('stone_chongfeng'); + if(player.isTurnedOver()){ + player.turnOver(); + } + } + } + }, + druid_yuehuo:{ + trigger:{global:'damageBegin'}, + forced:true, + unique:true, + filter:function(event){ + return event.card&&get.type(event.card)=='trick'&&event.notLink(); + }, + content:function(){ + trigger.num++; + }, + }, + + shaman_anhun:{ + trigger:{global:'dieAfter'}, + forced:true, + unique:true, + filter:function(event,player){ + return event.player.side==player.side; + }, + content:function(){ + player.line(player.getLeader(),'green'); + player.getLeader().drawDeck(); + } + }, + shaman_zoushi:{ + trigger:{global:'useCardAfter'}, + direct:true, + unique:true, + filter:function(event,player){ + return get.type(event.card)=='stonecharacter'&&event.player==player.getLeader(); + }, + content:function(){ + if(!player.storage.shaman_zoushi){ + player.storage.shaman_zoushi=true; + } + else{ + var list=[]; + for(var i=0;idiv>div,#mebg,.control,.player,.card,.avatar,.avatar2,.button,#window>.dialog.popped, .player.unseen .equips:not(*:empty),.menu,#splash>div, #arena.mobile:not(.chess) .player[data-position='0'] .equips{ @@ -10,6 +15,40 @@ html{ background-image: linear-gradient(#4b4b4b, #464646); border-radius: 8px; } + +#window.reduce_radius #system>div>div, +#window.reduce_radius #mebg, +#window.reduce_radius .control, +#window.reduce_radius .player, +#window.reduce_radius .card, +#window.reduce_radius .avatar, +#window.reduce_radius .avatar2, +#window.reduce_radius .button, +#window.reduce_radius #window>.dialog.popped, +#window.reduce_radius .player.unseen .equips:not(*:empty), +#window.reduce_radius .menu,#splash>div, +#window.reduce_radius.mobile:not(.chess) .player[data-position='0'] .equips{ + border-radius: 4px; +} + +body[data-background_color_music='blue'] #system>div>div, +body[data-background_color_music='blue'] #mebg, +body[data-background_color_music='blue'] .control, +body[data-background_color_music='blue'] .player, +body[data-background_color_music='blue'] .card, +body[data-background_color_music='blue'] .avatar, +body[data-background_color_music='blue'] .avatar2, +body[data-background_color_music='blue'] .button, +body[data-background_color_music='blue'] #window>.dialog.popped, +body[data-background_color_music='blue'] .player.unseen .equips:not(*:empty), +body[data-background_color_music='blue'] .menu,#splash>div, +body[data-background_color_music='blue'] #arena.mobile:not(.chess) .player[data-position='0'] .equips{ + background-image: linear-gradient(#6c7989, #434b55); +} + + + + /*.player.current_action{ background-image: linear-gradient(rgba(57, 123, 4,1), rgb(48, 103, 3)); }*/ diff --git a/theme/simple/style.css b/theme/simple/style.css index 1f2c667b8..170e161e3 100755 --- a/theme/simple/style.css +++ b/theme/simple/style.css @@ -21,6 +21,23 @@ body{ background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)); border-radius: 8px; } + +#window.reduce_radius #system>div>div, +#window.reduce_radius #mebg, +#window.reduce_radius .control, +#window.reduce_radius .player, +#window.reduce_radius .card, +#window.reduce_radius .avatar, +#window.reduce_radius .avatar2, +#window.reduce_radius .button, +#window.reduce_radius #window>.dialog.popped, +#window.reduce_radius .player.unseen .equips:not(*:empty), +#window.reduce_radius .menu,.menubutton, +#window.reduce_radius #splash>div, +#window.reduce_radius.mobile:not(.chess) .player[data-position='0'] .equips{ + border-radius: 4px; +} + /*.player.current_action{ background-image: linear-gradient(rgba(47,101,150,1), rgba(43, 90, 132,1)); }*/ diff --git a/theme/woodden/style.css b/theme/woodden/style.css index 4a107490e..3ce05a197 100755 --- a/theme/woodden/style.css +++ b/theme/woodden/style.css @@ -1,13 +1,35 @@ html{ color: white; text-shadow: black 0 0 2px; +} +body{ background: url('grid.png'),linear-gradient(#6c7989, #434b55) fixed; } +body[data-background_color_wood='black']{ + background: url('grid.png'),linear-gradient(#333333, #222222) fixed; +} #system>div>div,#mebg,.control,.player,.card,.avatar,.avatar2,.button,.dialog>.bar,.menu,#splash>div, #arena.mobile:not(.chess) .player[data-position='0'] .equips{ box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; border-radius: 8px; } + +#window.reduce_radius #system>div>div, +#window.reduce_radius #mebg, +#window.reduce_radius .control, +#window.reduce_radius .player, +#window.reduce_radius .card, +#window.reduce_radius .avatar, +#window.reduce_radius .avatar2, +#window.reduce_radius .button, +#window.reduce_radius .dialog>.bar, +#window.reduce_radius .menu, +#window.reduce_radius #splash>div, +#window.reduce_radius.mobile:not(.chess) .player[data-position='0'] .equips{ + border-radius: 4px; +} + + .menu.main>.menu-tab>div:not(.active):not(*:hover), .menu.main>.menu-tab>.disabled{ color: rgba(77, 60, 51,0.5);