Core/Items: Implement azerite empowered items

Port From (https://github.com/TrinityCore/TrinityCore/commit/d934824421c83598853487c5cc9e4cbb3c5d0006)
This commit is contained in:
hondacrx
2019-12-05 22:55:44 -05:00
parent 86e1065da0
commit 5b9ad41953
47 changed files with 1050 additions and 239 deletions
+3 -3
View File
@@ -218,7 +218,7 @@ namespace Game
public void LoadQuestObjective(SQLFields fields)
{
QuestObjective obj = new QuestObjective();
obj.ID = fields.Read<uint>(0);
obj.Id = fields.Read<uint>(0);
obj.QuestID = fields.Read<uint>(1);
obj.Type = (QuestObjectiveType)fields.Read<byte>(2);
obj.StorageIndex = fields.Read<sbyte>(3);
@@ -238,7 +238,7 @@ namespace Game
foreach (QuestObjective obj in Objectives)
{
if (obj.ID == objID)
if (obj.Id == objID)
{
byte effectIndex = fields.Read<byte>(3);
if (obj.VisualEffects == null)
@@ -728,7 +728,7 @@ namespace Game
public class QuestObjective
{
public uint ID;
public uint Id;
public uint QuestID;
public QuestObjectiveType Type;
public sbyte StorageIndex;