Remove unneeded commands (#880)

* Remove unneeded commands

* Thank you aron
This commit is contained in:
David Markowitz 2022-12-08 13:32:47 -08:00 committed by GitHub
parent 430c6da4a7
commit da910309a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 18 deletions

View File

@ -212,22 +212,6 @@ void SlashCommandHandler::HandleChatCommand(const std::u16string& command, Entit
return; return;
} }
if (chatCommand == "skip-ags") {
auto* missionComponent = entity->GetComponent<MissionComponent>();
if (missionComponent != nullptr && missionComponent->HasMission(479)) {
missionComponent->CompleteMission(479);
}
}
if (chatCommand == "skip-sg") {
auto* missionComponent = entity->GetComponent<MissionComponent>();
if (missionComponent != nullptr && missionComponent->HasMission(229)) {
missionComponent->CompleteMission(229);
}
}
if (chatCommand == "fix-stats") { if (chatCommand == "fix-stats") {
// Reset skill component and buff component // Reset skill component and buff component
auto* skillComponent = entity->GetComponent<SkillComponent>(); auto* skillComponent = entity->GetComponent<SkillComponent>();

View File

@ -14,8 +14,6 @@ Here is a summary of the commands available in-game. All commands are prefixed b
|pvp|`/pvp`|Toggle your PVP flag.|| |pvp|`/pvp`|Toggle your PVP flag.||
|resurrect|`/resurrect`|Resurrects the player.|| |resurrect|`/resurrect`|Resurrects the player.||
|requestmailcount|`/requestmailcount`|Sends notification with number of unread messages in the player's mailbox.|| |requestmailcount|`/requestmailcount`|Sends notification with number of unread messages in the player's mailbox.||
|skip-ags|`/skip-ags`|Skips the Avant Gardens Survival minigame mission, "Impress the Sentinel Faction".||
|skip-sg|`/skip-sg`|Skips the Shooting Gallery minigame mission, "Monarch of the Sea".||
|who|`/who`|Displays in chat all players on the instance.|| |who|`/who`|Displays in chat all players on the instance.||
## Moderation Commands ## Moderation Commands