mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 06:48:20 +00:00
[Commands] Cleanup #gender Command. (#1832)
- Cleanup message and logic. - Cleanup other spots using similar logic so they're all uniform.
This commit is contained in:
@@ -19,7 +19,15 @@ void command_setpvppoints(Client *c, const Seperator *sep)
|
||||
target->SendPVPStats();
|
||||
std::string pvp_message = fmt::format(
|
||||
"{} now {} {} PVP Point{}.",
|
||||
c == target ? "You" : target->GetCleanName(),
|
||||
(
|
||||
c == target ?
|
||||
"You" :
|
||||
fmt::format(
|
||||
"{} ({})",
|
||||
target->GetCleanName(),
|
||||
target->GetID()
|
||||
)
|
||||
),
|
||||
c == target ? "have" : "has",
|
||||
pvp_points,
|
||||
pvp_points != 1 ? "s" : ""
|
||||
|
||||
Reference in New Issue
Block a user