Enchantments

Note: It's my first time doing something with C++
I think this is better, isn't it?
´´´
cItem ArmorItems[] = { GetEquippedHelmet(), GetEquippedChestplate(), GetEquippedLeggings(), GetEquippedBoots };
for (size_t i = 0; i < ARRAYCOUNT(ArmorItems); i++)
{
	cItem Item = ArmorItems[i];
	if (Item.m_Enchantments.GetLevel(cEnchantments::enchProtection) > 0)
	{
		EPFProtection += (6 + pow(Item.m_Enchantments.GetLevel(cEnchantments::enchProtection), 2)) * 0.75 / 3;
	

	if (Item.m_Enchantments.GetLevel(cEnchantments::enchFireProtection) > 0)
	{
		EPFFireProtection += (6 + pow(Item.m_Enchantments.GetLevel(cEnchantments::enchFireProtection), 2)) * 1.25 / 3;
	}

	...
}

TotalEPF += EPFProtection;
TotalEPF += EPFFireProtection;
...
´´´