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

View file

@ -3607,7 +3607,7 @@ namespace Server
private IAccount m_Account;
[CommandProperty( AccessLevel.Counselor, AccessLevel.Owner )]
[CommandProperty( AccessLevel.GameMaster, AccessLevel.Owner )]
public IAccount Account
{
get

View file

@ -127,7 +127,7 @@ namespace Server
private static Type m_DefaultRegionType = typeof( Region );
public static Type DefaultRegionType{ get{ return m_DefaultRegionType; } set{ m_DefaultRegionType = value; } }
private static TimeSpan m_StaffLogoutDelay = TimeSpan.FromSeconds( 10.0 );
private static TimeSpan m_StaffLogoutDelay = TimeSpan.Zero;
private static TimeSpan m_DefaultLogoutDelay = TimeSpan.FromMinutes( 5.0 );
public static TimeSpan StaffLogoutDelay{ get{ return m_StaffLogoutDelay; } set{ m_StaffLogoutDelay = value; } }