From 8485185889db1bcebd747d09d624ed1430cb6370 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Wed, 4 Jun 2025 09:16:24 -0400 Subject: [PATCH] Core/Spells: send rune cooldowns even after miss to match sniff data Port From (https://github.com/TrinityCore/TrinityCore/commit/4b7465aad8bb93b69da3a8beeb538d8e63569d0b) --- Source/Game/Spells/Spell.cs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index 51ef672ed..fc16e137a 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -4051,10 +4051,7 @@ namespace Game.Spells HasPowerTypeCost(PowerType.Runes) && !_triggeredCastFlags.HasAnyFlag(TriggerCastFlags.IgnorePowerCost)) { castFlags |= SpellCastFlags.NoGCD; // not needed, but it's being sent according to sniffs - - // Only send rune cooldowns when there has been a change - if (m_runesState != m_caster.ToPlayer().GetRunesState()) - castFlags |= SpellCastFlags.RuneList; // rune cooldowns list + castFlags |= SpellCastFlags.RuneList; // rune cooldowns list } if (m_targets.HasTraj()) @@ -4579,7 +4576,7 @@ namespace Game.Spells healPrediction = prediction; } - }; + } if (IsEmpowerSpell()) { @@ -8243,7 +8240,7 @@ namespace Game.Spells } return true; - }; + } foreach (var script in m_loadedScripts) { @@ -9918,8 +9915,8 @@ namespace Game.Spells SpellValueOverrides.Add(new SpellValueOverride(mod, val)); } - public CastSpellExtraArgs(SpellValueModFloat mod, float val) - { + public CastSpellExtraArgs(SpellValueModFloat mod, float val) + { SpellValueOverrides.Add(new SpellValueOverride(mod, val)); }