Core/DataStores: Fixed ItemSparse.db2 structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/c59937a835ced52c6b3b938c6442fd1093f82cf5)
This commit is contained in:
@@ -657,13 +657,13 @@ namespace Framework.Database
|
|||||||
|
|
||||||
// ItemSparse.db2
|
// ItemSparse.db2
|
||||||
PrepareStatement(HotfixStatements.SEL_ITEM_SPARSE, "SELECT ID, AllowableRace, Description, Display3, Display2, Display1, Display, ExpansionID, DmgVariance, " +
|
PrepareStatement(HotfixStatements.SEL_ITEM_SPARSE, "SELECT ID, AllowableRace, Description, Display3, Display2, Display1, Display, ExpansionID, DmgVariance, " +
|
||||||
"InstanceBound, DurationInInventory, QualityModifier, BagFamily, ItemRange, StatPercentageOfSocket1, StatPercentageOfSocket2, " +
|
"LimitCategory, DurationInInventory, QualityModifier, BagFamily, ItemRange, StatPercentageOfSocket1, StatPercentageOfSocket2, " +
|
||||||
"StatPercentageOfSocket3, StatPercentageOfSocket4, StatPercentageOfSocket5, StatPercentageOfSocket6, StatPercentageOfSocket7, " +
|
"StatPercentageOfSocket3, StatPercentageOfSocket4, StatPercentageOfSocket5, StatPercentageOfSocket6, StatPercentageOfSocket7, " +
|
||||||
"StatPercentageOfSocket8, StatPercentageOfSocket9, StatPercentageOfSocket10, StatPercentEditor1, StatPercentEditor2, StatPercentEditor3, " +
|
"StatPercentageOfSocket8, StatPercentageOfSocket9, StatPercentageOfSocket10, StatPercentEditor1, StatPercentEditor2, StatPercentEditor3, " +
|
||||||
"StatPercentEditor4, StatPercentEditor5, StatPercentEditor6, StatPercentEditor7, StatPercentEditor8, StatPercentEditor9, StatPercentEditor10, " +
|
"StatPercentEditor4, StatPercentEditor5, StatPercentEditor6, StatPercentEditor7, StatPercentEditor8, StatPercentEditor9, StatPercentEditor10, " +
|
||||||
"Stackable, MaxCount, RequiredAbility, SellPrice, BuyPrice, VendorStackCount, PriceVariance, PriceRandomValue, Flags1, Flags2, Flags3, " +
|
"Stackable, MaxCount, RequiredAbility, SellPrice, BuyPrice, VendorStackCount, PriceVariance, PriceRandomValue, Flags1, Flags2, Flags3, " +
|
||||||
"Flags4, FactionRelated, ModifiedCraftingReagentItemID, ContentTuningID, PlayerLevelToItemLevelCurveID, ItemNameDescriptionID, " +
|
"Flags4, FactionRelated, ModifiedCraftingReagentItemID, ContentTuningID, PlayerLevelToItemLevelCurveID, ItemNameDescriptionID, " +
|
||||||
"RequiredTransmogHoliday, RequiredHoliday, LimitCategory, GemProperties, SocketMatchEnchantmentId, TotemCategoryID, ZoneBound1, ZoneBound2, " +
|
"RequiredTransmogHoliday, RequiredHoliday, GemProperties, SocketMatchEnchantmentId, TotemCategoryID, InstanceBound, ZoneBound1, ZoneBound2, " +
|
||||||
"ItemSet, LockID, StartQuestID, PageID, ItemDelay, MinFactionID, RequiredSkillRank, RequiredSkill, ItemLevel, AllowableClass, ArtifactID, " +
|
"ItemSet, LockID, StartQuestID, PageID, ItemDelay, MinFactionID, RequiredSkillRank, RequiredSkill, ItemLevel, AllowableClass, ArtifactID, " +
|
||||||
"SpellWeight, SpellWeightCategory, SocketType1, SocketType2, SocketType3, SheatheType, Material, PageMaterialID, LanguageID, Bonding, " +
|
"SpellWeight, SpellWeightCategory, SocketType1, SocketType2, SocketType3, SheatheType, Material, PageMaterialID, LanguageID, Bonding, " +
|
||||||
"DamageDamageType, StatModifierBonusStat1, StatModifierBonusStat2, StatModifierBonusStat3, StatModifierBonusStat4, StatModifierBonusStat5, " +
|
"DamageDamageType, StatModifierBonusStat1, StatModifierBonusStat2, StatModifierBonusStat3, StatModifierBonusStat4, StatModifierBonusStat5, " +
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ namespace Game.DataStorage
|
|||||||
public LocalizedString Display;
|
public LocalizedString Display;
|
||||||
public int ExpansionID;
|
public int ExpansionID;
|
||||||
public float DmgVariance;
|
public float DmgVariance;
|
||||||
public uint InstanceBound;
|
public uint LimitCategory;
|
||||||
public uint DurationInInventory;
|
public uint DurationInInventory;
|
||||||
public float QualityModifier;
|
public float QualityModifier;
|
||||||
public uint BagFamily;
|
public uint BagFamily;
|
||||||
@@ -367,10 +367,10 @@ namespace Game.DataStorage
|
|||||||
public ushort ItemNameDescriptionID;
|
public ushort ItemNameDescriptionID;
|
||||||
public ushort RequiredTransmogHoliday;
|
public ushort RequiredTransmogHoliday;
|
||||||
public ushort RequiredHoliday;
|
public ushort RequiredHoliday;
|
||||||
public ushort LimitCategory;
|
|
||||||
public ushort GemProperties;
|
public ushort GemProperties;
|
||||||
public ushort SocketMatchEnchantmentId;
|
public ushort SocketMatchEnchantmentId;
|
||||||
public ushort TotemCategoryID;
|
public ushort TotemCategoryID;
|
||||||
|
public ushort InstanceBound;
|
||||||
public ushort[] ZoneBound = new ushort[2];
|
public ushort[] ZoneBound = new ushort[2];
|
||||||
public ushort ItemSet;
|
public ushort ItemSet;
|
||||||
public ushort LockID;
|
public ushort LockID;
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE `item_sparse` MODIFY `InstanceBound` smallint(5) unsigned NOT NULL DEFAULT '0' AFTER `TotemCategoryID`;
|
||||||
|
ALTER TABLE `item_sparse` MODIFY `LimitCategory` int(11) NOT NULL DEFAULT '0' AFTER `DmgVariance`;
|
||||||
Reference in New Issue
Block a user