self.attack_states = defaultdict(dict) # Track attack states by type self.recovery_cooldowns = { 'DDOS': 60, # 1 minute cooldown after DDoS (reduced for faster ...