aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index c3cbb57045f..70ecf782e37 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5547,16 +5547,25 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
triggered_spell_id = 54181;
break;
}
- switch(dummySpell->Id)
+ switch (dummySpell->Id)
{
// Siphon Life
case 63108:
{
+ // Glyph of Siphon Life
+ if (HasAura(56216))
+ triggerAmount += triggerAmount * 25 / 100;
triggered_spell_id = 63106;
target = this;
basepoints0 = int32(damage*triggerAmount/100);
break;
}
+ // Glyph of Life Tap
+ case 63320:
+ {
+ triggered_spell_id = 63321;
+ break;
+ }
// Nightfall
case 18094:
case 18095:
@@ -9263,7 +9272,13 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
if (spellProto->SpellIconID == 186)
{
if (pVictim->HasAuraState(AURA_STATE_FROZEN, spellProto, this))
- DoneTotalMod *= 3.0f;
+ {
+ // Glyph of Ice Lance
+ if (owner->HasAura(56377) && pVictim->getLevel() > owner->getLevel())
+ DoneTotalMod *= 4.0f;
+ else
+ DoneTotalMod *= 3.0f;
+ }
}
// Torment the weak