As you all know you are not wearing armor when in the Vampire Lord form. And, the mage armor perk in the alteration tree will improve flesh spells.
I just want to know: If I am wearing heavy armor, then I cast a flesh spell, and, then I turn into a Vampire Lord. Will the mage armor perk be active since I am casting the spell wearing armor even though, afterward, I am not?