mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 10:30:01 +01:00
Add judgement for paladins
This commit is contained in:
parent
53395b64ed
commit
ffaf9d9071
@ -1789,6 +1789,8 @@ void PlayerbotFactory::InitAvailableSpells()
|
|||||||
bot->learnSpell(tSpell->spell);
|
bot->learnSpell(tSpell->spell);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (bot->IsSpellFitByClassAndRace(20271) && !bot->HasSpell(20271)) // judgement missing
|
||||||
|
bot->learnSpell(20271, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlayerbotFactory::InitSpecialSpells()
|
void PlayerbotFactory::InitSpecialSpells()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user