allowing the system to recognize when a player is in combat