aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-04 10:33:18 -0600
committermegamage <none@none>2009-02-04 10:33:18 -0600
commit4d008f2043084b72fb9d4a9929ff2793c7bbd8ee (patch)
tree13e4adc5b3dae7f3c1805c95e940d785535375af /src/game/SpellAuras.cpp
parentedbfb386ce87f918da8e11e843d7b5a227e5328d (diff)
Replace tabs with spaces, and fix crlf issues
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index cd9e41f2c5e..23d334008ed 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -344,7 +344,7 @@ m_periodicTimer(0), m_PeriodicEventId(0), m_AuraDRGroup(DIMINISHING_NONE)
damage = caster->CalculateSpellDamage(m_spellProto, m_effIndex, m_currentBasePoints, target);
else
damage = m_currentBasePoints + 1;
- }
+ }
m_isPassive = IsPassiveSpell(GetId());
m_positive = IsPositiveEffect(GetId(), m_effIndex);
@@ -616,7 +616,7 @@ void AreaAura::Update(uint32 diff)
switch(m_areaAuraType)
{
case AREA_AURA_PARTY:
- caster->GetPartyMember(targets, m_radius);
+ caster->GetPartyMember(targets, m_radius);
break;
case AREA_AURA_FRIEND:
{
@@ -878,7 +878,7 @@ void Aura::_AddAura()
SetAuraFlag(slot, true);
SetAuraLevel(slot,caster ? caster->getLevel() : sWorld.getConfig(CONFIG_MAX_PLAYER_LEVEL));
UpdateAuraCharges();
-
+
// update for out of range group members
m_target->UpdateAuraForGroup(slot);
}
@@ -887,7 +887,7 @@ void Aura::_AddAura()
{
SetAuraSlot( slot );
}
-
+
UpdateSlotCounterAndDuration();
// Update Seals information
@@ -1270,7 +1270,7 @@ void Aura::TriggerSpell()
// // Five Fat Finger Exploding Heart Technique
// case 27673: break;
// Nitrous Boost
- case 27746:
+ case 27746:
{
if (caster->GetPower(POWER_MANA) >= 10)
{
@@ -1578,7 +1578,7 @@ void Aura::TriggerSpell()
(*i)->ApplyModifier(true);
break;
}
- }
+ }
}break;
// // Dementia
// case 41404: break;
@@ -2180,7 +2180,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
if (totem && totem->isTotem())
totem->AddPlayerToVision((Player*)caster);
}
- }
+ }
else
((Player*)caster)->RemoveFarsightTarget();
return;
@@ -2909,7 +2909,7 @@ void Aura::HandleModCharm(bool apply, bool Real)
{
if(int32(m_target->getLevel()) > m_modifier.m_amount)
return;
-
+
m_target->SetCharmedOrPossessedBy(caster, false);
}
else
@@ -3606,7 +3606,7 @@ void Aura::HandleAuraModSchoolImmunity(bool apply, bool Real)
{
if(apply && m_modifier.m_miscvalue == SPELL_SCHOOL_MASK_NORMAL)
m_target->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_UNATTACKABLE);
-
+
m_target->ApplySpellImmune(GetId(),IMMUNITY_SCHOOL,m_modifier.m_miscvalue,apply);
if(Real && apply && GetSpellProto()->AttributesEx & SPELL_ATTR_EX_DISPEL_AURAS_ON_IMMUNITY)
@@ -5288,7 +5288,7 @@ void Aura::PeriodicTick()
break;
}
case 41337:// aura of anger
- {
+ {
Unit::AuraList const& mMod = m_target->GetAurasByType(SPELL_AURA_MOD_DAMAGE_PERCENT_DONE);
for(Unit::AuraList::const_iterator i = mMod.begin(); i != mMod.end(); ++i)
{
@@ -5299,7 +5299,7 @@ void Aura::PeriodicTick()
(*i)->ApplyModifier(true);
break;
}
- }
+ }
m_modifier.m_amount += 100;
}break;
default: