diff options
| author | QAston <none@none> | 2009-05-19 20:33:11 +0200 | 
|---|---|---|
| committer | QAston <none@none> | 2009-05-19 20:33:11 +0200 | 
| commit | e348b671e7cbe8ce328a4bf07c635328a4accb3c (patch) | |
| tree | 669e62463079ba5af3826a50300f77bd7d0ca649 /src/game/SpellAuras.cpp | |
| parent | 2b47f0c0f7756b89384a3c6969a8a133b3a18ee8 (diff) | |
*Corret proc from bloodsurge and judgements of the wise
*Do not proc backfire dmg from sw:death if target is killed
*Allow hots to proc from selfcast
*Fix glyph of corruption.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 7 | 
1 files changed, 2 insertions, 5 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 457b020864c..2145c19e6de 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2777,7 +2777,6 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)              {                  if(apply)                  { -                    // Reduce backfire damage (dot damage) from Shadow Word: Death                      SpellModifier *mod = new SpellModifier;                      mod->op = SPELLMOD_CHANCE_OF_SUCCESS;                      mod->value = 100; @@ -6030,15 +6029,13 @@ void AuraEffect::PeriodicTick()                  if( BattleGround *bg = ((Player*)pCaster)->GetBattleGround() )                      bg->UpdatePlayerScore(((Player*)pCaster), SCORE_HEALING_DONE, gain); -            //Do check before because m_modifier.auraName can be invalidate by DealDamage. -            bool procSpell = (m_auraName == SPELL_AURA_PERIODIC_HEAL && m_target != pCaster); -              m_target->getHostilRefManager().threatAssist(pCaster, float(gain) * 0.5f, GetSpellProto());              Unit* target = m_target;                        // aura can be deleted in DealDamage              SpellEntry const* spellProto = GetSpellProto();              bool haveCastItem = GetParentAura()->GetCastItemGUID()!=0; +            // Health Funnel              // heal for caster damage              if(m_target!=pCaster && spellProto->SpellVisual[0]==163)              { @@ -6074,7 +6071,7 @@ void AuraEffect::PeriodicTick()              uint32 procVictim   = PROC_FLAG_ON_TAKE_PERIODIC;              uint32 procEx = PROC_EX_INTERNAL_HOT | PROC_EX_NORMAL_HIT;              // ignore item heals -            if(procSpell && !haveCastItem) +            if(!haveCastItem)                  pCaster->ProcDamageAndSpell(target, procAttacker, procVictim, procEx, pdamage, BASE_ATTACK, spellProto);              break;          }  | 
