{
player.restoreExp();
player.setCurrentHp(player.getMaxHp(), true);
player.setCurrentMp(player.getMaxMp());
player.setCurrentCp(player.getMaxCp());
player.broadcastPacket(new Revive(player));
}
}
for (Player player : getPlayers(_team2list))
{
if (player.isDead())
{
player.restoreExp();
player.setCurrentHp(player.getMaxHp(), true);
player.setCurrentMp(player.getMaxMp());
player.setCurrentCp(player.getMaxCp());
player.broadcastPacket(new Revive(player));
}
}
}