This commit is contained in:
libccy 2017-05-31 23:56:06 +08:00
parent 138cf312b3
commit 53ca2c4404
5 changed files with 21 additions and 8 deletions

View File

@ -4349,6 +4349,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
liefeng:'冽风',
liefeng_info:'锁定技,当你在回合内使用第二张牌时,你本回合获得【炎斩】;当你在回合内使用第三张牌时,你本回合获得【天剑】;当你在回合内使用第四张牌时,你本回合获得【御风】',
yuexing:'越行',
yuexing2:'越行',
yuexing_info:'出牌阶段限一次,你可以指定一名角色,本阶段内将你与该角色到其他角色的距离基数互换',
lingdi:'灵笛',
lingdi_info:'出牌阶段你可以弃置一张本回合与此法弃置的牌花色均不同的手牌然后选择一名与你距离为X的角色与其各摸一张牌X为本回合发动灵笛的次数含此次',

View File

@ -34954,7 +34954,7 @@
_status.clicked2=true;
});
if(heightset){
dialog.style.height=(game.layout=='long2'?410:350)+'px';
dialog.style.height=(game.layout=='long2'?380:350)+'px';
dialog._scrollset=true;
}
dialog.getCurrentCapt=function(link,capt,noalph){
@ -39979,7 +39979,7 @@
ui.dialog.classList.add('scroll1');
ui.dialog.classList.add('scroll2');
if(game.layout!='default'){
ui.dialog.style.height=Math.min(height1,(game.layout=='long2'&&ui.arena.classList.contains('choose-character'))?410:350)+'px';
ui.dialog.style.height=Math.min(height1,(game.layout=='long2'&&ui.arena.classList.contains('choose-character'))?380:350)+'px';
ui.dialog._scrollset=true;
}
}

View File

@ -2318,11 +2318,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
seats.style.display='none';
}
dialog.add(ui.create.div('.placeholder'));
dialog.add(ui.create.div('.placeholder.add-setting'));
if(game.layout=='default'){
dialog.add(ui.create.div('.placeholder.add-setting'));
dialog.add(ui.create.div('.placeholder.add-setting'));
}
else{
dialog.content.lastChild.style.height='0px';
}
};
var removeSetting=function(){
var dialog=_status.event.dialog;

View File

@ -792,11 +792,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
seats.style.display='none';
}
dialog.add(ui.create.div('.placeholder'));
dialog.add(ui.create.div('.placeholder.add-setting'));
if(game.layout=='default'){
dialog.add(ui.create.div('.placeholder.add-setting'));
dialog.add(ui.create.div('.placeholder.add-setting'));
}
else{
dialog.content.lastChild.style.height='0px';
}
};
var removeSetting=function(){
var dialog=_status.event.dialog;

View File

@ -838,11 +838,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
seats.style.display='none';
}
dialog.add(ui.create.div('.placeholder'));
dialog.add(ui.create.div('.placeholder.add-setting'));
if(game.layout=='default'){
dialog.add(ui.create.div('.placeholder'));
dialog.add(ui.create.div('.placeholder'));
dialog.add(ui.create.div('.placeholder.add-setting'));
dialog.add(ui.create.div('.placeholder.add-setting'));
}
else{
dialog.content.lastChild.style.height='0px';
}
};
var removeSetting=function(){
var dialog=_status.event.dialog;
@ -1142,11 +1145,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
seats.style.display='none';
}
dialog.add(ui.create.div('.placeholder'));
dialog.add(ui.create.div('.placeholder.add-setting'));
if(game.layout=='default'){
dialog.add(ui.create.div('.placeholder.add-setting'));
dialog.add(ui.create.div('.placeholder.add-setting'));
}
else{
dialog.content.lastChild.style.height='0px';
}
};
var removeSetting=function(){
var dialog=_status.event.dialog;