eqemu-server/zone/gm_commands/set/set_skill_all_max.cpp
2025-12-26 20:58:07 -08:00

20 lines
325 B
C++

#include "zone/client.h"
void SetSkillAllMax(Client *c, const Seperator *sep)
{
auto t = c;
if (c->GetTarget() && c->GetTarget()->IsClient()) {
t = c->GetTarget()->CastToClient();
}
t->MaxSkills();
c->Message(
Chat::White,
fmt::format(
"Maxed skills for {}.",
c->GetTargetDescription(t)
).c_str()
);
}