mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Hero Forge robes are now visible at character select. Items using a robe HF ID need use the actual ID in the DB i.e. 11607-12107. WearChange command modified to allow both shorthand HF IDs and explicit IDs.
This commit is contained in:
+10
-10
@@ -539,16 +539,16 @@ EQEmu::ItemInstance* EQEmu::ItemInstance::GetOrnamentationAug(int32 ornamentatio
|
||||
}
|
||||
|
||||
uint32 EQEmu::ItemInstance::GetOrnamentHeroModel(int32 material_slot) const {
|
||||
uint32 HeroModel = 0;
|
||||
if (m_ornament_hero_model > 0)
|
||||
{
|
||||
HeroModel = m_ornament_hero_model;
|
||||
if (material_slot >= 0)
|
||||
{
|
||||
HeroModel = (m_ornament_hero_model * 100) + material_slot;
|
||||
}
|
||||
}
|
||||
return HeroModel;
|
||||
// Not a Hero Forge item.
|
||||
if (m_ornament_hero_model == 0)
|
||||
return 0;
|
||||
|
||||
// Item is using an explicit Hero Forge ID
|
||||
if (m_ornament_hero_model >= 1000)
|
||||
return m_ornament_hero_model;
|
||||
|
||||
// Item is using a shorthand ID
|
||||
return (m_ornament_hero_model * 100) + material_slot;
|
||||
}
|
||||
|
||||
bool EQEmu::ItemInstance::UpdateOrnamentationInfo() {
|
||||
|
||||
Reference in New Issue
Block a user