mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 05:16:37 +00:00
[Commands] Cleanup #resetaa and #resetaa_timer (#3047)
# Notes - Cleanup messages and logic.
This commit is contained in:
@@ -7,15 +7,14 @@ void command_resetaa(Client *c, const Seperator *sep)
|
||||
return;
|
||||
}
|
||||
|
||||
auto target = c->GetTarget()->CastToClient();
|
||||
target->ResetAA();
|
||||
|
||||
auto t = c->GetTarget()->CastToClient();
|
||||
t->ResetAA();
|
||||
|
||||
c->Message(
|
||||
Chat::White,
|
||||
fmt::format(
|
||||
"Successfully reset all Alternate Advancements for {}.",
|
||||
c->GetTargetDescription(target)
|
||||
c->GetTargetDescription(t)
|
||||
).c_str()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user