*Make Shadow Embrace reduce hots effect.

*Fix Glyph of Conflagrate.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-04-18 11:52:47 +02:00
parent 41db150de1
commit 8e9d3a5964
2 changed files with 9 additions and 0 deletions
@@ -0,0 +1,6 @@
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (32386, 32388, 32389, 32390, 32391);
INSERT INTO `spell_linked_spell` VALUES (32386, 60448, 1, 'Shadow Embrace Rank1');
INSERT INTO `spell_linked_spell` VALUES (32388, 60465, 1, 'Shadow Embrace Rank2');
INSERT INTO `spell_linked_spell` VALUES (32389, 60466, 1, 'Shadow Embrace Rank3');
INSERT INTO `spell_linked_spell` VALUES (32390, 60467, 1, 'Shadow Embrace Rank4');
INSERT INTO `spell_linked_spell` VALUES (32391, 60468, 1, 'Shadow Embrace Rank5');
+3
View File
@@ -451,6 +451,9 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
// Conflagrate - consumes immolate // Conflagrate - consumes immolate
if (m_spellInfo->TargetAuraState == AURA_STATE_IMMOLATE) if (m_spellInfo->TargetAuraState == AURA_STATE_IMMOLATE)
{ {
// Glyph of Conflagrate
if (m_caster->HasAura(56235))
break;
// for caster applied auras only // for caster applied auras only
Unit::AuraEffectList const &mPeriodic = unitTarget->GetAurasByType(SPELL_AURA_PERIODIC_DAMAGE); Unit::AuraEffectList const &mPeriodic = unitTarget->GetAurasByType(SPELL_AURA_PERIODIC_DAMAGE);
for(Unit::AuraEffectList::const_iterator i = mPeriodic.begin(); i != mPeriodic.end(); ++i) for(Unit::AuraEffectList::const_iterator i = mPeriodic.begin(); i != mPeriodic.end(); ++i)