aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-06-26 15:17:46 +0200
committerShauren <shauren.trinity@gmail.com>2024-06-26 15:17:46 +0200
commit4b4c52112d8fc11b90d8acaab0c8b1caa0e0a0c4 (patch)
tree688dc800e7cd435e33077be467092790976229b5 /src
parent5fa86ae22528a1ad7c7fe73955d2ed2e4c4d0695 (diff)
Core/Spells: Spells cast through SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_TRIGGERED aura should always be instant
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Unit/Unit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index 894d11973e7..9c083d9fae0 100644
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -13784,7 +13784,10 @@ SpellInfo const* Unit::GetCastSpellInfo(SpellInfo const* spellInfo, TriggerCastF
return newInfo;
if (SpellInfo const* newInfo = findMatchingAuraEffectIn(SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_TRIGGERED))
+ {
+ triggerFlag |= TRIGGERED_IGNORE_CAST_TIME;
return newInfo;
+ }
return spellInfo;
}