mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
[Commands] Cleanup #guild Command. (#1880)
- Cleanup messages and logic. - Adds GetGuildNameByID, GetGuildRankName, GetGuildIDByCharacterID, and IsCharacterInGuild helper methods for guild stuff. - Convert #guild info message to a popup display to tidy it up and make it more legible.
This commit is contained in:
+2
-12
@@ -5371,25 +5371,15 @@ void Client::ShowSkillsWindow()
|
||||
|
||||
// Current Skill Level out of Max Skill Level or a Check Mark for Maxed
|
||||
popup_text += fmt::format(
|
||||
"<td>{}{}{}</td>",
|
||||
"<td>{}</td>",
|
||||
(
|
||||
skill_maxed ?
|
||||
"<c \"#00FF00\">" :
|
||||
""
|
||||
),
|
||||
(
|
||||
skill_maxed ?
|
||||
"✔" :
|
||||
"<c \"#00FF00\">✔</c>" :
|
||||
fmt::format(
|
||||
"{}/{}",
|
||||
current_skill,
|
||||
max_skill
|
||||
)
|
||||
),
|
||||
(
|
||||
skill_maxed ?
|
||||
"</c>" :
|
||||
""
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user