mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[8525] Implement glyph 45775
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
cfea99ea62
commit
9a7708491f
2 changed files with 10 additions and 2 deletions
|
|
@ -6134,8 +6134,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||||
// Earth Shield
|
// Earth Shield
|
||||||
if (dummySpell->SpellFamilyFlags & UI64LIT(0x0000040000000000))
|
if (dummySpell->SpellFamilyFlags & UI64LIT(0x0000040000000000))
|
||||||
{
|
{
|
||||||
basepoints0 = triggerAmount;
|
|
||||||
target = this;
|
target = this;
|
||||||
|
basepoints0 = triggerAmount;
|
||||||
|
|
||||||
|
// Glyph of Earth Shield
|
||||||
|
if (Aura* aur = GetDummyAura(63279))
|
||||||
|
{
|
||||||
|
int32 aur_mod = aur->GetModifier()->m_amount;
|
||||||
|
basepoints0 = int32(basepoints0 * (aur_mod + 100.0f) / 100.0f);
|
||||||
|
}
|
||||||
|
|
||||||
triggered_spell_id = 379;
|
triggered_spell_id = 379;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8524"
|
#define REVISION_NR "8525"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue