mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
Deathnight enchant check
This commit is contained in:
parent
2a2d07b59a
commit
017e36333e
@ -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())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user