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
+77
View File
@@ -2213,6 +2213,23 @@ namespace Framework.Constants
SharedActionBars = 0x4
}
[Flags]
public enum TraitCondFlags
{
None = 0x0,
IsGate = 0x1,
IsAlwaysMet = 0x2,
IsSufficient = 0x4,
}
public enum TraitConditionType
{
Available = 0,
Visible = 1,
Granted = 2,
Increased = 3
}
public enum TraitConfigType
{
Invalid = 0,
@@ -2221,6 +2238,66 @@ namespace Framework.Constants
Generic = 3
}
public enum TraitCurrencyType
{
Gold = 0,
CurrencyTypesBased = 1,
TraitSourced = 2
}
public enum TraitEdgeType
{
VisualOnly = 0,
DeprecatedRankConnection = 1,
SufficientForAvailability = 2,
RequiredForAvailability = 3,
MutuallyExclusive = 4,
DeprecatedSelectionOption = 5
}
public enum TraitNodeEntryType
{
SpendHex = 0,
SpendSquare = 1,
SpendCircle = 2,
SpendSmallCircle = 3,
DeprecatedSelect = 4,
DragAndDrop = 5,
SpendDiamond = 6,
ProfPath = 7,
ProfPerk = 8,
ProfPathUnlock = 9
}
[Flags]
public enum TraitNodeGroupFlag
{
None = 0x0,
AvailableByDefault = 0x1
}
public enum TraitNodeType
{
Single = 0,
Tiered = 1,
Selection = 2
}
public enum TraitPointsOperationType
{
None = -1,
Set = 0,
Multiply = 1
}
[Flags]
public enum TraitTreeFlag
{
None = 0x0,
CannotRefund = 0x1,
HideSingleRankNumbers = 0x2
}
public enum UiMapFlag
{
None = 0x00,