mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
20 lines
326 B
C++
20 lines
326 B
C++
#include "../../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()
|
|
);
|
|
}
|