Core/Spells: Implemented SpellReagentsCurrency.db2

Port From (https://github.com/TrinityCore/TrinityCore/commit/8492c273dd50227ca01ead785eda6c4de9361e74)
This commit is contained in:
hondacrx
2021-10-10 17:02:33 -04:00
parent feec594e98
commit 706567186c
7 changed files with 77 additions and 3 deletions
+3
View File
@@ -208,6 +208,8 @@ namespace Game.Spells
}
}
ReagentsCurrency = data.ReagentsCurrency;
// SpellShapeshiftEntry
SpellShapeshiftRecord _shapeshift = data.Shapeshift;
if (_shapeshift != null)
@@ -3883,6 +3885,7 @@ namespace Game.Spells
public uint[] TotemCategory = new uint[SpellConst.MaxTotems];
public int[] Reagent = new int[SpellConst.MaxReagents];
public uint[] ReagentCount = new uint[SpellConst.MaxReagents];
public List<SpellReagentsCurrencyRecord> ReagentsCurrency = new();
public ItemClass EquippedItemClass { get; set; }
public int EquippedItemSubClassMask { get; set; }
public int EquippedItemInventoryTypeMask { get; set; }