Skip to content

Commit

Permalink
Update AutoBalance.cpp (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitzunu authored Jul 18, 2024
1 parent 9048d39 commit b8de962
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/AutoBalance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6438,16 +6438,16 @@ class AutoBalance_CommandScript : public CommandScript
{
static std::vector<ChatCommand> ABCommandTable =
{
{ "setoffset", SEC_GAMEMASTER, true, &HandleABSetOffsetCommand, "Sets the global Player Difficulty Offset for instances. Example: (You + offset(1) = 2 player difficulty)." },
{ "getoffset", SEC_PLAYER, true, &HandleABGetOffsetCommand, "Shows current global player offset value." },
{ "mapstat", SEC_PLAYER, true, &HandleABMapStatsCommand, "Shows current autobalance information for this map" },
{ "creaturestat", SEC_PLAYER, true, &HandleABCreatureStatsCommand, "Shows current autobalance information for selected creature." },
{ "setoffset", HandleABSetOffsetCommand, SEC_GAMEMASTER, Console::Yes },
{ "getoffset", HandleABGetOffsetCommand, SEC_PLAYER, Console::Yes },
{ "mapstat", HandleABMapStatsCommand, SEC_PLAYER, Console::Yes },
{ "creaturestat", HandleABCreatureStatsCommand, SEC_PLAYER, Console::Yes }
};

static std::vector<ChatCommand> commandTable =
{
{ "autobalance", SEC_PLAYER, false, NULL, "", ABCommandTable },
{ "ab", SEC_PLAYER, false, NULL, "", ABCommandTable },
{ "autobalance", ABCommandTable },
{ "ab", ABCommandTable },
};
return commandTable;
}
Expand Down

0 comments on commit b8de962

Please sign in to comment.