mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 10:33:46 +00:00
feat(Core): Another way to get talent points (#3773)
This commit is contained in:
@@ -2169,6 +2169,16 @@ public:
|
||||
void UpdateSkillsToMaxSkillsForLevel(); // for .levelup
|
||||
void ModifySkillBonus(uint32 skillid, int32 val, bool talent);
|
||||
|
||||
/**
|
||||
* A talent point boost.
|
||||
* Usage:
|
||||
* 1). Hot update situation (occurred when character is online, like PlayerScript:OnAchiComplete):
|
||||
* Right after calling this function, character can reward talent points by calling function player->InitTalentForLevel().
|
||||
*
|
||||
* 2). Data initing situation (like PlayerScript:OnLoadFromDB)
|
||||
*/
|
||||
void RewardExtraBonusTalentPoints(uint32 bonusTalentPoints);
|
||||
|
||||
/*********************************************************/
|
||||
/*** PVP SYSTEM ***/
|
||||
/*********************************************************/
|
||||
@@ -2918,6 +2928,7 @@ protected:
|
||||
time_t m_resetTalentsTime;
|
||||
uint32 m_usedTalentCount;
|
||||
uint32 m_questRewardTalentCount;
|
||||
uint32 m_extraBonusTalentCount;
|
||||
|
||||
// Social
|
||||
PlayerSocial* m_social;
|
||||
|
||||
Reference in New Issue
Block a user