- ConPVP: Help menu will no longer move players out of houses inside SafeZones.

- Player barkeeper hair changes will now correctly update in the client.
- Fixed hueing and removal of player barkeeper hair.
- Corrected the Self Repair mod on Brightsight Lenses.
- Fixed ElvenGlasses' WeaponAttributes property to be openable in the properties gump.
- Removed the Damage Increase property from Quiver of Infinity (this was replaced by Damage Modifier a while ago).
- Added a system message when trying to equip a talisman owned by someone else.
- Fixed a water floor tile acting like a wall in house customization.
This commit is contained in:
eos 2012-07-14 23:32:27 +00:00
parent 53228d30db
commit 24eca5c9c8
7 changed files with 159 additions and 69 deletions

View file

@ -223,12 +223,15 @@ namespace Server.Items
talisman.m_AosSkillBonuses = new AosSkillBonuses(newItem, m_AosSkillBonuses);
}
public override bool CanEquip(Mobile m)
public override bool CanEquip( Mobile from )
{
if (BlessedFor == null || BlessedFor == m)
return base.CanEquip(m);
if ( BlessedFor != null && BlessedFor != from )
{
from.SendLocalizedMessage( 1010437 ); // You are not the owner.
return false;
}
return false;
return base.CanEquip( from );
}
public override void OnAdded(object parent)