mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Added the initial references for two new dictionaries - EmuConstants and EQLimits..more to come.
This commit is contained in:
@@ -1969,14 +1969,14 @@ int Client::GetRawACNoShield(int &shield_ac) const
|
||||
{
|
||||
int ac = itembonuses.AC + spellbonuses.AC;
|
||||
shield_ac = 0;
|
||||
const ItemInst *inst = m_inv.GetItem(SLOT_SECONDARY);
|
||||
const ItemInst *inst = m_inv.GetItem(MainSecondary);
|
||||
if(inst)
|
||||
{
|
||||
if(inst->GetItem()->ItemType == ItemTypeShield)
|
||||
{
|
||||
ac -= inst->GetItem()->AC;
|
||||
shield_ac = inst->GetItem()->AC;
|
||||
for(uint8 i = 0; i < MAX_AUGMENT_SLOTS; i++)
|
||||
for (uint8 i = 0; i < EmuConstants::ITEM_COMMON_SIZE; i++)
|
||||
{
|
||||
if(inst->GetAugment(i))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user