Makes the faction variable into a list

This change allows for multiple factions, making mapper lifes easier.
wb(wild-billy) made the CanAttack() proc.