mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-11 04:11:39 +00:00
[Bug Fix] BuffLevelRestrictions were restricting group buffs if mob targeted (#2809)
This commit is contained in:
1 parent
265b32f46f
commit
4d2418af9d
1 file changed
+4
-2
+4
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user