[mr3206] Use RACEMASK instead of recurrent switch case in Faction change