Core/Spells:
* corrected crit chance bonus for Last Word Talent * fixed Improved Searing Pain talent * removed hackfix for Improved Mind Blast * moved Incerate damage bonus hack into proper spell script * updated and fixed Afterpath proc * fixed Shadow and Fame proc * updated Backdraft proc * fixed Burning Embers talent * fixed Empowered Imp talent * fixed Fire and Brimstone damage bonus for Incenerate and Chaos Bolt * updated several spell scripts to new model
This commit is contained in:
1 parent
4b41d2b8e8
commit
0dd5fdafbd
5 files changed
+239
-136
No files matched your search
@@ -397,42 +397,6 @@ void Spell::EffectSchoolDMG(SpellEffIndex effIndex)
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_WARLOCK:
|
||||
{
|
||||
// Incinerate Rank 1 & 2
|
||||
if ((m_spellInfo->SpellFamilyFlags[1] & 0x000040) && m_spellInfo->SpellIconID == 2128)
|
||||
{
|
||||
// Incinerate does more dmg (dmg/6) if the target have Immolate debuff.
|
||||
// Check aura state for speed but aura state set not only for Immolate spell
|
||||
if (unitTarget->HasAuraState(AURA_STATE_CONFLAGRATE))
|
||||
{
|
||||
if (unitTarget->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_WARLOCK, 0x4, 0, 0))
|
||||
damage += damage / 6;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_PRIEST:
|
||||
{
|
||||
// Improved Mind Blast (Mind Blast in shadow form bonus)
|
||||
if (m_caster->GetShapeshiftForm() == FORM_SHADOW && (m_spellInfo->SpellFamilyFlags[0] & 0x00002000))
|
||||
{
|
||||
Unit::AuraEffectList const& ImprMindBlast = m_caster->GetAuraEffectsByType(SPELL_AURA_ADD_FLAT_MODIFIER);
|
||||
for (Unit::AuraEffectList::const_iterator i = ImprMindBlast.begin(); i != ImprMindBlast.end(); ++i)
|
||||
{
|
||||
if ((*i)->GetSpellInfo()->SpellFamilyName == SPELLFAMILY_PRIEST &&
|
||||
((*i)->GetSpellInfo()->SpellIconID == 95))
|
||||
{
|
||||
int chance = (*i)->GetSpellInfo()->Effects[EFFECT_1].CalcValue(m_caster);
|
||||
if (roll_chance_i(chance))
|
||||
// Mind Trauma
|
||||
m_caster->CastSpell(unitTarget, 48301, true, nullptr);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_DEATHKNIGHT:
|
||||
{
|
||||
// Blood Boil - bonus for diseased targets
|
||||
|
||||
Reference in new issue
Block a user