[Commands] Cleanup #aggro Command. (#1799)

- Cleanup messages and logic.
- Cleanup constant names and references.
- Cleanup aggro description methods.
This commit is contained in:
Kinglykrab
2021-11-21 10:12:12 -05:00
committed by GitHub
parent 04fda24c8e
commit b9214bfdee
16 changed files with 512 additions and 319 deletions
+8 -8
View File
@@ -4875,7 +4875,7 @@ void Client::Handle_OP_Consider(const EQApplicationPacket *app)
if (tmob->IsNPC())
{
if (GetFeigned())
con->faction = FACTION_INDIFFERENT;
con->faction = FACTION_INDIFFERENTLY;
}
if (!(con->faction == FACTION_SCOWLS))
@@ -4883,21 +4883,21 @@ void Client::Handle_OP_Consider(const EQApplicationPacket *app)
if (tmob->IsNPC())
{
if (tmob->CastToNPC()->IsOnHatelist(this))
con->faction = FACTION_THREATENLY;
con->faction = FACTION_THREATENINGLY;
}
}
if (con->faction == FACTION_APPREHENSIVE) {
if (con->faction == FACTION_APPREHENSIVELY) {
con->faction = FACTION_SCOWLS;
}
else if (con->faction == FACTION_DUBIOUS) {
con->faction = FACTION_THREATENLY;
else if (con->faction == FACTION_DUBIOUSLY) {
con->faction = FACTION_THREATENINGLY;
}
else if (con->faction == FACTION_SCOWLS) {
con->faction = FACTION_APPREHENSIVE;
con->faction = FACTION_APPREHENSIVELY;
}
else if (con->faction == FACTION_THREATENLY) {
con->faction = FACTION_DUBIOUS;
else if (con->faction == FACTION_THREATENINGLY) {
con->faction = FACTION_DUBIOUSLY;
}
mod_consider(tmob, con);