mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
More glyph config and level check
This commit is contained in:
@@ -2882,7 +2882,10 @@ void PlayerbotFactory::InitGlyphs(bool increment)
|
||||
|
||||
if ((proto->AllowableClass & bot->getClassMask()) == 0 || (proto->AllowableRace & bot->getRaceMask()) == 0)
|
||||
continue;
|
||||
|
||||
|
||||
if (proto->RequiredLevel > bot->GetLevel())
|
||||
continue;
|
||||
|
||||
uint32 glyph = 0;
|
||||
for (uint32 spell = 0; spell < MAX_ITEM_PROTO_SPELLS; spell++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user