- Fixed the Palace of Paroxysmus region bounds.
- Fixed a typo in the Huntsman's Forest region name. - Added the Bravehorn's drinking pool and Huntsman's Forest quest regions to Felucca. - Fixed CheckObjectTypes not sending invalid condition replies, because the commands are not always flushed after checking this. - When using an item condition with [online or [ipaddress, the command will now correctly say it does not support items. - The [Go menu now handles comments in the XML location files correctly. - Added the Increased Karma Loss attribute. - Renamed DummyTheif to DummyThief.
This commit is contained in:
parent
6da31d15da
commit
99b0ad9de5
19 changed files with 64 additions and 44 deletions
|
|
@ -113,7 +113,7 @@ namespace Server.Commands.Generic
|
|||
m_Commands[command.Commands[i]] = command;
|
||||
}
|
||||
|
||||
public bool CheckObjectTypes( BaseCommand command, Extensions ext, out bool items, out bool mobiles )
|
||||
public bool CheckObjectTypes( Mobile from, BaseCommand command, Extensions ext, out bool items, out bool mobiles )
|
||||
{
|
||||
items = mobiles = false;
|
||||
|
||||
|
|
@ -153,7 +153,7 @@ namespace Server.Commands.Generic
|
|||
}
|
||||
else if ( condIsMobile )
|
||||
{
|
||||
command.LogFailure( "You may not use a mobile type condition for this command." );
|
||||
from.SendMessage( "You may not use a mobile type condition for this command." );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -167,7 +167,7 @@ namespace Server.Commands.Generic
|
|||
}
|
||||
else if ( condIsItem )
|
||||
{
|
||||
command.LogFailure( "You may not use an item type condition for this command." );
|
||||
from.SendMessage( "You may not use an item type condition for this command." );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue