Core/Items: Implemented AzeriteItem
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab6ae44b638136665e2ae6c6a434ad7426621c39)
This commit is contained in:
@@ -1244,6 +1244,17 @@ namespace Game.Entities
|
||||
return;
|
||||
}
|
||||
|
||||
if (id == CurrencyTypes.Azerite)
|
||||
{
|
||||
if (count > 0)
|
||||
{
|
||||
Item heartOfAzeroth = GetItemByEntry(PlayerConst.ItemIdHeartOfAzeroth);
|
||||
if (heartOfAzeroth != null)
|
||||
heartOfAzeroth.ToAzeriteItem().GiveXP((ulong)count);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
uint oldTotalCount = 0;
|
||||
uint oldWeekCount = 0;
|
||||
uint oldTrackedCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user