mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[8518] Implement glyph 42745
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
9b57017256
commit
e4ed2ce29c
2 changed files with 12 additions and 2 deletions
|
|
@ -8222,7 +8222,17 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
|
|||
if (spellProto->SpellIconID == 186)
|
||||
{
|
||||
if (pVictim->isFrozen())
|
||||
DoneTotalMod *= 3.0f;
|
||||
{
|
||||
float multiplier = 3.0f;
|
||||
|
||||
// if target have higher level
|
||||
if (pVictim->getLevel() > getLevel())
|
||||
// Glyph of Ice Lance
|
||||
if (Aura* glyph = GetDummyAura(56377))
|
||||
multiplier = glyph->GetModifier()->m_amount;
|
||||
|
||||
DoneTotalMod *= multiplier;
|
||||
}
|
||||
}
|
||||
// Torment the weak affected (Arcane Barrage, Arcane Blast, Frostfire Bolt, Arcane Missiles, Fireball)
|
||||
if ((spellProto->SpellFamilyFlags & UI64LIT(0x0000900020200021)) &&
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8517"
|
||||
#define REVISION_NR "8518"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue