[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
+1 -10
View File
@@ -59,7 +59,7 @@ void Mob::TemporaryPets(uint16 spell_id, Mob *targ, const char *name_override, u
if (IsOfClientBot()) {
act_power = GetFocusEffect(focusPetPower, spell_id);
if (IsClient()) {
act_power = CastToClient()->mod_pet_power(act_power, spell_id);
act_power = CastToClient()->GetFocusEffect(focusPetPower, spell_id);
}
}
@@ -302,15 +302,6 @@ void Mob::WakeTheDead(uint16 spell_id, Corpse *corpse_to_use, Mob *target, uint3
return;
}
/* TODO: Does WTD use pet focus?
int act_power = 0;
if (IsClient()) {
act_power = CastToClient()->GetFocusEffect(focusPetPower, spell_id);
act_power = CastToClient()->mod_pet_power(act_power, spell_id);
}
*/
SwarmPet_Struct pet;
pet.count = 1;
pet.duration = 1;