mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Deathnight enchant check
This commit is contained in:
@@ -3721,6 +3721,9 @@ void PlayerbotFactory::ApplyEnchantAndGemsNew(bool destoryOld)
|
|||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (spellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && bot->getClass() != CLASS_DEATH_KNIGHT)
|
||||||
|
continue;
|
||||||
|
|
||||||
uint32 requiredLevel = spellInfo->BaseLevel;
|
uint32 requiredLevel = spellInfo->BaseLevel;
|
||||||
if (requiredLevel > bot->GetLevel())
|
if (requiredLevel > bot->GetLevel())
|
||||||
|
|||||||
Reference in New Issue
Block a user