mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
Fix: Updated to work with newer commits of AzerothCore
This commit is contained in:
@@ -126,7 +126,7 @@ float TravelNodePath::getCost(Player* bot, uint32 cGold)
|
||||
if (bot->HasSpell(1066))
|
||||
swimSpeed *= 1.5;
|
||||
|
||||
uint32 level = bot->getLevel();
|
||||
uint32 level = bot->GetLevel();
|
||||
bool isAlliance = Unit::GetFactionReactionTo(bot->GetFactionTemplateEntry(), sFactionTemplateStore.LookupEntry(1)) > REP_NEUTRAL;
|
||||
|
||||
int factionAnnoyance = 0;
|
||||
|
||||
Reference in New Issue
Block a user