mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 21:25:52 +12:00
Maybe? NPC Randomly Wander..
This commit is contained in:
parent
f20e67bfd6
commit
0767f82299
4 changed files with 124 additions and 14 deletions
|
@ -50,6 +50,14 @@ namespace HISP.Game.Chat
|
|||
try
|
||||
{
|
||||
questId = int.Parse(args[1]);
|
||||
if(args.Length >= 3)
|
||||
{
|
||||
if (args[2] == "FORCE")
|
||||
{
|
||||
Quest.CompleteQuest(user, Quest.GetQuestById(questId));
|
||||
goto msg;
|
||||
}
|
||||
}
|
||||
Quest.ActivateQuest(user, Quest.GetQuestById(questId));
|
||||
}
|
||||
catch (Exception)
|
||||
|
@ -61,6 +69,7 @@ namespace HISP.Game.Chat
|
|||
{
|
||||
return false;
|
||||
}
|
||||
msg:;
|
||||
byte[] chatPacket = PacketBuilder.CreateChat(Messages.FormatAdminCommandCompleteMessage(message.Substring(1)), PacketBuilder.CHAT_BOTTOM_LEFT);
|
||||
user.LoggedinClient.SendPacket(chatPacket);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue