Core/DataStores: Updating spells dbc part 2

This commit is contained in:
Intel
2014-11-10 02:51:55 +02:00
parent f847f55385
commit 43d5fb5eae
21 changed files with 301 additions and 282 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ void Player::UpdateAttackPowerAndDamage(bool ranged)
SpellShapeshiftFormEntry const* form = sSpellShapeshiftFormStore.LookupEntry(GetShapeshiftForm());
// Directly taken from client, SHAPESHIFT_FLAG_AP_FROM_STRENGTH ?
if (form && form->flags1 & 0x20)
if (form && form->Flags & 0x20)
agilityValue += std::max((GetStat(STAT_AGILITY) - 10.0f) * entry->AttackPowerPerStrength, 0.0f);
val2 = strengthValue + agilityValue;