Merge pull request #77 from Valorith/copilot/sub-pr-68-again

Fix suppressed buff effect restoration
This commit is contained in:
Vayle 2026-03-09 19:39:44 -04:00 committed by GitHub
commit 98e0b6738c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4332,14 +4332,6 @@ void Mob::ReapplyBuffEffects(uint32 index, bool from_suppress)
AddRangedProc(GetProcID(spell_id, i), 100 + spell.limit_value[i], spell_id, GetSpellProcLimitTimer(spell_id, ProcType::RANGED_PROC));
break;
}
case SpellEffect::BindSight:
{
auto *caster = entity_list.GetMobID(buffs[index].casterid);
if (caster && caster->IsClient()) {
caster->CastToClient()->SetBindSightTarget(this);
}
break;
}
case SpellEffect::SetBodyType:
{
SetBodyType(spell.base_value[i], false);