mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[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:
parent
921914f87e
commit
1d0d9c6fa2
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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 )
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue