mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Fix: Updated to work with newer commits of AzerothCore
This commit is contained in:
@@ -62,7 +62,7 @@ uint8 BalancePercentValue::Calculate()
|
||||
if (!player || !player->IsAlive())
|
||||
continue;
|
||||
|
||||
playerLevel += player->getLevel();
|
||||
playerLevel += player->GetLevel();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ uint8 BalancePercentValue::Calculate()
|
||||
if (!creature || !creature->IsAlive())
|
||||
continue;
|
||||
|
||||
uint32 level = creature->getLevel();
|
||||
uint32 level = creature->GetLevel();
|
||||
|
||||
switch (creature->GetCreatureTemplate()->rank)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user