mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-06 13:33:52 +00:00
tidied
This commit is contained in:
parent
454a5c4527
commit
3e50332c23
@ -3931,7 +3931,8 @@ void command_faction(Client *c, const Seperator *sep)
|
|||||||
if (c->GetTarget()->IsNPC()) {
|
if (c->GetTarget()->IsNPC()) {
|
||||||
npcfac = c->GetTarget()->CastToNPC()->GetPrimaryFaction();
|
npcfac = c->GetTarget()->CastToNPC()->GetPrimaryFaction();
|
||||||
npcname = c->GetTarget()->CastToNPC()->GetCleanName();
|
npcname = c->GetTarget()->CastToNPC()->GetCleanName();
|
||||||
c->Message(Chat::Yellow, "( Target Npc: %s : has primary faction id: %s )", npcname.c_str(), std::to_string(npcfac).c_str());
|
std::string blurb = fmt::format("( Target Npc: {} : has primary faction id: {} )", npcname, npcfac);
|
||||||
|
c->Message(Chat::Yellow, blurb.c_str());
|
||||||
c->Message(Chat::White, "Use: #setfaction [id] - to alter an NPC's faction");
|
c->Message(Chat::White, "Use: #setfaction [id] - to alter an NPC's faction");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user