Fixed bug with battle factions. Modified battle simulator script.