aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorAqua Deus <95978183+aquadeus@users.noreply.github.com>2026-01-10 00:19:31 +0100
committerGitHub <noreply@github.com>2026-01-10 00:19:31 +0100
commitc85a061328bf5cd251ac1af633972fa9ead84afa (patch)
treea8fe8b257d15af1f60993e46759ec02507336f2e /src/server
parentfc3bc4cef2e9115ad90d1778b9c311a4a298f5f8 (diff)
Scripts/Spells: Fix dh Sigil of Flame energize (#31473)
Diffstat (limited to 'src/server')
-rw-r--r--src/server/scripts/Spells/spell_dh.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/server/scripts/Spells/spell_dh.cpp b/src/server/scripts/Spells/spell_dh.cpp
index b95d1c367ef..00f6eb3f11b 100644
--- a/src/server/scripts/Spells/spell_dh.cpp
+++ b/src/server/scripts/Spells/spell_dh.cpp
@@ -195,6 +195,7 @@ enum DemonHunterSpells
SPELL_DH_SIGIL_OF_CHAINS_VISUAL = 208673,
SPELL_DH_SIGIL_OF_FLAME = 204596,
SPELL_DH_SIGIL_OF_FLAME_AOE = 204598,
+ SPELL_DH_SIGIL_OF_FLAME_ENERGIZE = 389787,
SPELL_DH_SIGIL_OF_FLAME_FLAME_CRASH = 228973,
SPELL_DH_SIGIL_OF_FLAME_VISUAL = 208710,
SPELL_DH_SIGIL_OF_MISERY_AOE = 207685,
@@ -1952,6 +1953,29 @@ class spell_dh_sigil_of_chains : public SpellScript
}
};
+// 204596 - Sigil of Flame
+class spell_dh_sigil_of_flame : public SpellScript
+{
+ bool Validate(SpellInfo const* /*spellInfo*/) override
+ {
+ return ValidateSpellInfo({ SPELL_DH_SIGIL_OF_FLAME_ENERGIZE });
+ }
+
+ void HandleEnergize(SpellEffIndex /*effIndex*/) const
+ {
+ Unit* caster = GetCaster();
+ caster->CastSpell(caster, SPELL_DH_SIGIL_OF_FLAME_ENERGIZE, CastSpellExtraArgsInit{
+ .TriggerFlags = TRIGGERED_IGNORE_CAST_IN_PROGRESS | TRIGGERED_DONT_REPORT_CAST_ERROR,
+ .TriggeringSpell = GetSpell()
+ });
+ }
+
+ void Register() override
+ {
+ OnEffectHit += SpellEffectFn(spell_dh_sigil_of_flame::HandleEnergize, EFFECT_0, SPELL_EFFECT_DUMMY);
+ }
+};
+
// Called by 204598 - Sigil of Flame
class spell_dh_student_of_suffering : public SpellScript
{
@@ -2128,6 +2152,7 @@ void AddSC_demon_hunter_spell_scripts()
RegisterAreaTriggerAI(at_dh_shattered_souls_vengeance_lesser);
RegisterAreaTriggerAI(at_dh_shattered_souls_vengeance_shattered);
RegisterSpellScript(spell_dh_sigil_of_chains);
+ RegisterSpellScript(spell_dh_sigil_of_flame);
RegisterSpellScriptWithArgs(spell_dh_elysian_decree, "spell_dh_sigil_of_spite", SPELL_DH_SIGIL_OF_SPITE);
RegisterSpellScript(spell_dh_soul_fragments_damage_taken_tracker);
RegisterSpellScript(spell_dh_student_of_suffering);