This commit is contained in:
libccy 2017-02-08 12:42:32 +08:00
parent d16422b69c
commit db16372a0f
1 changed files with 7 additions and 3 deletions

View File

@ -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--;
} }
}, },