mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9541] Implement first target of spell 1064 and ranks boost from 61301.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
39ed081898
commit
66f0e6662f
2 changed files with 15 additions and 2 deletions
|
|
@ -3072,7 +3072,20 @@ void Spell::EffectHeal(SpellEffectIndex /*eff_idx*/)
|
|||
else
|
||||
addhealth = caster->SpellHealingBonus(unitTarget, m_spellInfo, addhealth, HEAL);
|
||||
|
||||
m_healing+=addhealth;
|
||||
m_healing += addhealth;
|
||||
|
||||
// Chain Healing
|
||||
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN && m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000000100))
|
||||
{
|
||||
// check for Riptide
|
||||
if (unitTarget != m_targets.getUnitTarget())
|
||||
return;
|
||||
Aura* riptide = unitTarget->GetAura(SPELL_AURA_PERIODIC_HEAL, SPELLFAMILY_SHAMAN, 0, 0x00000010, caster->GetGUID());
|
||||
if (!riptide)
|
||||
return;
|
||||
m_healing += m_healing/4;
|
||||
unitTarget->RemoveAura(riptide);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9540"
|
||||
#define REVISION_NR "9541"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue