notoriety fixes
http://www.uodemise.com/forum/showthread.php?t=135689 explosion pot timers and targeting http://www.uodemise.com/forum/showthread.php?t=158221 Potion bonuses http://www.uodemise.com/forum/showthread.php?t=150979
This commit is contained in:
parent
a603b2c82d
commit
6a221f4e10
4 changed files with 28 additions and 14 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue