[Cleanup] Remove Unused Mod Hooks (#2856)

- Removes old `mod_` hooks that have gone unused for years in favor of Lua mods.
This commit is contained in:
Alex King
2023-02-13 01:24:23 -05:00
committed by GitHub
parent 0f49fbcfcd
commit 85f7b10f90
22 changed files with 4 additions and 539 deletions
-7
View File
@@ -5115,8 +5115,6 @@ void Client::Handle_OP_Consider(const EQApplicationPacket *app)
con->faction = FACTION_DUBIOUSLY;
}
mod_consider(t, con);
QueuePacket(outapp);
// only wanted to check raid target once
// and need con to still be around so, do it here!
@@ -6204,7 +6202,6 @@ void Client::Handle_OP_EnvDamage(const EQApplicationPacket *app)
}
if (GetHP() <= 0) {
mod_client_death_env();
Death(0, 32000, SPELL_UNKNOWN, EQ::skills::SkillHandtoHand);
}
SendHPUpdate();
@@ -8736,10 +8733,6 @@ void Client::Handle_OP_ItemLinkClick(const EQApplicationPacket *app)
}
if (!response.empty()) {
if (!mod_saylink(response, silentsaylink)) {
return;
}
ChannelMessageReceived(ChatChannel_Say, 0, 100, response.c_str(), nullptr, true);
if (!silentsaylink) {