[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
-39
View File
@@ -1323,45 +1323,6 @@ public:
inline uint32 GetEmoteID() { return emoteid; }
bool HasSpellEffect(int effect_id);
int mod_effect_value(int effect_value, uint16 spell_id, int effect_type, Mob *caster, uint16 caster_id);
float mod_hit_chance(float chancetohit, EQ::skills::SkillType skillinuse, Mob *attacker);
float mod_riposte_chance(float ripostchance, Mob *attacker);
float mod_block_chance(float blockchance, Mob *attacker);
float mod_parry_chance(float parrychance, Mob *attacker);
float mod_dodge_chance(float dodgechance, Mob *attacker);
float mod_monk_weight(float monkweight, Mob *attacker);
float mod_mitigation_rating(float mitigation_rating, Mob *attacker);
float mod_attack_rating(float attack_rating, Mob *defender);
int64 mod_kick_damage(int64 dmg);
int64 mod_bash_damage(int64 dmg);
int64 mod_frenzy_damage(int64 dmg);
int64 mod_monk_special_damage(int64 ndamage, EQ::skills::SkillType skill_type);
int64 mod_backstab_damage(int64 ndamage);
int64 mod_archery_bonus_chance(int bonuschance, const EQ::ItemInstance *RangeWeapon);
uint64 mod_archery_bonus_damage(uint64 MaxDmg, const EQ::ItemInstance *RangeWeapon);
int64 mod_archery_damage(int64 TotalDmg, bool hasbonus, const EQ::ItemInstance *RangeWeapon);
uint64 mod_throwing_damage(uint64 MaxDmg);
int32 mod_cast_time(int32 cast_time);
int mod_buff_duration(int res, Mob *caster, Mob *target, uint16 spell_id);
int mod_spell_stack(uint16 spellid1, int caster_level1, Mob *caster1, uint16 spellid2, int caster_level2, Mob *caster2);
int mod_spell_resist(
int resist_chance,
int level_mod,
int resist_modifier,
int target_resist,
uint8 resist_type,
uint16 spell_id,
Mob *caster
);
void mod_spell_cast(
uint16 spell_id,
Mob *spelltar,
bool reflect,
bool use_resist_adjust,
int16 resist_adjust,
bool isproc
);
bool mod_will_aggro(Mob *attacker, Mob *on);
//Command #Tune functions
void TuneGetStats(Mob* defender, Mob *attacker);