mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11033] Implement glyph 45793.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
54cb8f1a63
commit
56eb87f1f8
2 changed files with 9 additions and 3 deletions
|
|
@ -8381,8 +8381,14 @@ void Spell::EffectRestoreItemCharges( SpellEffectIndex eff_idx )
|
|||
|
||||
void Spell::EffectRedirectThreat(SpellEffectIndex eff_idx)
|
||||
{
|
||||
if (unitTarget)
|
||||
m_caster->getHostileRefManager().SetThreatRedirection(unitTarget->GetObjectGuid(), uint32(damage));
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
if (m_spellInfo->Id == 59665) // Vigilance
|
||||
if (Aura *glyph = unitTarget->GetDummyAura(63326)) // Glyph of Vigilance
|
||||
damage += glyph->GetModifier()->m_amount;
|
||||
|
||||
m_caster->getHostileRefManager().SetThreatRedirection(unitTarget->GetObjectGuid(), uint32(damage));
|
||||
}
|
||||
|
||||
void Spell::EffectTeachTaxiNode( SpellEffectIndex eff_idx )
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11032"
|
||||
#define REVISION_NR "11033"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue