mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 17:32:17 +00:00
[Commands] Cleanup #resetaa and #resetaa_timer (#3047)
# Notes - Cleanup messages and logic.
This commit is contained in:
1 parent
218ef80f96
commit
b6497cdd6a
2 files changed
+18
-18
No files matched your search
@@ -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