예제 #1
0
        /// <summary>
        /// Returns the multiplier to XP and Luminance from Trinkets and Augmentations
        /// </summary>
        public float GetXPAndLuminanceModifier(XpType xpType)
        {
            var enchantmentBonus = EnchantmentManager.GetXPBonus();

            var augBonus = 0.0f;

            if (xpType == XpType.Kill && AugmentationBonusXp > 0)
            {
                augBonus = AugmentationBonusXp * 0.05f;
            }

            var modifier = 1.0f + enchantmentBonus + augBonus;

            //Console.WriteLine($"XPAndLuminanceModifier: {modifier}");

            return(modifier);
        }