[7126] Fixed typo in spell 53301 and ranks dummy tick.

Fixed typo in spell 53290 and ranks dummy proc.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
pasdVn 2009-01-20 22:37:59 +01:00 committed by ApoC
parent 921914f87e
commit 1d0d9c6fa2
3 changed files with 3 additions and 3 deletions

View file

@ -6553,7 +6553,7 @@ void Aura::PeriodicDummyTick()
if (!caster) if (!caster)
return; return;
// Skip 0 tick // Skip 0 tick
if (m_duration < m_modifier.periodictime) if (m_duration > m_modifier.periodictime)
return; return;
int32 damage = caster->CalculateSpellDamage(spell, GetEffIndex(), GetBasePoints(), m_target); int32 damage = caster->CalculateSpellDamage(spell, GetEffIndex(), GetBasePoints(), m_target);
damage+=caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 8 / 100; damage+=caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 8 / 100;

View file

@ -5277,7 +5277,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
{ {
triggered_spell_id = 57669; triggered_spell_id = 57669;
target = this; target = this;
return true; break;
} }
// Lock and Load // Lock and Load
if ( dummySpell->SpellIconID == 3579 ) if ( dummySpell->SpellIconID == 3579 )

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7125" #define REVISION_NR "7126"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__