set deny group level

This commit is contained in:
Yunfan Li
2023-05-30 12:45:55 +08:00
parent 9f10217fce
commit a486b3d44f

View File

@@ -58,7 +58,7 @@ PlayerbotSecurityLevel PlayerbotSecurity::LevelFor(Player* from, DenyReason* rea
} }
} }
if ((int32)bot->getLevel() - (int8)from->getLevel() > 30) if ((int32)bot->getLevel() - (int8)from->getLevel() > 5)
{ {
if (!bot->GetGuildId() || bot->GetGuildId() != from->GetGuildId()) if (!bot->GetGuildId() || bot->GetGuildId() != from->GetGuildId())
{ {