Skip to content

Commit

Permalink
[Cleanup] Remove IsAffectedByBuff() (EQEmu#3068)
Browse files Browse the repository at this point in the history
# Notes
- This is unused.
  • Loading branch information
Kinglykrab authored and nytmyr committed Mar 24, 2023
1 parent 45a504e commit f4838f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion zone/mob.h
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ class Mob : public Entity {
void BuffFadeBySlot(int slot, bool iRecalcBonuses = true);
void BuffFadeDetrimentalByCaster(Mob *caster);
void BuffFadeBySitModifier();
bool IsAffectedByBuff(uint16 spell_id);
bool IsAffectedByBuffByGlobalGroup(GlobalGroup group);
void BuffModifyDurationBySpellID(uint16 spell_id, int32 newDuration);
int AddBuff(Mob *caster, const uint16 spell_id, int duration = 0, int32 level_override = -1, bool disable_buff_overwrite = false);
Expand Down
5 changes: 0 additions & 5 deletions zone/spells.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4667,11 +4667,6 @@ void Mob::BuffFadeByEffect(int effect_id, int slot_to_skip)
}
}

bool Mob::IsAffectedByBuff(uint16 spell_id)
{
return FindBuff(spell_id);
}

bool Mob::IsAffectedByBuffByGlobalGroup(GlobalGroup group)
{
int buff_count = GetMaxTotalSlots();
Expand Down

0 comments on commit f4838f5

Please sign in to comment.