mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 07:30:48 +00:00
Added the initial references for two new dictionaries - EmuConstants and EQLimits..more to come.
This commit is contained in:
1 parent
b7e36feeeb
commit
d7c2d6108f
42 files changed
+1323
-662
No files matched your search
@@ -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