删除card,character,mode中的行末多余空格缩进

This commit is contained in:
157 2024-01-09 00:24:50 +08:00
parent f158663d87
commit f242bffcab
36 changed files with 382 additions and 387 deletions

View File

@ -447,7 +447,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
}
target.addTempSkill('xietianzi');
},
ai:{
order:0.5,
value:4,
@ -776,7 +775,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
if(event.name!='lose'||event.name!='cardsDiscard'||targetPosition!='discardPile') return false;
var evt=event.getParent().relatedEvent;
if(evt&&evt.name=='useCard') return false;
return true;
},
onDestroy:function(){

View File

@ -1464,7 +1464,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
const hs=position.includes('h')?target.getGainableCards(player,'h'):[];
const es=position.includes('e')?target.getGainableCards(player,'e'):[];
const js=position.includes('j')?target.getGainableCards(player,'j'):[];
if(get.attitude(player,target)<=0){
if(hs.length>0) return -1.5;
return (es.some(card=>{
@ -1487,7 +1486,6 @@ game.import('card',function(lib,game,ui,get,ai,_status){
const hs=position.includes('h')?target.getGainableCards(player,'h'):[];
const es=position.includes('e')?target.getGainableCards(player,'e'):[];
const js=position.includes('j')?target.getGainableCards(player,'j'):[];
const att=get.attitude(player,target);
if(att<0){
if(!hs.length&&!es.some(card=>{

View File

@ -3786,7 +3786,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
game.broadcast(function(players,cards1,targets,cards2){
lib.skill['dddfenye'].$compareFenye(players,cards1,targets,cards2);
},players,cards1,targets,cards2);
var left0=-players.length*52-(players.length-1)*8;
for(var i=0;i<players.length;i++){
(function(target,card1,i){