- Added Necromancy potions, in normal and greater versions: Conflagration, Confusion Blast. (Era: SE+)
(http://www.uodemise.com/forum/showthread.php?p=741663) - Arcane Circle spell now checks spellweavers are Playermobiles (http://www.uodemise.com/forum/showthread.php?t=142096) - Casting from necromancy scrolls will never result in a fail, if the caster has the minimum skill required. Otherwise it always result in a fail. (http://www.uodemise.com/forum/showthread.php?t=140663) - Creatures in Fan Dancers Dojo and Yomotsu Mines now are taken in consideration for ToT points (http://www.uodemise.com/forum/showthread.php?t=141670)
This commit is contained in:
parent
dad691c966
commit
8af17e640b
14 changed files with 992 additions and 22 deletions
|
|
@ -26,7 +26,13 @@ namespace Server.Items
|
|||
HealGreater,
|
||||
ExplosionLesser,
|
||||
Explosion,
|
||||
ExplosionGreater
|
||||
ExplosionGreater,
|
||||
Conflagration,
|
||||
ConflagrationGreater,
|
||||
MaskOfDeath, // Mask of Death is not available in OSI but does exist in cliloc files
|
||||
MaskOfDeathGreater, // included in enumeration for compatability if later enabled by OSI
|
||||
ConfusionBlast,
|
||||
ConfusionBlastGreater
|
||||
}
|
||||
|
||||
public abstract class BasePotion : Item, ICraftable
|
||||
|
|
@ -145,8 +151,12 @@ namespace Server.Items
|
|||
public static int EnhancePotions( Mobile m )
|
||||
{
|
||||
int EP = AosAttributes.GetValue( m, AosAttribute.EnhancePotions );
|
||||
if ( Core.ML && EP > 50 )
|
||||
EP = 50;
|
||||
|
||||
int cap = 50 + m.Skills.Alchemy.Fixed / 330 * 10;
|
||||
|
||||
if ( Core.ML && EP > cap && m.AccessLevel <= AccessLevel.Player )
|
||||
EP = cap;
|
||||
|
||||
return EP;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue