Пример #1
0
        public override float GainEnergy(float value)
        {
            float multiplier = 1 + (perk != null ? perk.GetEnergyGainMul() : 0);

            return(base.GainEnergy(value * multiplier));
        }