- Corrected typo in CoM faction signup stone location.
- Removed duplicate code for talisman killer bonuses. (It's handled in BaseWeapon.OnHit) - Changed Mobile.Account visibility to GM+ (to match ClientGump). - Removed staff logout delay.
This commit is contained in:
parent
192e87dafa
commit
2067f181e1
5 changed files with 4 additions and 18 deletions
|
|
@ -1518,20 +1518,6 @@ namespace Server.Mobiles
|
|||
|
||||
public virtual void AlterMeleeDamageFrom( Mobile from, ref int damage )
|
||||
{
|
||||
#region Mondain's Legacy
|
||||
if ( from != null && from.Talisman is BaseTalisman )
|
||||
{
|
||||
BaseTalisman talisman = (BaseTalisman)from.Talisman;
|
||||
|
||||
if ( talisman.Killer != null && talisman.Killer.Type != null )
|
||||
{
|
||||
Type type = talisman.Killer.Type;
|
||||
|
||||
if ( type.IsAssignableFrom( GetType() ) )
|
||||
damage = (int)( damage * ( 1 + (double)talisman.Killer.Amount / 100 ) );
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
public virtual void AlterMeleeDamageTo( Mobile to, ref int damage )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue