diff options
author | Spp <none@none> | 2010-04-07 23:25:02 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 23:25:02 +0200 |
commit | 2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (patch) | |
tree | b744629b9fc3004bcb717c5f95a10724df3a6a62 /src/game/StatSystem.cpp | |
parent | 49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 (diff) |
Code Style (game + scripts only):
"==" --> " == " (when needed)
--HG--
branch : trunk
Diffstat (limited to 'src/game/StatSystem.cpp')
-rw-r--r-- | src/game/StatSystem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp index 2a7ec56372b..0b7698369f1 100644 --- a/src/game/StatSystem.cpp +++ b/src/game/StatSystem.cpp @@ -321,7 +321,7 @@ void Player::UpdateAttackPowerAndDamage(bool ranged) for (Unit::AuraEffectList::const_iterator itr = mDummy.begin(); itr != mDummy.end(); ++itr) { // Predatory Strikes (effect 0) - if ((*itr)->GetEffIndex()==0 && (*itr)->GetSpellProto()->SpellIconID == 1563) + if ((*itr)->GetEffIndex() == 0 && (*itr)->GetSpellProto()->SpellIconID == 1563) { mLevelMult = (*itr)->GetAmount() / 100.0f; break; @@ -360,7 +360,7 @@ void Player::UpdateAttackPowerAndDamage(bool ranged) //add dynamic flat mods if (ranged) { - if ((getClassMask() & CLASSMASK_WAND_USERS)==0) + if ((getClassMask() & CLASSMASK_WAND_USERS) == 0) { AuraEffectList const& mRAPbyStat = GetAuraEffectsByType(SPELL_AURA_MOD_RANGED_ATTACK_POWER_OF_STAT_PERCENT); for (AuraEffectList::const_iterator i = mRAPbyStat.begin(); i != mRAPbyStat.end(); ++i) @@ -661,7 +661,7 @@ void Player::UpdateAllSpellCritChances() void Player::UpdateExpertise(WeaponAttackType attack) { - if (attack==RANGED_ATTACK) + if (attack == RANGED_ATTACK) return; int32 expertise = int32(GetRatingBonusValue(CR_EXPERTISE)); |