Core/Creatures: Allow profession tools to be used as equipment

Port From (https://github.com/TrinityCore/TrinityCore/commit/2238844f567b63de1edd394b654b62ac4ddeb666)
This commit is contained in:
Hondacrx
2024-08-19 19:26:00 -04:00
parent fceaff3444
commit 9606343613
3 changed files with 44 additions and 11 deletions
+14
View File
@@ -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