From 4d2418af9df1a85bd15065c96892651ac5d08fca Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Sun, 29 Jan 2023 18:52:03 -0500 Subject: [PATCH] [Bug Fix] BuffLevelRestrictions were restricting group buffs if mob targeted (#2809) --- zone/spells.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index b9fd84abc..4838b51e8 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -3205,8 +3205,10 @@ bool Mob::CheckSpellLevelRestriction(Mob *caster, uint16 spell_id) // NON GM clients might be restricted by rule setting if (caster->IsClient()) { - if (RuleB(Spells, BuffLevelRestrictions)) { - check_for_restrictions = true; + if (IsClient()) { // Only restrict client on client for this rule + if (RuleB(Spells, BuffLevelRestrictions)) { + check_for_restrictions = true; + } } } // NPCS might be restricted by rule setting