- Updated WhoGump visibility of same AccessLevel players to resemble regular visibility.
- Vendors should not handle speech starting with their name, only if it is followed by *buy* or *sell*. - Added most Prism of Light mobiles.
This commit is contained in:
parent
fd6d28d56b
commit
6962ed06bf
12 changed files with 805 additions and 10 deletions
|
|
@ -125,7 +125,7 @@ namespace Server.Mobiles
|
|||
((BaseVendor)m_Mobile).VendorSell( from );
|
||||
m_Mobile.FocusMob = from;
|
||||
}
|
||||
else if ( e.HasKeyword( 0x3C ) )
|
||||
else if ( e.HasKeyword( 0x3C ) ) // *vendor buy*
|
||||
{
|
||||
e.Handled = true;
|
||||
|
||||
|
|
@ -134,12 +134,18 @@ namespace Server.Mobiles
|
|||
}
|
||||
else if ( WasNamed( e.Speech ) )
|
||||
{
|
||||
e.Handled = true;
|
||||
|
||||
if ( e.HasKeyword( 0x177 ) ) // *sell*
|
||||
{
|
||||
e.Handled = true;
|
||||
|
||||
((BaseVendor)m_Mobile).VendorSell( from );
|
||||
}
|
||||
else if ( e.HasKeyword( 0x171 ) ) // *buy*
|
||||
{
|
||||
e.Handled = true;
|
||||
|
||||
((BaseVendor)m_Mobile).VendorBuy( from );
|
||||
}
|
||||
|
||||
m_Mobile.FocusMob = from;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue