mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
add bot mount in conf
This commit is contained in:
@@ -2825,10 +2825,10 @@ uint32 PlayerbotFactory::CalcMixedGearScore(uint32 gs, uint32 quality)
|
||||
|
||||
void PlayerbotFactory::InitMounts()
|
||||
{
|
||||
uint32 firstmount = 20;
|
||||
uint32 secondmount = 40;
|
||||
uint32 thirdmount = 60;
|
||||
uint32 fourthmount = 70;
|
||||
uint32 firstmount = sPlayerbotAIConfig->useGroundMountAtMinLevel;
|
||||
uint32 secondmount = sPlayerbotAIConfig->useFastGroundMountAtMinLevel;
|
||||
uint32 thirdmount = sPlayerbotAIConfig->useFlyMountAtMinLevel;
|
||||
uint32 fourthmount = sPlayerbotAIConfig->useFastFlyMountAtMinLevel;
|
||||
|
||||
if (bot->GetLevel() < firstmount)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user