Server.Items.BasePotion.EnhancePotions C# (CSharp) Méthode

EnhancePotions() public static méthode

public static EnhancePotions ( Server.Mobile m ) : int
m Server.Mobile
Résultat int
        public static int EnhancePotions( Mobile m )
        {
            int EP = AosAttributes.GetValue( m, AosAttribute.EnhancePotions );
            int skillBonus = m.Skills.Alchemy.Fixed / 330 * 10;

            if ( Core.ML && EP > 50 && m.AccessLevel <= AccessLevel.Player )
                EP = 50;

            return ( EP + skillBonus );
        }