Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
- index a391398..5da09c5 100644
- --- a/src/server/game/Spells/SpellEffects.cpp
- +++ b/src/server/game/Spells/SpellEffects.cpp
- @@ -1130,6 +1130,26 @@ void Spell::SpellDamageSchoolDmg(SpellEffIndex effIndex)
- }
- case SPELLFAMILY_MAGE:
- {
- + // FrostBolt
- + if (m_spellInfo->Id == 116)
- + {
- + // Early Frost
- + if (AuraEffect* aurEff = m_caster->GetAuraEffect(SPELL_AURA_ADD_FLAT_MODIFIER, SPELLFAMILY_MAGE, 189, 0))
- + {
- + uint32 spellId = 0;
- + switch (aurEff->GetId())
- + {
- + case 83049:
- + spellId = 83162;
- + break;
- + case 83050:
- + spellId = 83239;
- + break;
- + }
- + if(spellId && !m_caster->HasAura(spellId))
- + m_caster->CastSpell(m_caster, spellId, true);
- + }
- + }
- if (m_spellInfo->Id == 42208) // Blizzard
- {
- if (m_caster && m_caster->HasAura(11185))
Advertisement
Add Comment
Please, Sign In to add comment