xavier 2010-11-18 18:58:01 +00:00
parent a603b2c82d
commit 6a221f4e10
4 changed files with 28 additions and 14 deletions

View file

@ -151,13 +151,12 @@ namespace Server.Items
public static int EnhancePotions( Mobile m )
{
int EP = AosAttributes.GetValue( m, AosAttribute.EnhancePotions );
int skillBonus = m.Skills.Alchemy.Fixed / 330 * 10;
int cap = 50 + m.Skills.Alchemy.Fixed / 330 * 10;
if ( Core.ML && EP > 50 && m.AccessLevel <= AccessLevel.Player )
EP = 50;
if ( Core.ML && EP > cap && m.AccessLevel <= AccessLevel.Player )
EP = cap;
return EP;
return ( EP + skillBonus );
}
public static TimeSpan Scale( Mobile m, TimeSpan v )