Core/Creatures: Allow profession tools to be used as equipment
Port From (https://github.com/TrinityCore/TrinityCore/commit/2238844f567b63de1edd394b654b62ac4ddeb666)
This commit is contained in:
@@ -94,6 +94,20 @@ namespace Framework.Constants
|
||||
ItemModifier.TransmogSecondaryAppearanceSpec4,
|
||||
ItemModifier.TransmogSecondaryAppearanceSpec5
|
||||
};
|
||||
|
||||
public static InventoryType[] InventoryTypesEquipable =
|
||||
{
|
||||
InventoryType.Weapon,
|
||||
InventoryType.Shield,
|
||||
InventoryType.Ranged,
|
||||
InventoryType.Weapon2Hand,
|
||||
InventoryType.WeaponMainhand,
|
||||
InventoryType.WeaponOffhand,
|
||||
InventoryType.Holdable,
|
||||
InventoryType.Thrown,
|
||||
InventoryType.RangedRight,
|
||||
InventoryType.ProfessionTool
|
||||
};
|
||||
}
|
||||
|
||||
public struct ProfessionSlots
|
||||
|
||||
Reference in New Issue
Block a user