Use global variables to handle races IDs of factions