diff --git a/zone/mob.h b/zone/mob.h index ae26567e4..c7415d092 100644 --- a/zone/mob.h +++ b/zone/mob.h @@ -416,7 +416,6 @@ public: 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); diff --git a/zone/spells.cpp b/zone/spells.cpp index e82106889..fd382ff95 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -4609,11 +4609,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();