IEnumerable <float> IModifier.GetMultiplicative(Stat stat) { foreach (EquipLocation slot in GetAllPopulatedSlots()) { IModifier item = GetItemInSlot(slot) as IModifier; if (item != null) { foreach (float modifier in item.GetMultiplicative(stat)) { yield return(modifier); } } } }