- 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:
eos@runuo.com 2013-06-07 01:04:35 +00:00
parent 192e87dafa
commit 2067f181e1
5 changed files with 4 additions and 18 deletions

View file

@ -47,7 +47,7 @@ namespace Server.Factions
new Rectangle2D( 4450, 1522, 35, 48 ),
},
new Point3D( 4469, 1486, 0 ),
new Point3D( 4457, 1455, 0 ),
new Point3D( 4457, 1544, 0 ),
new Point3D[]
{
new Point3D( 4464, 1534, 21 ),

View file

@ -136,7 +136,7 @@ namespace Server.Items
public int DamageBonus( Mobile to )
{
if ( to != null && to.GetType() == m_Type )
if ( to != null && to.GetType() == m_Type ) // Verified: only works on the exact type
return m_Amount;
return 0;

View file

@ -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 )