mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
[Bug Fix] Fix NPC Item Stat Bonuses (#3444)
* [Bug Fix] Fix NPC Item Stat Bonuses # Notes - Due to https://github.com/EQEmu/Server/pull/3136 NPCs/Mercs were not receiving stat bonuses from their items, this fixes that. * Update npc.h * Changes. * Cleanup * Cleanup * Update loottables.cpp * Update npc.cpp * Update loottables.cpp
This commit is contained in:
@@ -441,6 +441,8 @@ NPC::NPC(const NPCType *npc_type_data, Spawn2 *in_respawn, const glm::vec4 &posi
|
||||
m_can_open_doors = false;
|
||||
}
|
||||
|
||||
GetInv().SetInventoryVersion(EQ::versions::MobVersion::RoF2);
|
||||
GetInv().SetGMInventory(false);
|
||||
}
|
||||
|
||||
float NPC::GetRoamboxMaxX() const
|
||||
|
||||
Reference in New Issue
Block a user