修复空行没有缩进的问题
This commit is contained in:
parent
95ff76342d
commit
3268c182e5
|
@ -26714,7 +26714,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
//olfeiyang_info:'限定技。准备阶段,你可以弃置两张牌,然后弃置判定区的一张牌。',
|
||||
olfeiyang_info:'准备阶段,你可以弃置三张牌,然后弃置判定区的一张牌。',
|
||||
|
||||
|
||||
sp_tianji:'天极·皇室宗亲',
|
||||
sp_sibi:'四弼·辅国文曲',
|
||||
sp_tianzhu:'天柱·势冠一方',
|
||||
|
|
|
@ -323,7 +323,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
if(lib.config.show_handcardbutton){
|
||||
lib.setPopped(ui.create.system('手牌',null,true),function(){
|
||||
var uiintro=ui.create.dialog('hidden');
|
||||
|
||||
var players=game.players.concat(game.dead);
|
||||
for(var i=0;i<players.length;i++){
|
||||
if(players[i].side==game.me.side&&players[i]!=game.me){
|
||||
|
@ -337,7 +336,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
return uiintro;
|
||||
},220);
|
||||
}
|
||||
|
@ -367,7 +365,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
td.innerHTML='无法重整'
|
||||
}
|
||||
}
|
||||
|
||||
if(!added){
|
||||
uiintro.add('<div class="text center">(无重整角色)</div>');
|
||||
uiintro.add(ui.create.div('.placeholder.slim'))
|
||||
|
@ -375,7 +372,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
else{
|
||||
uiintro.add(table);
|
||||
}
|
||||
|
||||
return uiintro;
|
||||
},180);
|
||||
}
|
||||
|
|
|
@ -3803,7 +3803,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
lib.translate.nei=lib.translate.nei||'内';
|
||||
lib.translate.fan=lib.translate.fan||'反';
|
||||
|
||||
|
||||
this.style.transition='all 0s';
|
||||
this.style.height=(this.offsetHeight-10)+'px';
|
||||
this.style.overflow='scroll';
|
||||
|
@ -3812,7 +3811,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
var style2={position:'relative',display:'block',left:0,top:0,marginBottom:'6px',padding:0,width:'100%'};
|
||||
var style3={marginLeft:'4px',marginRight:'4px',position:'relative'}
|
||||
|
||||
|
||||
var scenename=ui.create.node('input',ui.create.div(style2,'','场景名称:',this),{width:'120px'});
|
||||
scenename.type='text';
|
||||
scenename.style.marginTop='20px';
|
||||
|
@ -3921,7 +3919,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
game.addScene(scene.name,true);
|
||||
},style);
|
||||
|
||||
|
||||
var capt1=ui.create.div(style2,'','角色信息',this);
|
||||
var line2=ui.create.div(style2,this);
|
||||
line2.style.display='none';
|
||||
|
@ -3985,7 +3982,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
var capt9=ui.create.div(style2,'','编辑牌堆',this);
|
||||
capt9.style.display='none';
|
||||
|
||||
|
||||
var capt2=ui.create.div(style2,'','添加卡牌',this);
|
||||
var line3=ui.create.div(style2,this);
|
||||
line3.style.display='none';
|
||||
|
@ -4271,7 +4267,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
player.style.margin='-18px';
|
||||
player.node.marks.remove();
|
||||
|
||||
|
||||
line7.appendChild(player);
|
||||
player.listen(function(){
|
||||
if(confirm('是否删除此角色?')){
|
||||
|
@ -4322,7 +4317,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
var line7=ui.create.div(style2,this);
|
||||
line7.style.marginTop='12px';
|
||||
|
||||
|
||||
var capt8=ui.create.div(style2,'','胜负条件',this);
|
||||
capt8.style.display='none';
|
||||
var line8=ui.create.div(style2,this);
|
||||
|
@ -4335,7 +4329,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
ui.create.node('span','个回合后',line8,style);
|
||||
var turnsresult=ui.create.selectlist(results,'none',line8);
|
||||
|
||||
|
||||
var washes=ui.create.selectlist(turnslist,'1',line8);
|
||||
washes.style.marginLeft='20px';
|
||||
ui.create.node('span','次洗牌后',line8,style);
|
||||
|
@ -4361,7 +4354,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
line3.style.display='none';
|
||||
line7.style.display='block';
|
||||
|
||||
|
||||
line6_t.style.display='none';
|
||||
line6_b.style.display='none';
|
||||
line6_d.style.display='none';
|
||||
|
|
|
@ -3730,7 +3730,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
addToButton();
|
||||
};
|
||||
|
||||
|
||||
for(var i=0;i<bossbuttons.length;i++){
|
||||
bossbuttons[i].classList.add('noclick');
|
||||
bossbuttons[i].listen(clickBoss);
|
||||
|
|
|
@ -190,7 +190,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
event.playerx=player;
|
||||
event.trigger('gameStart');
|
||||
|
||||
"step 3"
|
||||
game.gameDraw(event.playerx);
|
||||
game.broadcastAll(function(player){
|
||||
|
@ -12599,7 +12598,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
gzqianxi:{
|
||||
|
|
|
@ -1503,7 +1503,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
identityList=get.identityList(game.players.length);
|
||||
}
|
||||
var stratagemMode=event.stratagemMode;
|
||||
|
||||
var addSetting=function(dialog){
|
||||
dialog.add('选择身份').classList.add('add-setting');
|
||||
var table=document.createElement('div');
|
||||
|
@ -1634,7 +1633,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
delete _status.cheat_seat;
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
if(stratagemMode){
|
||||
this.classList.add('bluebg');
|
||||
|
@ -2803,7 +2801,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
giveup.showGiveup();
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
logAi:function(targets,card){
|
||||
if(this.ai.shown==1||this.isMad()) return;
|
||||
|
@ -2934,7 +2931,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
}
|
||||
// }
|
||||
|
||||
},
|
||||
showIdentity:function(){
|
||||
this.node.identity.classList.remove('guessing');
|
||||
|
|
|
@ -975,7 +975,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
game.resume();
|
||||
game.updateStatusCount();
|
||||
},lib.config.duration);
|
||||
|
||||
}
|
||||
}
|
||||
else if(game.enemy.isDead()){
|
||||
|
@ -8781,7 +8780,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
if(result.bool){
|
||||
event.chooser.useCard({name:'sha'},result.targets,false);
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
stone_zhucangzhe1:{
|
||||
|
@ -9985,7 +9983,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
druid_huwei:'护卫',
|
||||
druid_huwei_info:'你出场时,己方主将可以选择一项:对一名随从造成1点伤害,或弃置一名随从的所有牌并将其体力上限改为2。',
|
||||
|
||||
|
||||
stone_fachao:'法潮图腾',
|
||||
stone_tutengyongshi:'图腾勇士',
|
||||
stone_huoshe:'火舌图腾',
|
||||
|
|
|
@ -2489,7 +2489,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
else{
|
||||
game.friend[i].identity='zhong';
|
||||
game.friend[i].setIdentity(_status.color+'Zhong');
|
||||
|
||||
}
|
||||
if(lib.storage.zhu&&get.distance(game.enemy[i],game.me,'pure')==num){
|
||||
game.enemy[i].identity='zhu';
|
||||
|
@ -3906,9 +3905,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
|||
ui.intro=ui.create.dialog();
|
||||
ui.intro.source='versusCheckFriend';
|
||||
|
||||
|
||||
|
||||
|
||||
if(_status.friendDied.length){
|
||||
ui.intro.add('已阵亡');
|
||||
ui.intro.add([_status.friendDied,'character']);
|
||||
|
|
Loading…
Reference in New Issue