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:
forgives
2023-11-12 16:33:06 +08:00
committed by GitHub
parent bbadc32bea
commit ca7eb956aa
4 changed files with 15 additions and 1 deletions

View File

@@ -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)