$curr_attacker->increaseExperience($attacker_damage * 0.05);
    } else {
        $attacker_msg[] = '<span style="color:yellow;">' . $curr_attacker->getPlayerName() . '</span> does absolutely no damage this round. Send the worthless lout back to the academy!';
    }
    $attacker_team_damage += $attacker_damage;
    $attacker_total_msg[] = $attacker_msg;
    //reset damage for each person and the array
    $attacker_damage = 0;
    $attacker_msg = array();
    $curr_attacker->update();
    $curr_attacker_ship->update_hardware();
}
// recalc forces expiration date
$forces->updateExpire();
// update forces
$forces->update();
// echo the overall damage
if ($attacker_team_damage > 0) {
    $attacker_msg[] = '<br>This team does a total of <span style="color:red;">$attacker_team_damage</span> damage in this round of combat.';
} else {
    $attacker_msg[] = '<br>This team does no damage at all. You call that a team? They need a better recruiter.';
}
$attacker_total_msg[] = $attacker_msg;
// info for the next page
$container['force_msg'] = $force_msg;
$container['attacker_total_msg'] = $attacker_total_msg;
transfer('owner_id');
SmrPlayer::refreshCache();
SmrShip::refreshCache();
SmrForce::refreshCache();
forward($container);