mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[8875] Update spell 51505 and ranks work for 3.2.x
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
4a6da1ad32
commit
9c2ee856e0
2 changed files with 2 additions and 6 deletions
|
|
@ -8799,13 +8799,9 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM
|
||||||
// Lava Burst
|
// Lava Burst
|
||||||
if (spellProto->SpellFamilyFlags & UI64LIT(0x0000100000000000))
|
if (spellProto->SpellFamilyFlags & UI64LIT(0x0000100000000000))
|
||||||
{
|
{
|
||||||
|
// Flame Shock
|
||||||
if (Aura *flameShock = pVictim->GetAura(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_SHAMAN, UI64LIT(0x0000000010000000), 0, GetGUID()))
|
if (Aura *flameShock = pVictim->GetAura(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_SHAMAN, UI64LIT(0x0000000010000000), 0, GetGUID()))
|
||||||
{
|
|
||||||
// Consume shock aura if not have Glyph of Flame Shock
|
|
||||||
if (!GetAura(55447, 0))
|
|
||||||
pVictim->RemoveAurasByCasterSpell(flameShock->GetId(), GetGUID());
|
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
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 "8874"
|
#define REVISION_NR "8875"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue