mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-18 07:38:22 +00:00
[Commands] Cleanup #peqzone Command. (#1794)
- Cleanup messages and logic. - Add RULE_INT(Zone, PEQZoneHPRatio, 75, "Required HP Ratio to use #peqzone") - Modify #peqzone Timer rule to allow it to be disabled.
This commit is contained in:
@@ -16,7 +16,7 @@ void command_showzonepoints(Client *c, const Seperator *sep)
|
||||
c->SendChatLineBreak();
|
||||
|
||||
for (auto &virtual_zone_point : zone->virtual_zone_point_list) {
|
||||
std::string zone_long_name = zone_store.GetZoneLongName(virtual_zone_point.target_zone_id);
|
||||
std::string zone_long_name = ZoneLongName(virtual_zone_point.target_zone_id);
|
||||
|
||||
c->Message(
|
||||
Chat::White,
|
||||
@@ -112,7 +112,7 @@ void command_showzonepoints(Client *c, const Seperator *sep)
|
||||
iterator.Reset();
|
||||
while (iterator.MoreElements()) {
|
||||
ZonePoint *zone_point = iterator.GetData();
|
||||
std::string zone_long_name = zone_store.GetZoneLongName(zone_point->target_zone_id);
|
||||
std::string zone_long_name = ZoneLongName(zone_point->target_zone_id);
|
||||
std::string node_name = fmt::format("ZonePoint To [{}]", zone_long_name);
|
||||
|
||||
NPC::SpawnZonePointNodeNPC(
|
||||
|
||||
Reference in New Issue
Block a user