mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 22:06:46 +00:00
[Strings] Refactor Strings Usage (#2305)
* Initial commit checkpoint * More functions converted * Commify * More functions * Fin * Sort declarations * Split functions between files * Bots * Update strings.h * Split * Revert find replaces * Repository template * Money * Misc function * Update CMakeLists.txt * Saylink * Update strings.cpp * Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database * API casings
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#include "../client.h"
|
||||
|
||||
void command_nukebuffs(Client *c, const Seperator *sep)
|
||||
{
|
||||
{
|
||||
Mob* target = c;
|
||||
if (c->GetTarget()) {
|
||||
target = c->GetTarget();
|
||||
}
|
||||
|
||||
std::string buff_identifier = str_tolower(sep->arg[1]);
|
||||
std::string buff_identifier = Strings::ToLower(sep->arg[1]);
|
||||
std::string buff_type;
|
||||
bool is_beneficial = buff_identifier.find("beneficial") != std::string::npos;
|
||||
bool is_detrimental = buff_identifier.find("detrimental") != std::string::npos;
|
||||
|
||||
Reference in New Issue
Block a user