From ec2fd7396f69d9069c6612ec976f3a484e44b3d1 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Wed, 14 Oct 2009 11:45:06 +0400 Subject: [PATCH] [8639] Fixed tabs and trailing whitespaces. --- src/game/Unit.cpp | 12 ++++++------ src/mangosd/Master.cpp | 2 +- src/shared/Threading.cpp | 2 +- src/shared/revision_nr.h | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 065a545d0..3cfc0a3c1 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5882,7 +5882,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu } } - // original heal must be form beacon caster + // original heal must be form beacon caster if (!dummy) return false; @@ -7121,7 +7121,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB case 53817: { // have rank dependent proc chance, ignore too often cases - // PPM = 2.5 * (rank of talent), + // PPM = 2.5 * (rank of talent), uint32 rank = spellmgr.GetSpellRank(auraSpellInfo->Id); // 5 rank -> 100% 4 rank -> 80% and etc from full rate if(!roll_chance_i(20*rank)) @@ -8273,12 +8273,12 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3 // Glyph of Ice Lance if (Aura* glyph = GetDummyAura(56377)) multiplier = glyph->GetModifier()->m_amount; - + DoneTotalMod *= multiplier; } } // Torment the weak affected (Arcane Barrage, Arcane Blast, Frostfire Bolt, Arcane Missiles, Fireball) - if ((spellProto->SpellFamilyFlags & UI64LIT(0x0000900020200021)) && + if ((spellProto->SpellFamilyFlags & UI64LIT(0x0000900020200021)) && (pVictim->HasAuraType(SPELL_AURA_MOD_DECREASE_SPEED) || pVictim->HasAuraType(SPELL_AURA_MELEE_SLOW))) { //Search for Torment the weak dummy aura @@ -8595,7 +8595,7 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM for(AuraList::const_iterator i = mDummyAuras.begin(); i!= mDummyAuras.end(); ++i) { // Improved Flash Heal - if ((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_PRIEST && + if ((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_PRIEST && (*i)->GetSpellProto()->SpellIconID == 2542) { crit_chance+=(*i)->GetModifier()->m_amount; @@ -9333,7 +9333,7 @@ uint32 Unit::MeleeDamageBonus(Unit *pVictim, uint32 pdamage,WeaponAttackType att DoneFlat *= (CastingTime / 3500.0f) * DotFactor * LvlPenalty; TakenFlat*= (CastingTime / 3500.0f) * DotFactor * LvlPenalty; } - } + } // weapon damage based spells else if( APbonus || DoneFlat ) { diff --git a/src/mangosd/Master.cpp b/src/mangosd/Master.cpp index 36ae92e35..1212d94fa 100644 --- a/src/mangosd/Master.cpp +++ b/src/mangosd/Master.cpp @@ -377,7 +377,7 @@ int Master::Run() cliThread->wait(); - #else + #else cliThread->destroy(); diff --git a/src/shared/Threading.cpp b/src/shared/Threading.cpp index 90861b8f4..3938286db 100644 --- a/src/shared/Threading.cpp +++ b/src/shared/Threading.cpp @@ -182,7 +182,7 @@ ACE_THR_FUNC_RETURN Thread::ThreadTask(void * param) Runnable * _task = (Runnable*)param; _task->run(); - // task execution complete, free referecne added at + // task execution complete, free referecne added at _task->decReference(); return (ACE_THR_FUNC_RETURN)0; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d4223664b..aff70574a 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8638" + #define REVISION_NR "8639" #endif // __REVISION_NR_H__