aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/scripts/Spells/spell_dh.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_dh.cpp b/src/server/scripts/Spells/spell_dh.cpp
index 8808655cd23..f5e27f9da75 100644
--- a/src/server/scripts/Spells/spell_dh.cpp
+++ b/src/server/scripts/Spells/spell_dh.cpp
@@ -755,7 +755,9 @@ class spell_dh_demonic : public SpellScript
SpellCastTargets targets;
targets.SetUnitTarget(caster);
- Spell* spell = new Spell(caster, sSpellMgr->AssertSpellInfo(_transformSpellId, DIFFICULTY_NONE), TRIGGERED_IGNORE_CAST_IN_PROGRESS | TRIGGERED_DONT_REPORT_CAST_ERROR, ObjectGuid::Empty, GetSpell()->m_castId);
+ Spell* spell = new Spell(caster, sSpellMgr->AssertSpellInfo(_transformSpellId, DIFFICULTY_NONE),
+ TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD | TRIGGERED_IGNORE_CAST_IN_PROGRESS | TRIGGERED_DONT_REPORT_CAST_ERROR,
+ ObjectGuid::Empty, GetSpell()->m_castId);
spell->m_SpellVisual.SpellXSpellVisualID = 0;
spell->m_SpellVisual.ScriptVisualID = 0;
spell->SetSpellValue({ SPELLVALUE_DURATION, duration });