She had already survived literal warfare, sacrificing her own happiness and wellbeing for a cause greater than any one individual. Casting protective charms and defensive spells become second nature while on the run and in skirmishes with Voldemort’s followers.