[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
-4
View File
@@ -1110,8 +1110,6 @@ bool Client::TradeskillExecute(DBTradeskillRecipe_Struct *spec) {
const EQ::ItemData* item = nullptr;
chance = mod_tradeskill_chance(chance, spec);
if (((spec->tradeskill==75) || GetGM() || (chance > res)) || zone->random.Roll(aa_chance)) {
success_modifier = 1;
@@ -1248,8 +1246,6 @@ void Client::CheckIncreaseTradeskill(int16 bonusstat, int16 stat_modifier, float
}
}
chance_stage2 = mod_tradeskill_skillup(chance_stage2);
if (chance_stage2 > zone->random.Real(0, 99)) {
//Only if stage1 and stage2 succeeded you get a skillup.
SetSkill(tradeskill, current_raw_skill + 1);