This commit is contained in:
parent
f025de8937
commit
9b0a35bfb1
|
@ -466,7 +466,7 @@ card.standard={
|
|||
if(result&&result.control=='顺时针'){
|
||||
var evt=event.getParent();
|
||||
evt.fixedSeat=true;
|
||||
get.sortSeat(evt.targets);
|
||||
evt.targets.sortBySeat();
|
||||
evt.targets.reverse();
|
||||
if(evt.targets[evt.targets.length-1]==player){
|
||||
evt.targets.unshift(evt.targets.pop());
|
||||
|
|
|
@ -24,7 +24,7 @@ card.yunchou={
|
|||
if(result&&result.control=='顺时针'){
|
||||
var evt=event.getParent();
|
||||
evt.fixedSeat=true;
|
||||
get.sortSeat(evt.targets);
|
||||
evt.targets.sortBySeat();
|
||||
evt.targets.reverse();
|
||||
if(evt.targets[evt.targets.length-1]==player){
|
||||
evt.targets.unshift(evt.targets.pop());
|
||||
|
@ -315,7 +315,7 @@ card.yunchou={
|
|||
event.finish();
|
||||
}
|
||||
else{
|
||||
get.sortSeat(list,target);
|
||||
list.sortBySeat(target);
|
||||
event.list=list;
|
||||
event.torespond=[];
|
||||
}
|
||||
|
|
|
@ -185,9 +185,8 @@ character.diy={
|
|||
return 6-ai.get.value(card);
|
||||
},
|
||||
content:function(){
|
||||
// if(player!=target) player.draw();
|
||||
var list=game.filterPlayer();
|
||||
get.sortSeat(list,target);
|
||||
list.sortBySeat(target);
|
||||
target.useCard({name:'diaobingqianjiang'},list);
|
||||
},
|
||||
ai:{
|
||||
|
|
|
@ -352,7 +352,7 @@ character.hearth={
|
|||
event.targets=game.filterPlayer(function(current){
|
||||
return current.hp>player.hp;
|
||||
});
|
||||
get.sortSeat(event.targets);
|
||||
event.targets.sortBySeat();
|
||||
'step 1'
|
||||
if(event.targets.length){
|
||||
event.target=event.targets.shift();
|
||||
|
|
|
@ -7000,7 +7000,7 @@ character.swd={
|
|||
event.targets=game.filterPlayer(function(current){
|
||||
return current.num('j');
|
||||
});
|
||||
get.sortSeat(event.targets);
|
||||
event.targets.sortBySeat();
|
||||
'step 2'
|
||||
if(event.targets.length){
|
||||
var current=event.targets.shift();
|
||||
|
@ -8595,7 +8595,7 @@ character.swd={
|
|||
event.targets=game.filterPlayer(function(current){
|
||||
return get.distance(target,current)<=1;
|
||||
});
|
||||
get.sortSeat(event.targets,event.target);
|
||||
event.targets.sortBySeat(event.target);
|
||||
event.targets.unshift(player);
|
||||
"step 1"
|
||||
if(event.targets.length){
|
||||
|
|
|
@ -4160,7 +4160,7 @@ character.yijiang={
|
|||
event.players=game.filterPlayer(function(current){
|
||||
return current!=target&&get.distance(current,target,'attack')<=1;
|
||||
});
|
||||
get.sortSeat(event.players,target);
|
||||
event.players.sortBySeat(target);
|
||||
"step 1"
|
||||
if(event.players.length){
|
||||
event.current=event.players.shift();
|
||||
|
|
|
@ -126,7 +126,7 @@ character.yxs={
|
|||
var list=game.filterPlayer(function(current){
|
||||
return current.hasSkill('lyuxue2');
|
||||
});
|
||||
get.sortSeat(list);
|
||||
list.sortBySeat();
|
||||
event.list=list;
|
||||
player.line(list,'green');
|
||||
'step 1'
|
||||
|
|
|
@ -6465,7 +6465,7 @@
|
|||
if(result&&result.control=='顺时针'){
|
||||
var evt=event.getParent();
|
||||
evt.fixedSeat=true;
|
||||
get.sortSeat(evt.targets);
|
||||
evt.targets.sortBySeat();
|
||||
evt.targets.reverse();
|
||||
if(evt.targets[evt.targets.length-1]==player){
|
||||
evt.targets.unshift(evt.targets.pop());
|
||||
|
@ -8857,7 +8857,7 @@
|
|||
if(num==0&&next.targets.length>1){
|
||||
if(!info.multitarget){
|
||||
if(!event.fixedSeat){
|
||||
get.sortSeat(targets,player);
|
||||
targets.sortBySeat(player);
|
||||
}
|
||||
for(var i=0;i<targets.length;i++){
|
||||
targets[i].animate('target');
|
||||
|
|
Loading…
Reference in New Issue