mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 14:46:24 +00:00
feature(Core/Pet): Add pet talent rate config (#17678)
* feat: add pet talent rate config * feat(Core/Pet): keep consistent with player talent config * refactor(Core/Pet): delete empty line
This commit is contained in:
@@ -2240,7 +2240,7 @@ uint8 Pet::GetMaxTalentPointsForLevel(uint8 level)
|
||||
|
||||
sScriptMgr->OnCalculateMaxTalentPointsForLevel(this, level, points);
|
||||
|
||||
return points;
|
||||
return uint8(points * sWorld->getRate(RATE_TALENT_PET));
|
||||
}
|
||||
|
||||
void Pet::ToggleAutocast(SpellInfo const* spellInfo, bool apply)
|
||||
|
||||
Reference in New Issue
Block a user