Core/Spells: Implemented SpellReagentsCurrency.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/8492c273dd50227ca01ead785eda6c4de9361e74)
This commit is contained in:
@@ -293,6 +293,7 @@ namespace Game.DataStorage
|
||||
SpellRadiusStorage = ReadDB2<SpellRadiusRecord>("SpellRadius.db2", HotfixStatements.SEL_SPELL_RADIUS);
|
||||
SpellRangeStorage = ReadDB2<SpellRangeRecord>("SpellRange.db2", HotfixStatements.SEL_SPELL_RANGE, HotfixStatements.SEL_SPELL_RANGE_LOCALE);
|
||||
SpellReagentsStorage = ReadDB2<SpellReagentsRecord>("SpellReagents.db2", HotfixStatements.SEL_SPELL_REAGENTS);
|
||||
SpellReagentsCurrencyStorage = ReadDB2<SpellReagentsCurrencyRecord>("SpellReagentsCurrency.db2", HotfixStatements.SEL_SPELL_REAGENTS_CURRENCY);
|
||||
SpellScalingStorage = ReadDB2<SpellScalingRecord>("SpellScaling.db2", HotfixStatements.SEL_SPELL_SCALING);
|
||||
SpellShapeshiftStorage = ReadDB2<SpellShapeshiftRecord>("SpellShapeshift.db2", HotfixStatements.SEL_SPELL_SHAPESHIFT);
|
||||
SpellShapeshiftFormStorage = ReadDB2<SpellShapeshiftFormRecord>("SpellShapeshiftForm.db2", HotfixStatements.SEL_SPELL_SHAPESHIFT_FORM, HotfixStatements.SEL_SPELL_SHAPESHIFT_FORM_LOCALE);
|
||||
@@ -665,6 +666,7 @@ namespace Game.DataStorage
|
||||
public static DB6Storage<SpellRadiusRecord> SpellRadiusStorage;
|
||||
public static DB6Storage<SpellRangeRecord> SpellRangeStorage;
|
||||
public static DB6Storage<SpellReagentsRecord> SpellReagentsStorage;
|
||||
public static DB6Storage<SpellReagentsCurrencyRecord> SpellReagentsCurrencyStorage;
|
||||
public static DB6Storage<SpellScalingRecord> SpellScalingStorage;
|
||||
public static DB6Storage<SpellShapeshiftRecord> SpellShapeshiftStorage;
|
||||
public static DB6Storage<SpellShapeshiftFormRecord> SpellShapeshiftFormStorage;
|
||||
|
||||
@@ -482,6 +482,14 @@ namespace Game.DataStorage
|
||||
public ushort[] ReagentCount = new ushort[SpellConst.MaxReagents];
|
||||
}
|
||||
|
||||
public sealed class SpellReagentsCurrencyRecord
|
||||
{
|
||||
public uint Id;
|
||||
public int SpellID;
|
||||
public ushort CurrencyTypesID;
|
||||
public ushort CurrencyCount;
|
||||
}
|
||||
|
||||
public sealed class SpellScalingRecord
|
||||
{
|
||||
public uint Id;
|
||||
|
||||
Reference in New Issue
Block a user