mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
21 lines
322 B
C++
21 lines
322 B
C++
#include "../../client.h"
|
|
|
|
void SetHPFull(Client *c, const Seperator *sep)
|
|
{
|
|
Mob* t = c;
|
|
if (c->GetTarget()) {
|
|
t = c->GetTarget();
|
|
}
|
|
|
|
t->RestoreHealth();
|
|
|
|
c->Message(
|
|
Chat::White,
|
|
fmt::format(
|
|
"Set {} to full Health ({}).",
|
|
c->GetTargetDescription(t),
|
|
Strings::Commify(t->GetMaxHP())
|
|
).c_str()
|
|
);
|
|
}
|