Core: Updated to 11.2.5.63704

Port From (https://github.com/TrinityCore/TrinityCore/commit/53068a94e88991ae7196fb247df4b7ca2e47e554)
This commit is contained in:
Hondacrx
2025-12-16 13:57:09 -05:00
parent ed33a88776
commit 3a890782b5
57 changed files with 3079 additions and 2630 deletions
+7 -1
View File
@@ -139,7 +139,7 @@ namespace Game
if (tree != null)
tree.SubTrees.Add(subTree);
_traitSubTrees[(int)traitSubTree.ID] = subTree;
_traitSubTrees[(int)traitSubTree.Id] = subTree;
}
foreach (var (_, traitNodeGroup) in CliDB.TraitNodeGroupStorage)
@@ -470,6 +470,12 @@ namespace Game
}
}
break;
case TraitCurrencyType.TraitSourcedPlayerDataElement:
if (currency.PlayerDataElementAccountID != 0)
currencies[currency.Id] += player.GetDataElementAccount((uint)currency.CurrencyTypesID);
else if (currency.PlayerDataElementCharacterID != 0)
currencies[currency.Id] += player.GetDataElementCharacter((uint)currency.CurrencyTypesID);
break;
default:
break;
}