public static void RecalculateMultipliers() { float total = 1; foreach (float value in instance.multipliers.Values) { total += value; } instance.currentDPS = instance.baseDPS * total; DamageDealer.RecalculateDamage(); }