diff options
author | Spp <none@none> | 2010-04-11 20:20:38 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-11 20:20:38 +0200 |
commit | 65c3e979e2eed9e2485caf65b487dbd2219c0592 (patch) | |
tree | 5ecb0c945d99401d87fcfe116dfbc369328c4829 /src/game/Unit.cpp | |
parent | c592fc75809e420eb3554b12c31eb645a8aae280 (diff) |
Tab to Spaces and remove of trailing spaces
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 2605f760faf..4c541c7e9df 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -1702,7 +1702,7 @@ void Unit::CalcAbsorbResist(Unit *pVictim, SpellSchoolMask schoolMask, DamageEff bool existExpired = false; TriggeredSpellInfoVct triggeredSpells; - // Incanter's Absorption, for converting to spell power + // Incanter's Absorption, for converting to spell power int32 incanterAbsorption = 0; // absorb without mana cost @@ -1955,7 +1955,7 @@ void Unit::CalcAbsorbResist(Unit *pVictim, SpellSchoolMask schoolMask, DamageEff RemainingDamage -= currentAbsorb; // Fire Ward or Frost Ward or Ice Barrier (or Mana Shield) - // for Incanter's Absorption converting to spell power + // for Incanter's Absorption converting to spell power if (spellProto->SpellFamilyName == SPELLFAMILY_MAGE && spellProto->SpellFamilyFlags[2] & 0x000008) incanterAbsorption += currentAbsorb; @@ -2025,7 +2025,7 @@ void Unit::CalcAbsorbResist(Unit *pVictim, SpellSchoolMask schoolMask, DamageEff } // Mana Shield (or Fire Ward or Frost Ward or Ice Barrier) - // for Incanter's Absorption converting to spell power + // for Incanter's Absorption converting to spell power if ((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_MAGE && (*i)->GetSpellProto()->SpellFamilyFlags[2] & 0x000008) incanterAbsorption += currentAbsorb; @@ -12257,7 +12257,7 @@ int32 Unit::CalculateSpellDamage(Unit const* target, SpellEntry const* spellProt switch(randomPoints) { - case 0: // not used + case 0: // not used case 1: basePoints += 1; break; // range 1..1 default: // range can have positive (1..rand) and negative (rand..1) values, so order its for irand @@ -12265,9 +12265,9 @@ int32 Unit::CalculateSpellDamage(Unit const* target, SpellEntry const* spellProt ? irand(1, randomPoints) : irand(randomPoints, 1); - basePoints += randvalue; + basePoints += randvalue; break; - } + } int32 value = basePoints; |