Skip to content

Instantly share code, notes, and snippets.

@nevkontakte
Created December 26, 2023 21:23
Show Gist options
  • Save nevkontakte/65053eaccb0e4ded71fa377667002dd8 to your computer and use it in GitHub Desktop.
Save nevkontakte/65053eaccb0e4ded71fa377667002dd8 to your computer and use it in GitHub Desktop.
TellMeWhen GCD/Cast time cursor indicator
^1^T^SStrata^SHIGH ^SPoint^T ^Sy^N9 ^SrelativeTo^STMW_CursorAnchor ^Spoint^SLEFT ^Sx^N-24 ^t^SLocked^B ^SLevel^N16 ^SGUID^STMW:group:1ayuImw3F6GM ^SColumns^N3 ^SName^SCursor ^SSettingsPerView^T ^Sicon^T ^SBorderInset^b ^t^t^SIcons^T ^N1^T ^SType^Smeta ^SIcons^T ^N1^STMW:icon:1bYq0j7=EX4q ^N2^STMW:icon:1bYq4hXCqiaa ^t^SEnabled^B ^t^N2^T ^SShowTimer^B ^SType^Scast ^SBarDisplay_BarGCD^B ^SGCDAsUnusable^B ^SOverlay_BarGCD^B ^SConditions^T ^N1^T ^SType^SCASTING ^SLevel^N1 ^t^Sn^N1 ^t^SClockGCD^B ^SBarDisplay_Invert^B ^SEnabled^B ^SEvents^T ^N1^T ^SType^SLua ^SLua^S--~`Override~`cooldown~`sweep~`texture~`to~`use~`the~`same~`texture~`as~`the~`icon.~J ~J local~`icon~`=~`...~J ~J local~`sweep~`=~`nil~J ~J for~`k,~`v~`in~`pairs(icon.Components)~`do~J ~`~`~`~`if~`v.implementationData~`~|=~`nil~`and~`v.implementationData.moduleName~`==~`"IconModule_CooldownSweep"~`then~J ~`~`~`~`~`~`~`~`sweep~`=~`v~J ~`~`~`~`~`~`~`~`break~J ~`~`~`~`end~J end~J ~J if~`not~`sweep~`then~`return~`end~J ~J sweep.cooldown:SetSwipeTexture(icon.attributes.texture) ^SEvent^SOnShow ^t^Sn^N1 ^t^SSettingsPerView^T ^Sicon^T ^STexts^T ^N1^S ^t^t^t^SCustomTex^SInterface/PVPFrame/pvpqueue-sidebar-honorbar-fill ^SStates^T ^N1^T ^SColor^Sff00ff0ed ^t^N2^T ^SColor^Sff00ff0ed ^SAlpha^N1 ^t^t^SFakeHidden^B ^SInvertTimer^B ^SGUID^STMW:icon:1bYq0j7=EX4q ^t^N3^T ^SShowTimer^B ^SType^Scooldown ^SBarDisplay_BarGCD^B ^SGCDAsUnusable^B ^SName^SПорча ^SBarDisplay_Invert^B ^SClockGCD^B ^SSettingsPerView^T ^Sicon^T ^STexts^T ^N1^S ^t^t^t^SCustomTex^SInterface/PVPFrame/pvpqueue-sidebar-honorbar-fill ^SStates^T ^N1^T ^SColor^Sff00ff0ed ^t^N2^T ^SColor^Sff00ff0ed ^SAlpha^N1 ^t^t^SFakeHidden^B ^SEvents^T ^N1^T ^SType^SLua ^SLua^S--~`Override~`cooldown~`sweep~`texture~`to~`use~`the~`same~`texture~`as~`the~`icon.~J ~J local~`icon~`=~`...~J ~J local~`sweep~`=~`nil~J ~J for~`k,~`v~`in~`pairs(icon.Components)~`do~J ~`~`~`~`if~`v.implementationData~`~|=~`nil~`and~`v.implementationData.moduleName~`==~`"IconModule_CooldownSweep"~`then~J ~`~`~`~`~`~`~`~`sweep~`=~`v~J ~`~`~`~`~`~`~`~`break~J ~`~`~`~`end~J end~J ~J if~`not~`sweep~`then~`return~`end~J ~J sweep.cooldown:SetSwipeTexture(icon.attributes.texture) ^SEvent^SOnShow ^t^Sn^N1 ^t^SGUID^STMW:icon:1bYq4hXCqiaa ^SEnabled^B ^SOverlay_BarGCD^B ^t^t^t^N102000^S~`~| ^Sgroup^N2 ^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment