This commit is contained in:
parent
d16422b69c
commit
db16372a0f
|
@ -6348,14 +6348,18 @@ character.sp={
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
var targets;
|
var targets;
|
||||||
if(event.versus){
|
if(event.versus){
|
||||||
targets=game.friend.slice(0);
|
targets=[];
|
||||||
targets.remove(player);
|
for(var i=0;i<game.players.length;i++){
|
||||||
|
if(game.players[i]!=player&&game.players[i].side==player.side){
|
||||||
|
targets.push(game.players[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
targets=result.target;
|
targets=result.target;
|
||||||
}
|
}
|
||||||
player.logSkill('hongyuan',targets);
|
player.logSkill('hongyuan',targets);
|
||||||
game.asyncDraw(result.targets);
|
game.asyncDraw(targets);
|
||||||
trigger.num--;
|
trigger.num--;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue