ascott18 / TellMeWhen

TellMeWhen is a combat tracking AddOn for World of Warcraft Retail and Classic
https://wow.curseforge.com/projects/tellmewhen
GNU General Public License v3.0
86 stars 11 forks source link

Swing Timer Icon not tracking Crusading Strikes #2089

Closed kvigue closed 3 weeks ago

kvigue commented 1 year ago

WoW Version

Retail

TellMeWhen Version

10.1.1

Describe the bug

  1. Be a Ret Paladin specced into Crusading Strikes.
  2. Attempt to create a basic Swing Timer icon with timer shown.
  3. Swing at a target and note that your icon is not showing a timer sweep.

Code to fix in Components/Core/Common/SwingTimerMonitor.lua

    TMW.isWrath and {
        [strlowerCache[GetSpellInfo(78)]] = 1, -- Heroic Strike
        [strlowerCache[GetSpellInfo(845)]] = 1, -- Cleave
        [strlowerCache[GetSpellInfo(6807)]] = 1, -- Maul
        [strlowerCache[GetSpellInfo(2973)]] = 1, -- Raptor Strike
        [strlowerCache[GetSpellInfo(56815)]] = 1, -- Rune Strike
    } 
    or {
        [strlowerCache[GetSpellInfo(404542)]] = 1, -- Crusading Strikes
    }

Export Strings

^1^T^SShowTimer^B ^SType^Sswingtimer ^SConditions^T ^N1^T ^SType^SPTSINTAL ^SOperator^S> ^SName^SCrusading~`Strikes ^t^Sn^N1 ^t^SName^SCrusader~`Strike ^SGUID^STMW:icon:1aUOPng4e9aX ^SSettingsPerView^T ^Sicon^T ^STexts^T ^N2^S[Stacks:Hide(0)] ^t^t^t^SCustomTex^S404542 ^SStates^T ^N1^T ^SAlpha^N0.8 ^t^N2^T ^SColor^Sffffffffd ^SAlpha^N0.5 ^t^t^SEnabled^B ^t^N101100^S~`~| ^Sicon^^