aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellEffects.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-06-25 00:21:27 +0200
committerOvahlord <dreadkiller@gmx.de>2024-06-28 18:39:31 +0200
commitdb35ae6f435e859002f0763fdaf6e03d48701712 (patch)
tree4887d43e782f3e514d2fde8f7f2d69121725ecf3 /src/server/game/Spells/SpellEffects.cpp
parent95e3e1daa1aadd83b21ae4125518c85568afd7a8 (diff)
Core/Spells: Implemented new trigger flag to cause spells to be instant without also causing other behavior of TRIGGERED_CAST_DIRECTLY (skipping SMSG_SPELL_START, skipping starting GCD)
(cherry picked from commit a885a1fc3c6b894f546b7aee70b5a67932a94486) # Conflicts: # src/server/scripts/Spells/spell_priest.cpp
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rw-r--r--src/server/game/Spells/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index 523b7d75293..8417f80c474 100644
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -5103,7 +5103,7 @@ void Spell::EffectCastButtons()
continue;
CastSpellExtraArgs args;
- args.TriggerFlags = TRIGGERED_IGNORE_GCD | TRIGGERED_IGNORE_CAST_IN_PROGRESS | TRIGGERED_CAST_DIRECTLY | TRIGGERED_DONT_REPORT_CAST_ERROR;
+ args.TriggerFlags = TRIGGERED_IGNORE_GCD | TRIGGERED_IGNORE_CAST_IN_PROGRESS | TRIGGERED_IGNORE_CAST_TIME | TRIGGERED_CAST_DIRECTLY | TRIGGERED_DONT_REPORT_CAST_ERROR;
args.OriginalCastId = m_castId;
args.CastDifficulty = GetCastDifficulty();
m_caster->CastSpell(m_caster, spellInfo->Id, args);