Core/Players: Implemented new talent system

Port From (https://github.com/TrinityCore/TrinityCore/commit/0cc5ab8372f19dad7412038d52dcd39db5e0e171)
This commit is contained in:
hondacrx
2023-01-04 02:50:40 -05:00
parent 0bfc448595
commit 55da7dc549
24 changed files with 3168 additions and 532 deletions
+10 -5
View File
@@ -2723,10 +2723,6 @@ namespace Game
stmt.AddValue(0, lowGuid);
SetQuery(PlayerLoginQueryLoad.VoidStorage, stmt);
stmt = DB.Characters.GetPreparedStatement(CharStatements.SEL_CHARACTER_ACTIONS);
stmt.AddValue(0, lowGuid);
SetQuery(PlayerLoginQueryLoad.Actions, stmt);
stmt = DB.Characters.GetPreparedStatement(CharStatements.SEL_MAIL);
stmt.AddValue(0, lowGuid);
SetQuery(PlayerLoginQueryLoad.Mails, stmt);
@@ -2877,6 +2873,14 @@ namespace Game
stmt = DB.Characters.GetPreparedStatement(CharStatements.SEL_CHARACTER_GARRISON_FOLLOWER_ABILITIES);
stmt.AddValue(0, lowGuid);
SetQuery(PlayerLoginQueryLoad.GarrisonFollowerAbilities, stmt);
stmt = DB.Characters.GetPreparedStatement(CharStatements.SEL_CHAR_TRAIT_ENTRIES);
stmt.AddValue(0, lowGuid);
SetQuery(PlayerLoginQueryLoad.TraitEntries, stmt);
stmt = DB.Characters.GetPreparedStatement(CharStatements.SEL_CHAR_TRAIT_CONFIGS);
stmt.AddValue(0, lowGuid);
SetQuery(PlayerLoginQueryLoad.TraitConfigs, stmt);
}
public ObjectGuid GetGuid() { return m_guid; }
@@ -2938,7 +2942,6 @@ namespace Game
AzeriteMilestonePowers,
AzeriteUnlockedEssences,
AzeriteEmpowered,
Actions,
Mails,
MailItems,
MailItemsArtifact,
@@ -2980,6 +2983,8 @@ namespace Game
GarrisonBuildings,
GarrisonFollowers,
GarrisonFollowerAbilities,
TraitEntries,
TraitConfigs,
Max
}