Advertisement
KiLLerBoy_001

kak

May 13th, 2018
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.88 KB | None | 0 0
  1. ^1^T^SRow:2~`Column:1^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOTRIGHTCORNER^b^STOPRIGHTCORNER^b^SBOTLEFTCORNER^b^STOPLEFTCORNER^b^SRIGHT^b^SLEFT^b^STOP^b^SBOT^b^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^STOPLEFT^Shflip^b^Svflip^b^StileSize^N1^Sbg_texture^SSolid^Sanchor^SUIParent^Slevel^N20^Svert_tile^b^Suse_absolute_bg^b^Sbg_blend^SADD^Stext^T^Sy^N0^Sx^N0^SjustifyH^SCENTER^Sfont^S^Scolor^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-8^Sx^S-3^Sbg_alpha^N1^Sborder_edgeSize^N16^Sheight^S2^Stiling^B^Sstrata^STOOLTIP^Shorz_tile^b^SanchorTo^STOPLEFT^Sabsolute_bg^T^SLLy^N1^SLLx^N0^SLRy^N1^SLRx^N1^SURy^N0^SURx^N1^SULy^N0^SULx^N0^t^Sbg_insets^T^Sr^N-4^St^N-4^Sl^N4^Sb^N4^t^Sscripts^T^SEVENT^S~J^SLOAD^Sself:RegisterEvent("UNIT_TARGET")~Jself:RegisterEvent("PLAYER_REGEN_DISABLED")~Jself:RegisterEvent("PLAYER_ENTER_COMBAT")~Jself:RegisterEvent("UNIT_POWER","player")^SUPDATE^S~`~`~`~`local~`Red=~`0~J~`~`~`~`local~`Green~`=0~`~J~`~`~`~`local~`Blue~`=~`0~J~`~`~`~`~J~`~`~`~`if~`UnitExists("target")~`then~`~J~`~`~`~`~`~`~`~`--~`Red~`Target~`Health~J~`~`~`~`~`~`~`~`local~`health~`=~`UnitHealth("target");~`~`~`~`~`~`~`~`~J~`~`~`~`~`~`~`~`local~`maxHealth~`=~`UnitHealthMax("target");~J~`~`~`~`~`~`~`~`local~`percHealth~`=~`(health/maxHealth)~J~`~`~`~`~J~`~`~`~`~`~`~`~`Red=~`percHealth~J~`~`~`~`~J~`~`~`~`~`~`~`~`--~`Green~`Target~`Power~J~`~`~`~`~`~`~`~`local~`power~`=~`UnitPower("target")~J~`~`~`~`~`~`~`~`local~`Maxpower~`=~`UnitPowerMax("target")~J~`~`~`~`~`~`~`~`local~`ProcPower~`=~`(power/Maxpower)~J~`~`~`~`~J~`~`~`~`~`~`~`~`Green=~`ProcPower~J~`~`~`~`~`~`~`~`~J~`~`~`~`~`~`~`~`--~`Blue~`Target~`InCombat~J~`~`~`~`~`~`~`~`if~`UnitAffectingCombat("target")~`then~J~`~`~`~`~`~`~`~`~`~`~`~`Blue=1~J~`~`~`~`~`~`~`~`else~J~`~`~`~`~`~`~`~`~`~`~`~`Blue=0~J~`~`~`~`~`~`~`~`end~J~`~`~`~`end~J~Jself:SetBackdropColor(Red,Green,Blue,1)^t^Sbg_style^SNONE^Sgradient_color^T^Sa^N0^Sb^N1^Sg^N1^Sr^N1^t^Sborder_color^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Sborder_texture^SNone^Swidth^S2^Sbg_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Ssub_level^N0^Smouse^b^Scrop^b^Srotation^N0^t^SRow:1~`Column:1^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOTRIGHTCORNER^b^STOPRIGHTCORNER^b^SBOTLEFTCORNER^b^STOPLEFTCORNER^b^SRIGHT^b^SLEFT^b^STOP^b^SBOT^b^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^STOPLEFT^Shflip^b^Svflip^b^StileSize^N1^Sbg_texture^SSolid^Sanchor^SUIParent^Slevel^N20^Suse_absolute_bg^b^Sbg_blend^SDISABLE^Stext^T^Sy^N0^Sx^N0^SjustifyH^SCENTER^Sfont^SBlizzard^Scolor^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-5^Sx^S-3^Sbg_alpha^N1^Sborder_edgeSize^N16^Sheight^S2^Stiling^B^Sstrata^STOOLTIP^SanchorTo^STOPLEFT^Sabsolute_bg^T^SLLy^N1^SLLx^N0^SLRy^N1^SLRx^N1^SURy^N0^SURx^N1^SULy^N0^SULx^N0^t^Sbg_insets^T^Sr^N-4^St^N-4^Sl^N4^Sb^N4^t^Sscripts^T^SEVENT^S^SLOAD^Sself:RegisterEvent("UNIT_HEALTH",~`"player")~Jself:RegisterEvent("UNIT_TARGET")~Jself:RegisterEvent("PLAYER_TARGET_CHANGED")^SUPDATE^S~`~`~`~`local~`Red=~`1~J~`~`~`~`local~`Green~`=0~`~J~`~`~`~`local~`Blue~`=~`0~J~`~`~`~`~J~`~`~`~`if~`UnitExists("player")~`then~J~`~`~`~`~`~`~`~`local~`localizedClass,~`englishClass,~`classIndex~`=~`UnitClass("player");~J~`~`~`~`~`~`~`~`local~`currentSpec~`=~`GetSpecialization()~J~`~`~`~`~J~`~`~`~`~`~`~`~`local~`health~`=~`UnitHealth("player");~`~`~`~`~`~`~`~`~J~`~`~`~`~`~`~`~`local~`maxHealth~`=~`UnitHealthMax("player");~J~`~`~`~`~`~`~`~`local~`percHealth~`=~`(health/maxHealth)~J~`~`~`~`~J~J~`~`~`~`~`~`~`~`Red=~`percHealth~J~`~`~`~`~`~`~`~`Green~`=~`classIndex/100~J~`~`~`~`~`~`~`~`Blue~`=~`currentSpec/100~J~`~`~`~`end~J~Jself:SetBackdropColor(Red,Green,Blue,1)^t^Sbg_style^SNONE^Sgradient_color^T^Sa^N0^Sb^N0^Sg^N0^Sr^N0^t^Sborder_color^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Sborder_texture^SNone^Swidth^S2^Scrop^b^Sbg_color^T^Sa^N1^Sb^N0^Sg^N0^Sr^N0^t^Smouse^b^Srotation^N0^Ssub_level^N0^t^SRow:3~`Column:1^T^Sborder_advanced^T^Senable^b^Sshow^T^SBOTRIGHTCORNER^B^STOPRIGHTCORNER^B^STOPLEFTCORNER^B^SBOTLEFTCORNER^B^SRIGHT^B^SLEFT^B^STOP^B^SBOT^B^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^STOPLEFT^Shflip^b^Svflip^b^StileSize^N1^Sbg_texture^SSolid^Sanchor^SUIParent^Slevel^N0^Suse_absolute_bg^b^Sbg_blend^SDISABLE^Stext^T^Sy^N0^Sfont^SBlizzard^SjustifyH^SCENTER^Sx^N0^Scolor^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-11^Sx^S-3^Sbg_alpha^N1^Sborder_edgeSize^N16^Sheight^S2^Stiling^B^Sstrata^STOOLTIP^SanchorTo^STOPLEFT^Sabsolute_bg^T^SULx^N0^SULy^N0^SLLy^N1^SLLx^N0^SURy^N0^SURx^N1^SLRx^N1^SLRy^N1^t^Scrop^b^Sscripts^T^SUPDATE^Slocal~`Red=~`0~Jlocal~`Green~`=0~`~Jlocal~`Blue~`=~`0~J~Jlocal~`Amount~`=~`40~Jlocal~`Groupstr~`=~`"raid"~J~Jlocal~`HP~`=~`0~Jlocal~`MaxHP~`=~`0~Jlocal~`HealthProc~`=~`~`{}~J~Jlocal~`Tanks~`=~`{}~Jlocal~`LowestTank=0~JinInstance,instanceType~`=IsInInstance()~J~`~Jif~`IsInGroup()~`or~`inInstance~`then~J~`~`~`if~`UnitInRaid("player")~`or~`instanceType==~`"raid"~`then~J~`~`~`~`~`~`Amount~`=~`40~J~`~`~`~`~`~`Groupstr~`=~`"raid"~J~`~`~`~`~`~`Red~`=0.03~J~`~`~`elseif~`UnitInParty("player")~`or~`instanceType==~`"party"~`then~J~`~`~`~`~`~`Amount~`=~`5~J~`~`~`~`~`~`Groupstr~`=~`"party"~J~`~`~`~`~`~`Red~`=~`0.02~J~`~`~`else~`~J~`~`~`~`~`Red~`=~`0.01~J~`~`~`end~J~J~`~`~`for~`i~`=~`1,Amount~`do~J~`~`~`~`~`if~`UnitExists(Groupstr..i)~`then~J~`~`~`~`~`~`~`~`~`local~`TCount~`=~`1~J~J~`~`~`~`~`~`~`~`~`if~`UnitGroupRolesAssigned(Groupstr..i)~`=="TANK"~`then~J~`~`~`~`~`~`~`~`~`~`~`~`Tanks[TCount]~`=~`i~J~`~`~`~`~`~`~`~`~`~`~`~`TCount~`=~`TCount~`+1~J~`~`~`~`~`~`~`~`~`end~`~J~J~`~`~`~`~`~`~`~`~`if~`UnitIsDeadOrGhost(Groupstr..i)~`~|=~`1~`then~J~`~`~`~`~`~`~`~`~`~`~`~`HP=~`UnitHealth(Groupstr..i);~J~`~`~`~`~`~`~`~`~`~`~`~`MaxHP~`=~`UnitHealthMax(Groupstr..i);~J~`~`~`~`~`~`~`~`~`~`~`~`HealthProc[i]=(HP/MaxHP);~`~`~J~`~`~`~`~`~`~`~`~`end~`~`~`~`~J~`~`~`~`~`end~J~`~`~`end~J~`~`~`~J~`~`~`~J~`~`~`if~`#Tanks~`>=~`2~`then~`~J~`~`~`~`~`~`if~`HealthProc[Tanks[1]]~`>~`HealthProc[Tanks[2]]~`then~`~J~`~`~`~`~`~`~`~`LowestTank=Tanks[1]~J~`~`~`~`~`~`elseif~`HealthProc[Tanks[2]]~`>~`HealthProc[Tanks[1]]~`then~J~`~`~`~`~`~`~`~`LowestTank=Tanks[2]~J~`~`~`~`~`~`else~`~J~`~`~`~`~`~`~`~`LowestTank=Tanks[1]~J~`~`~`~`~`~`end~`~J~`~`~`else~`~J~`~`~`~`~`~`LowestTank=Tanks[1]~J~`~`~`end~J~J~`~`~`if~`LowestTank~`~|=~`0~`and~`LowestTank~`~|=~`nil~`then~`~J~`~`~`~`~`~`Green~`=~`LowestTank/100~J~`~`~`~`~`~`Blue=HealthProc[Tanks[1]]~J~`~`~`end~Jend~J~J~Jself:SetBackdropColor(Red,Green,Blue,1)^t^Sbg_style^SSOLID^Sgradient_color^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Sborder_color^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Sborder_texture^SNone^Swidth^S2^Sbg_insets^T^Sr^N-4^St^N-4^Sl^N4^Sb^N4^t^Sbg_color^T^Sa^F5404319767592961^f-53^Sb^N1^Sg^N1^Sr^N1^t^Smouse^b^Srotation^N0^Ssub_level^N0^t^SRow:2~`Column:3^T^Sborder_advanced^T^Senable^b^Sshow^T^SBOT^B^STOPRIGHTCORNER^B^SLEFT^B^SBOTLEFTCORNER^B^SRIGHT^B^STOPLEFTCORNER^B^STOP^B^SBOTRIGHTCORNER^B^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^STOPLEFT^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SSolid^Sanchor^SUIParent^Slevel^N20^Svert_tile^b^Suse_absolute_bg^b^Sbg_blend^SDISABLE^Stext^T^Sy^N0^Sfont^S^SjustifyH^SCENTER^Sx^N0^Scolor^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-8^Sx^S3^Sbg_alpha^N1^Sborder_edgeSize^N16^Sheight^S2^Stiling^B^Sstrata^STOOLTIP^Shorz_tile^b^SanchorTo^STOPLEFT^Sabsolute_bg^T^SLRy^N1^SLRx^N1^SULx^N0^SULy^N0^SURx^N1^SURy^N0^SLLx^N0^SLLy^N1^t^Sbg_insets^T^Sb^N4^St^N-4^Sl^N4^Sr^N-4^t^Sscripts^T^SLOAD^SSpellNames~`=~`{300000}~J~Jfunction~`FillIDList()~J~`~`~`~`if~`FirstRun~`==~`true~`then~`~J~`~`~`~`~`~`~`~`for~`i~`=~`1,~`300000~`do~J~`~`~`~`~`~`~`~`~`~`~`~`var~`=~`GetSpellInfo(i)~J~`~`~`~`~`~`~`~`~`~`~`~`SpellNames[i]~`=~`var~`~J~`~`~`~`~`~`~`~`end~J~`~`~`~`end~J~`~`~`~`FirstRun~`=~`false~Jend^SUPDATE^Slocal~`Red=~`0~Jlocal~`Green~`=0~`~Jlocal~`Blue~`=~`0~J~JFirstRun=True~J~Jfunction~`StringToCharArray(String)~J~`~`~`~`local~`t~`=~`{}~J~`~`~`~`for~`i~`=~`1,~`#String~`do~J~`~`~`~`~`~`~`~`t[i]~`=~`String:sub(i,~`i)~J~`~`~`~`end~J~`~`~`~`return~`t~Jend~J~Jfunction~`ConvertSpellNameToID(name)~J~`~`~`~`for~`i,v~`in~`pairs(SpellNames)~`do~J~`~`~`~`~`~`~`~`if~`v~`==~`name~`then~J~`~`~`~`~`~`~`~`~`~`~`~`return~`i~J~`~`~`~`~`~`~`~`end~J~`~`~`~`end~Jend~J~JFillIDList()~J~J~J~`~`~`~`if~`UnitExists("target")~`then~`~J~`~`~`~`~`~`~`~`spell,~`_,~`_,~`_,~`startTime,~`endTime,~`_,~`castID,~`notInterrupt~`=~`UnitCastingInfo("target")~J~`~`~`~`~`~`~`~`if~`spell~`~|=~`nil~`then~J~`~`~`~`~`~`~`~`~`~`~`~`spellID~`=~`ConvertSpellNameToID(spell)~J~`~`~`~`~`~`~`~`~`~`~`~`local~`IDTable~`=~`StringToCharArray(tostring(spellID))~J~`~`~`~`~`~`~`~`~`~`~`~`for~`i~`=~`1,~`6~`do~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`if~`IDTable[i]~`==~`nil~`then~`~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`IDTable[i]~`=~`0~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`~`~`~`~`~`~`end~`~J~J~`~`~`~`~`~`~`~`~`~`~`~`Red~`=~`tonumber("0."..IDTable[1]..IDTable[2])~J~`~`~`~`~`~`~`~`~`~`~`~`Green~`=~`tonumber("0."..IDTable[3]..IDTable[4])~J~`~`~`~`~`~`~`~`~`~`~`~`Blue~`=~`tonumber("0."..IDTable[5]..IDTable[6])~J~J~`~`~`~`~`~`~`~`~`~`~`self:SetBackdropColor(Red,Green,Blue,1)~J~`~`~`~`~`~`~`~`else~J~`~`~`~`~`~`~`~`~`~`~`~`self:SetBackdropColor(Red,Green,Blue,1)~J~`~`~`~`~`~`~`~`end~J~`~`~`~`else~J~`~`~`~`~`~`~`self:SetBackdropColor(0,0,0,1)~J~`~`~`~`end~J~`~`~`~`^t^Sbg_style^SNONE^Sgradient_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_texture^SNone^Swidth^S2^Srotation^N0^Scrop^b^Smouse^b^Ssub_level^N0^Sbg_color^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^t^SRow:1~`Column:2^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOTRIGHTCORNER^b^STOPRIGHTCORNER^b^SBOTLEFTCORNER^b^STOPLEFTCORNER^b^SRIGHT^b^SLEFT^b^STOP^b^SBOT^b^t^t^Sparent^SUIParent^Ssub_level^N0^SanchorFrom^STOPLEFT^Shflip^b^Svflip^b^StileSize^N1^Sbg_texture^SSolid^Sanchor^SUIParent^Slevel^N20^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^N0^Sfont^SBlizzard^SjustifyH^SCENTER^Sx^N0^Scolor^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-5^Sx^N0^Sbg_alpha^N1^Sborder_edgeSize^N16^Sheight^S2^Stiling^B^Sstrata^STOOLTIP^SanchorTo^STOPLEFT^Sabsolute_bg^T^SLRy^N1^SLRx^N1^SULx^N0^SULy^N0^SURy^N0^SURx^N1^SLLx^N0^SLLy^N1^t^Sbg_insets^T^Sr^N-4^St^N-4^Sl^N4^Sb^N4^t^Sscripts^T^SLOAD^Sself:RegisterEvent("UNIT_HEALTH","player")~Jself:RegisterEvent("UNIT_TARGET")~Jself:RegisterEvent("PLAYER_TARGET_CHANGED")~Jself:RegisterEvent("UNIT_POWER","player")^SEVENT^S^SUPDATE^S~`~`~`~`local~`Red=~`0~J~`~`~`~`local~`Green~`=0~`~J~`~`~`~`local~`Blue~`=~`0~J~`~`~`~`~J~`~`~`~`if~`UnitExists("player")~`then~J~`~`~`~`--~`Red~`Mainpower~J~`~`~`~`local~`FinishIn~`=~`0~J~`~`~`~`local~`power~`=~`UnitPower("player")~J~`~`~`~`local~`Maxpower~`=~`UnitPowerMax("player")~J~`~`~`~`local~`ProcPower~`=~`(power/Maxpower)~J~`~`~`~`local~`localizedClass,~`englishClass,~`classIndex~`=~`UnitClass("player")~J~`~`~`~`local~`Spec~`=~`GetSpecialization()~J~`~`~`~`local~`inVeh~`=~`UnitInVehicle("player")~`~J~`~`~`~`local~`spell~`=~`UnitCastingInfo("player")~J~`~`~`~`local~`chan,_,_,_,_,Expire=~`UnitChannelInfo("player")~J~J~`~`~`~`if~`chan~|=~`nil~`then~`~J~`~`~`~`~`~`~`FinishIn~`=~`Expire/1000~`-~`GetTime()~J~`~`~`~`end~J~J~`~`~`~`Red=~`ProcPower~J~`~`~`~`~J~`~`~`~`local~`power2~`=~`0~J~`~`~`~`--~`Green~`SpecPower~J~`~`~`~`if~`classIndex~`==~`2~`then~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--~`Paladin~J~`~`~`~`~`~`~`~`power2~`=~`UnitPower("player",~`SPELL_POWER_HOLY_POWER)~J~`~`~`~`~`~`~`~`Maxpower2~`=~`UnitPowerMax("player",~`SPELL_POWER_HOLY_POWER)~J~`~`~`~`~`~`~`~`ProcPower2~`=~`(power2/Maxpower2)~J~`~`~`~`end~J~J~`~`~`~`if~`classIndex~`==~`9~`then~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--~`Warlock~J~`~`~`~`~`~`~`~`power2~`=~`UnitPower("player",~`SPELL_POWER_SOUL_SHARDS)~J~`~`~`~`~`~`~`~`Maxpower2~`=~`UnitPowerMax("player",~`SPELL_POWER_SOUL_SHARDS)~J~`~`~`~`~`~`~`~`ProcPower2~`=~`(power2/Maxpower2)~J~`~`~`~`end~J~J~`~`~`~`if~`classIndex~`==~`8~`then~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--~`Mage~J~`~`~`~`~`~`~`~`power2~`=~`UnitPower("player",~`SPELL_POWER_ARCANE_CHARGES)~J~`~`~`~`~`~`~`~`Maxpower2~`=~`UnitPowerMax("player",~`SPELL_POWER_ARCANE_CHARGES)~J~`~`~`~`~`~`~`~`ProcPower2~`=~`(power2/Maxpower2)~J~`~`~`~`end~J~J~`~`~`~`if~`classIndex~`==~`4~`then~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--~`Rogue~`~J~`~`~`~`~`~`~`~`power2~`=~`UnitPower("player",~`SPELL_POWER_COMBO_POINTS)~J~`~`~`~`~`~`~`~`Maxpower2~`=~`UnitPowerMax("player",~`SPELL_POWER_COMBO_POINTS)~J~`~`~`~`~`~`~`~`ProcPower2~`=~`(power2/Maxpower2)~J~`~`~`~`end~J~J~`~`~`~`if~`classIndex~`==~`5~`then~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--~`Priest~J~`~`~`~`~`~`~`if~`Spec==1~`then~`~`~`~`~`~`~`~`~`~`~`~`--Disc~J~`~`~`~`~`~`~`elseif~`Spec==2~`then~`~`~`~`~`~`--Holy~J~`~`~`~`~`~`~`elseif~`Spec==3~`then~`~`~`~`~`~`--Shadow~J~`~`~`~`~`~`~`~`~`~`power2~`=~`UnitPower("player",SPELL_POWER_MANA)~J~`~`~`~`~`~`~`~`~`~`Maxpower2~`=~`UnitPowerMax("player",~`SPELL_POWER_MANA)~J~`~`~`~`~`~`~`~`~`~`ProcPower2~`=~`(power2/Maxpower2)~J~`~`~`~`~`~`~`end~J~`~`~`~`end~J~J~`~`~`~`if~`classIndex~`==~`11~`then~J~`~`~`~`~`~`~`~`if~`Spec==1~`then~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--~`Druid~`Balance~J~`~`~`~`~`~`~`~`~`~`~`power2~`=~`UnitPower("player",~`SPELL_POWER_MANA)~J~`~`~`~`~`~`~`~`~`~`~`Maxpower2~`=~`UnitPowerMax("player",~`SPELL_POWER_MANA)~J~`~`~`~`~`~`~`~`~`~`~`ProcPower2~`=~`(power2/Maxpower2)~J~`~`~`~`~`~`~`~`elseif~`Spec==2~`then~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--~`Druid~`Feral~J~`~`~`~`~`~`~`~`~`~`~`power2~`=~`UnitPower("player",~`SPELL_POWER_COMBO_POINTS)~J~`~`~`~`~`~`~`~`end~J~`~`~`~`end~J~J~`~`~`~`if~`classIndex~`==~`6~`then~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--~`DeathKnight~J~`~`~`~`~`~`~`~`power2~`=~`UnitPower("player",5)~J~`~`~`~`~`~`~`~`Maxpower2~`=UnitPowerMax("player",5)~J~J~`~`~`~`~`~`~`~`maxp~`=~`UnitPowerMax("player",~`5)~`~`--SPELL_POWER_RUNES~J~`~`~`~`~`~`~`~`local~`selectedRunes~`=~`maxp~J~`~`~`~`~`~`~`~`local~`i~`=~`1~J~`~`~`~`~`~`~`~`for~`i~`=~`1,~`maxp~`do~J~`~`~`~`~`~`~`~`~`~`~`~`local~`_,_,runeReady~`=~`GetRuneCooldown(i)~J~`~`~`~`~`~`~`~`~`~`~`~`if~`not~`runeReady~`then~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`selectedRunes~`=~`selectedRunes~`-~`1~J~`~`~`~`~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`~`~`ProcPower2~`=~`(selectedRunes/maxp)~`~`~`~`~`~`~`~`~J~`~`~`~`end~J~J~`~`~`~`if~`classIndex~`==~`10~`then~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--~`Monk~J~`~`~`~`~`~`~`~`ProcPower2~`=~`UnitPower("player",~`SPELL_POWER_CHI,true)~J~`~`~`~`end~J~`~`~`~`~J~`~`~`~`Green~`=~`ProcPower2~J~`~`~`~`~J~`~`~`~`--local~`spell,~`_,~`_,~`_,~`_,~`endTime~`=~`UnitCastingInfo("player")~J~J~`~`~`~`if~`UnitAffectingCombat("player")~`and~`not~`inVeh~`and~`not~`spell~`and~`not~`IsMounted()~`and~`not~`chan~`then~J~`~`~`~`~`~`~`~`Blue=1~J~`~`~`~`elseif~`chan~|=~`nil~`and~`FinishIn~`<~`1.5~`then~J~`~`~`~`~`~`~`~`Blue=1~J~`~`~`~`else~J~`~`~`~`~`~`~`~`Blue=0~J~`~`~`~`end~J~`~`~`~`end~J~J~`~`~`~`self:SetBackdropColor(Red,Green,Blue,1)^t^Sbg_style^SSOLID^Sgradient_color^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Sborder_color^T^Sa^N1^Sb^N1^Sg^N1^Sr^N1^t^Sborder_texture^SBlizzard~`Tooltip^Swidth^S2^Scrop^b^Sbg_color^T^Sa^N1^Sb^N0^Sg^N0^Sr^N0^t^Smouse^b^Srotation^N0^Sbg_orientation^SHORIZONTAL^t^SRow:1~`Column:3^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOT^b^STOPRIGHTCORNER^b^SLEFT^b^STOPLEFTCORNER^b^SRIGHT^b^SBOTLEFTCORNER^b^STOP^b^SBOTRIGHTCORNER^b^t^t^Sparent^SUIParent^Ssub_level^N0^SanchorFrom^STOPLEFT^Shflip^b^Svflip^b^StileSize^N1^Sbg_texture^SSolid^Sanchor^SUIParent^Slevel^N20^Suse_absolute_bg^b^Sbg_blend^SDISABLE^Stext^T^Sy^N0^Sfont^SBlizzard^SjustifyH^SCENTER^Sx^N0^Scolor^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-5^Sx^S3^Sbg_alpha^N1^Sborder_edgeSize^N16^Sheight^S2^Stiling^B^Sstrata^STOOLTIP^SanchorTo^STOPLEFT^Sabsolute_bg^T^SLRy^N1^SLRx^N1^SULx^N0^SULy^N0^SURx^N1^SURy^N0^SLLx^N0^SLLy^N1^t^Sbg_insets^T^Sb^N4^St^N-4^Sl^N4^Sr^N-4^t^Sscripts^T^SENTER^S^SLOAD^Sself:RegisterEvent("UNIT_HEALTH","player")~Jself:RegisterEvent("UNIT_HEALTH","target")~Jself:RegisterEvent("UNIT_HEALTH","pet")~Jself:RegisterEvent("UNIT_TARGET")~Jself:RegisterEvent("PLAYER_TARGET_CHANGED")~Jself:RegisterEvent("UNIT_POWER",~`"pet")^SDROP^S^SUPDATE^S~`~`~`~`local~`Red=~`0~J~`~`~`~`local~`Green~`=0~`~J~`~`~`~`local~`Blue~`=~`0~J~`~`~`~`~J~`~`~`~`if~`UnitExists("pet")~`then~`~J~`~`~`~`~`~`~`~`Red~`=~`1~J~`~`~`~`~`~`~`~`local~`localizedClass,~`englishClass,~`classIndex~`=~`UnitClass("player");~J~`~`~`~`~`~`~`~`local~`currentSpec~`=~`GetSpecialization()~J~`~`~`~`~J~`~`~`~`~`~`~`~`local~`health~`=~`UnitHealth("pet");~`~`~`~`~`~`~`~`~J~`~`~`~`~`~`~`~`local~`maxHealth~`=~`UnitHealthMax("pet");~J~`~`~`~`~`~`~`~`local~`percHealth~`=~`(health~`/~`maxHealth)~J~`~`~`~`~J~`~`~`~`~`~`~`~`Green=~`percHealth~J~`~`~`~`~`~`~`~`~J~`~`~`~`~`~`~`~`local~`power~`=~`UnitPower("pet")~J~`~`~`~`~`~`~`~`local~`Maxpower~`=~`UnitPowerMax("pet")~J~`~`~`~`~`~`~`~`local~`ProcPower~`=~`(power/Maxpower)~J~`~`~`~`~J~`~`~`~`~`~`~`~`Blue=~`ProcPower~J~`~`~`~`end~Jself:SetBackdropColor(Red,Green,Blue,1)~`~J^SEVENT^S^t^Sbg_style^SNONE^Sgradient_color^T^Sa^N0^Sr^N1^Sg^N1^Sb^N1^t^Sborder_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_texture^SNone^Swidth^S2^Sbg_orientation^SHORIZONTAL^Srotation^N0^Smouse^b^Sbg_color^T^Sa^N1^Sr^N0^Sg^N1^Sb^F8018173454220417^f-53^t^Scrop^b^t^SRow:3~`Column:2^T^Sborder_advanced^T^Senable^b^Sshow^T^SBOT^B^STOPRIGHTCORNER^B^SLEFT^B^STOPLEFTCORNER^B^SRIGHT^B^SBOTLEFTCORNER^B^STOP^B^SBOTRIGHTCORNER^B^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^STOPLEFT^Shflip^b^Svflip^b^StileSize^N1^Sbg_texture^SSolid^Sanchor^SUIParent^Slevel^N0^Suse_absolute_bg^b^Sbg_blend^SBLEND^Stext^T^Sy^N0^Sfont^SBlizzard^SjustifyH^SCENTER^Sx^N0^Scolor^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-11^Sx^N0^Sbg_alpha^N1^Sborder_edgeSize^N16^Sheight^S2^Stiling^B^Sstrata^STOOLTIP^SanchorTo^STOPLEFT^Sabsolute_bg^T^SLLy^N1^SLLx^N0^SLRy^N1^SLRx^N1^SURx^N1^SURy^N0^SULy^N0^SULx^N0^t^Scrop^b^Sscripts^T^SUPDATE^Slocal~`Red=~`0~Jlocal~`Green~`=0~`~Jlocal~`Blue~`=~`0~J~Jlocal~`Amount~`=~`40~Jlocal~`Groupstr~`=~`"raid"~J~Jlocal~`HP~`=~`0~Jlocal~`MaxHP~`=~`0~Jlocal~`HealthProc~`=~`~`{}~J~Jlocal~`Tanks~`=~`{}~J~Jlocal~`PriorHealth~`=~`1~Jlocal~`PriorIndex~`=~`0~J~Jif~`IsInGroup()~`then~J~`~`~`if~`UnitInRaid("player")~`then~J~`~`~`~`~`~`Amount~`=~`40~J~`~`~`~`~`~`Groupstr~`=~`"raid"~J~`~`~`elseif~`UnitInParty("player")~`then~J~`~`~`~`~`~`Amount~`=~`5~J~`~`~`~`~`~`Groupstr~`=~`"party"~J~`~`~`end~J~J~`~`~`for~`i~`=~`1,Amount~`do~J~`~`~`~`~`local~`unit~`=~`Groupstr..i~J~`~`~`~`~`if~`UnitExists(unit)~`then~J~`~`~`~`~`~`~`~`~`if~`UnitIsDeadOrGhost(unit)~`==~`false~`and~`UnitIsVisible(unit)~`and~`UnitIsFriend("player",unit)~`then~J~`~`~`~`~`~`~`~`~`~`~`~`HP=~`UnitHealth(Groupstr..i);~J~`~`~`~`~`~`~`~`~`~`~`~`MaxHP~`=~`UnitHealthMax(Groupstr..i);~J~`~`~`~`~`~`~`~`~`~`~`~`HealthProc[i]=(HP/MaxHP);~J~`~`~`~`~`~`~`~`~`~`~`~`if~`HealthProc[i]~`<~`PriorHealth~`then~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`PriorHealth~`=~`HealthProc[i];~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`PriorIndex~`=~`i;~J~`~`~`~`~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`~`~`~`~`~`~`if~`UnitName("target")~`==~`UnitName(Groupstr..i)~`then~`~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`Red~`=~`i/100~J~`~`~`~`~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`~`~`~`end~`~`~`~`~J~`~`~`~`~`end~J~`~`~`end~J~`~`~`Green~`=~`PriorIndex/100~J~`~`~`Blue~`=~`PriorHealth~Jend~J~J~Jself:SetBackdropColor(Red,Green,Blue,1)^t^Sbg_style^SSOLID^Sgradient_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_texture^SNone^Swidth^S2^Ssub_level^N0^Srotation^N0^Smouse^b^Sbg_color^T^Sa^N1^Sr^N0^Sg^N0^Sb^N0^t^Sbg_insets^T^Sb^N4^St^N-4^Sl^N4^Sr^N-4^t^t^SRow:1~`Column:4^T^Sborder_advanced^T^Senable^b^Sshow^T^SBOT^B^STOPRIGHTCORNER^B^SLEFT^B^STOPLEFTCORNER^B^SRIGHT^B^SBOTLEFTCORNER^B^STOP^B^SBOTRIGHTCORNER^B^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^STOPLEFT^Shflip^b^Svflip^b^StileSize^N0^Sbg_texture^SSolid^Sanchor^SUIParent^Slevel^N0^Suse_absolute_bg^b^Sbg_blend^SDISABLE^Stext^T^Sy^N0^Sfont^SBlizzard^SjustifyH^SCENTER^Sx^N0^Scolor^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^N-5^Sx^N6^Sbg_alpha^N1^Sborder_edgeSize^N16^Sheight^S2^Stiling^B^Sstrata^STOOLTIP^SanchorTo^STOPLEFT^Sscale^N1.11^Sabsolute_bg^T^SULx^N0^SULy^N0^SLLy^N1^SLLx^N0^SURx^N1^SURy^N0^SLRx^N1^SLRy^N1^t^Scrop^b^Sscripts^T^SUPDATE^S~`~`~`~`local~`Red~`=0~`~J~`~`~`~`local~`Green~`=0~`~J~`~`~`~`local~`Blue~`=~`0~J~`~`~`~`local~`i,j~`=0~J~`~`~`~`local~`name~`=""~J~J~`~`~`~`---~`Self~`Keep~`active~`buffs~`~J~`~`~`~`KeepBuffed[1][1][1]~`=~`"Rend"~J~`~`~`~`KeepBuffed[1][1][3]~`=~`"Ignore~`Pain"~J~`~`~`~`KeepBuffed[1][3][1]~`=~`"Parsel's~`Tongue"~J~J~`~`~`~`---~`Target~`Keep~`Active~`Buffs~`~J~`~`~`~`TarBuffed[1][3][2]~`=~`"Vulnerable"~J~`~`~`~`TarBuffed[1][5][3]~`=~`"Shadow~`Word:~`Pain"~J~`~`~`~`TarBuffed[2][5][3]~`=~`"Vampiric~`Touch"~J~`~`~`~`TarBuffed[1][6][2]~`=~`"Frost~`Fever"~J~`~`~`~`TarBuffed[1][6][3]~`=~`"Outbreak"~J~`~`~`~`TarBuffed[1][9][1]~`=~`"Agony"~J~`~`~`~`TarBuffed[2][9][1]~`=~`"Corruption"~J~`~`~`~`TarBuffed[3][9][1]~`=~`"Unstable~`Affliction"~J~`~`~`~`TarBuffed[1][7][1]~`=~`"Flame~`Shock"~J~`~`~`~`TarBuffed[1][11][1]~`=~`"Moonfire"~J~`~`~`~`TarBuffed[2][11][1]~`=~`"Sunfire"~`~`~J~`~`~`~`TarBuffed[1][11][4]~`=~`"Moonfire"~J~J~`~`~`~`---~`Self~`Check~`Buffs~J~`~`~`~`Buff[1][1][3]~`=~`"Revenge"~`~J~`~`~`~`Buff[1][3][1]~`=~`"Bestial~`Wrath"~J~`~`~`~`Buff[1][3][2]~`=~`"Lock~`and~`Load"~J~`~`~`~`Buff[1][5][3]~`=~`"Voidform"~J~`~`~`~`Buff[1][6][2]~`=~`"Killing~`Machine"~J~`~`~`~`Buff[2][6][2]~`=~`"Rime"~J~`~`~`~`Buff[1][12][1]~`=~`"Betrayer's~`Fury"~J~`~`~`~`Buff[1][11][1]~`=~`"Owlkin~`Frenzy"~J~`~`~`~`Buff[2][11][1]~`=~`"Lunar~`Empowerment"~J~`~`~`~`Buff[3][11][1]~`=~`"Solar~`Empowerment"~J~J~`~`~`---~`Healing~`Buffs~J~`~`~`~`HealTarBuffed[1][11][4]~`=~`"Rejuvenation"~J~`~`~`~`HealTarBuffed[2][11][4]~`=~`"Lifebloom"~J~J~`~`~`~`if~`UnitExists("player")~`then~J~`~`~`~`~`~`local~`_,_,class=~`UnitClass("player");~J~`~`~`~`~`~`local~`Spec~`=~`GetSpecialization()~J~`~`~`~`~`~`local~`Role~`=~`GetSpecializationRole(Spec)~J~`~`~`~`~`~J~`~`~`~`~`~`-----Regular~`buffes~J~`~`~`~`~`~`for~`i~`=~`1,40~`do~J~`~`~`~`~`~`~`~`~`local~`name~`=~`UnitAura("player",i)~J~`~`~`~`~`~`~`~`~`for~`j~`=~`1,5~`do~J~`~`~`~`~`~`~`~`~`~`~`local~`Col~`=~`j~`*~`0.2~J~`~`~`~`~`~`~`~`~`~`~`if~`Buff[j][class][Spec]~`~|=~`nil~`then~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`if~`name~`==~`Buff[j][class][Spec]~`then~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`Red=Col~J~`~`~`~`~`~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`end~J~`~J~`~`~`~`~`~`--~`Keep~`Buffed~`Buffs~J~`~`~`~`~`~`for~`i~`=~`1,5~`do~J~`~`~`~`~`~`~`~`~`local~`Col~`=~`i~`*~`0.1~J~`~`~`~`~`~`~`~`~`local~`HCol~`=~`i~`*~`0.1~`+0.5~J~`~`~`~`~`~`~`~`~`local~`name,_,_,_,_,_,Expire~`=~`UnitAura("player",KeepBuffed[i][class][Spec])~J~`~`~`~`~`~`~`~`~`local~`tname,_,_,tstack,_,_,tExpire~`=~`UnitAura("target",TarBuffed[i][class][Spec],nil,"PLAYER|HARMFUL")~J~`~`~`~`~`~`~`~`~`local~`htname,_,_,htstack,_,_,htExpire~`=~`UnitAura("target",HealTarBuffed[i][class][Spec],nil,"PLAYER|HELPFUL")~J~J~`~`~`~`~`~`~`~`~`if~`name~`~|=~`nil~`then~J~`~`~`~`~`~`~`~`~`~`~`~`local~`FinishIn~`=~`Expire~`-~`GetTime()~J~`~`~`~`~`~`~`~`~`~`~`~`if~`FinishIn~`<~`1.5~`then~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`Green=Col~J~`~`~`~`~`~`~`~`~`~`~`~`end~`~J~`~`~`~`~`~`~`~`~`elseif~`KeepBuffed[i][class][Spec]~`~|=~`0~`and~`name~`==~`nil~`then~`~`~J~`~`~`~`~`~`~`~`~`~`~`~`Green=Col~J~`~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`~`~`~`~J~`~`~`~`~`~`~`~`~`if~`UnitExists("target")~`then~J~`~`~`~`~`~`~`~`~`~`~`~`if~`tname~`~|=~`nil~`then~`~`--~`Buff~`found~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`local~`FinishIn~`=~`tExpire~`-~`GetTime()~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`if~`FinishIn~`<~`1.5~`then~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`Green=Col~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`end~`~J~`~`~`~`~`~`~`~`~`~`~`~`elseif~`TarBuffed[i][class][Spec]~`~|=~`0~`and~`tname~`==~`nil~`then~`--Not~`foun~`~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`Green=Col~J~`~`~`~`~`~`~`~`~`~`~`~`end~`~J~`~`~`~`~`~`~`~`~`end~`~J~J~`~`~`~`~`~`~`~`~`if~`UnitExists("target")~`then~J~`~`~`~`~`~`~`~`~`~`~`~`if~`htname~`~|=~`nil~`then~`~`--~`~`found~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`local~`FinishIn~`=~`htExpire~`-~`GetTime()~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`if~`FinishIn~`<~`1.5~`then~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`Green=HCol~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`end~`~J~`~`~`~`~`~`~`~`~`~`~`~`elseif~`HealTarBuffed[i][class][Spec]~`~|=~`0~`and~`htname~`==~`nil~`then~`--Not~`~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`Green=HCol~J~`~`~`~`~`~`~`~`~`~`~`~`end~`~J~`~`~`~`~`~`~`~`~`end~`~J~J~`~`~`~`~`~`end~`--~`end~`of~`1,5~`loop~J~`~`~`~`~`~`if~`Role~`==~`"DAMAGER"~`then~`~J~`~`~`~`~`~`~`~`~`Blue~`=~`0.01~J~`~`~`~`~`~`elseif~`Role~`==~`"TANK"~`then~J~`~`~`~`~`~`~`~`~`Blue~`=~`0.02~J~`~`~`~`~`~`elseif~`Role~`==~`"HEALER"~`then~J~`~`~`~`~`~`~`~`~`Blue~`=~`0.03~J~`~`~`~`~`~`end~J~`~`~`~`~`~`if~`UnitIsAFK("player")~`then~J~`~`~`~`~`~`~`~`~`Blue~`=~`0.04~J~`~`~`~`~`~`end~J~`~`~`end~`~`--~`End~`unit~`exists~J~J~J~Jself:SetBackdropColor(Red,Green,Blue,1)~`^SCLICK^Sself:SetBackdropColor(Red,Green,1,1)~`^SENTER^S^SLOAD^S~`~`~`~`local~`Red~`=0~`~J~`~`~`~`local~`Green~`=0~`~J~`~`~`~`local~`Blue~`=~`0~J~`~`~`~`local~`i~`=0~J~`~`~`~`local~`j~`=~`0~J~`~`~`~`local~`name~`=""~J~J~`~`~`~`Buff~`=~`{}~J~`~`~`~`for~`a=1,5~`do~J~`~`~`~`~`~`Buff[a]~`=~`{}~`~J~`~`~`~`~`~`for~`i=1,13~`do~J~`~`~`~`~`~`~`~`Buff[a][i]~`=~`{}~J~`~`~`~`~`~`~`~`for~`j=1,5~`do~J~`~`~`~`~`~`~`~`~`~`~`Buff[a][i][j]~`=~`0~J~`~`~`~`~`~`~`~`end~`~J~`~`~`~`~`end~J~`~`~`end~`~J~`~`~`~`~J~`~`~`~`KeepBuffed~`=~`{}~J~`~`~`~`for~`a=1,5~`do~J~`~`~`~`~`~`KeepBuffed[a]~`=~`{}~`~J~`~`~`~`~`~`for~`i=1,13~`do~J~`~`~`~`~`~`~`~`KeepBuffed[a][i]~`=~`{}~J~`~`~`~`~`~`~`~`for~`j=1,5~`do~J~`~`~`~`~`~`~`~`~`~`~`KeepBuffed[a][i][j]~`=~`0~J~`~`~`~`~`~`~`~`end~`~J~`~`~`~`~`end~J~`~`~`end~`~J~J~`~`~`~`TarBuffed~`=~`{}~J~`~`~`~`TarBS~`=~`{}~J~`~`~`~`for~`a=1,5~`do~J~`~`~`~`~`~`TarBuffed[a]~`=~`{}~J~`~`~`~`~`~`TarBS[a]~`=~`{}~`~`~J~`~`~`~`~`~`for~`i=1,13~`do~J~`~`~`~`~`~`~`~`TarBuffed[a][i]~`=~`{}~J~`~`~`~`~`~`~`~`TarBS[a][i]~`=~`{}~`~`~J~`~`~`~`~`~`~`~`for~`j=1,5~`do~J~`~`~`~`~`~`~`~`~`~`~`TarBuffed[a][i][j]~`=~`0~J~`~`~`~`~`~`~`~`~`~`~`TarBS[a][i][j]~`=~`{}~`~`~J~`~`~`~`~`~`~`~`end~`~J~`~`~`~`~`end~J~`~`~`end~J~J~`~`~`~`HealTarBuffed~`=~`{}~J~`~`~`~`HealTarBS~`=~`{}~J~`~`~`~`for~`a=1,5~`do~J~`~`~`~`~`~`HealTarBuffed[a]~`=~`{}~J~`~`~`~`~`~`HealTarBS[a]~`=~`{}~`~`~J~`~`~`~`~`~`for~`i=1,13~`do~J~`~`~`~`~`~`~`~`HealTarBuffed[a][i]~`=~`{}~J~`~`~`~`~`~`~`~`HealTarBS[a][i]~`=~`{}~`~`~J~`~`~`~`~`~`~`~`for~`j=1,5~`do~J~`~`~`~`~`~`~`~`~`~`~`HealTarBuffed[a][i][j]~`=~`0~J~`~`~`~`~`~`~`~`~`~`~`HealTarBS[a][i][j]~`=~`{}~`~`~J~`~`~`~`~`~`~`~`end~`~J~`~`~`~`~`end~J~`~`~`end^t^Sbg_style^SSOLID^Sgradient_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_texture^SNone^Swidth^S2^Ssub_level^N0^Srotation^N0^Smouse^b^Sbg_color^T^Sa^F5404319767592961^f-53^Sr^N1^Sg^N1^Sb^N1^t^Sbg_insets^T^Sb^N4^St^N-4^Sl^N4^Sr^N-4^t^t^SRow:2~`Column:2^T^Sborder_advanced^T^Senable^B^Sshow^T^SBOT^b^STOPRIGHTCORNER^b^SLEFT^b^SBOTLEFTCORNER^b^SRIGHT^b^STOPLEFTCORNER^b^STOP^b^SBOTRIGHTCORNER^b^t^t^Sparent^SUIParent^Sbg_orientation^SHORIZONTAL^SanchorFrom^STOPLEFT^Shflip^b^Svflip^b^StileSize^N1^Sbg_texture^SSolid^Sanchor^SUIParent^Slevel^N20^Svert_tile^b^Suse_absolute_bg^b^Sbg_blend^SDISABLE^Stext^T^Sy^N0^Sx^N0^SjustifyH^SCENTER^Sfont^S^Scolor^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Stext^S^SjustifyV^SMIDDLE^Ssize^N12^t^Sy^S-8^Sx^S0^Sbg_alpha^N1^Sborder_edgeSize^N16^Sheight^S2^Stiling^B^Sstrata^STOOLTIP^Shorz_tile^b^SanchorTo^STOPLEFT^Sabsolute_bg^T^SLLy^N1^SLLx^N0^SLRy^N1^SLRx^N1^SURx^N1^SURy^N0^SULy^N0^SULx^N0^t^Sbg_insets^T^Sb^N4^St^N-4^Sl^N4^Sr^N-4^t^Sscripts^T^SEVENT^S~J~J^SLOAD^Sself:RegisterEvent("UNIT_TARGET")~Jself:RegisterEvent("PLAYER_TARGET_CHANGED")~Jself:UnregisterEvent("UNIT_SPELLCAST_INTERRUPTED")~Jself:UnregisterEvent("UNIT_SPELLCAST_DELAYED")~Jself:UnregisterEvent("UNIT_SPELLCAST_CHANNEL_START")~Jself:UnregisterEvent("UNIT_SPELLCAST_CHANNEL_UPDATE")~Jself:UnregisterEvent("UNIT_SPELLCAST_CHANNEL_STOP")~Jself:UnregisterEvent("UNIT_SPELLCAST_INTERRUPTIBLE")~Jself:UnregisterEvent("UNIT_SPELLCAST_NOT_INTERRUPTIBLE")~Jself:UnregisterEvent("PLAYER_ENTERING_WORLD")~Jself:UnregisterEvent("UNIT_SPELLCAST_START")~Jself:UnregisterEvent("UNIT_SPELLCAST_STOP")~Jself:UnregisterEvent("UNIT_SPELLCAST_FAILED")^SUPDATE^S~`~`~`~`local~`Red=~`0~J~`~`~`~`local~`Green~`=0~`~J~`~`~`~`local~`Blue~`=~`TrimmCount~J~`~`~`~`~J~`~`~`~`if~`UnitExists("target")~`then~`~J~`~`~`~`~`~`~`~`spell,~`_,~`_,~`_,~`startTime,~`endTime,~`_,~`castID,~`notInterrupt~`=~`UnitCastingInfo("target")~J~`~`~`~`~`~`~`~`if~`spell~`~|=~`nil~`then~J~`~`~`~`~`~`~`~`~`~`~`~`Green~`=~`1~J~`~`~`~`~`~`~`~`~`~`~`~`local~`FinishIn~`=~`endTime/1000~`-~`GetTime()~J~`~`~`~`~`~`~`~`~`~`~`~`if~`notInterrupt~`==~`false~`and~`FinishIn~`<~`0.65~`then~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`Red=1~J~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`--print(spell~`..~`':'..'~`will~`be~`finished~`casting~`in~`'~`..~`FinishIn~`..~`'~`seconds.')~J~`~`~`~`~`~`~`~`~`~`~`~`end~J~`~`~`~`~`~`~`~`else~J~`~`~`~`~`~`~`~`~`~`~`~`Green~`=~`0~J~`~`~`~`~`~`~`~`end~J~`~`~`~`end~J~`~`~`self:SetBackdropColor(Red,Green,Blue,1)^t^Sbg_style^SNONE^Sgradient_color^T^Sa^N0^Sr^N1^Sg^N1^Sb^N1^t^Sborder_color^T^Sa^N1^Sr^N1^Sg^N1^Sb^N1^t^Sborder_texture^SNone^Swidth^S2^Srotation^N0^Scrop^b^Smouse^b^Ssub_level^N0^Sbg_color^T^Sa^N1^Sr^F8689298104573670^f-54^Sg^F4839161952547118^f-53^Sb^F8795265154629438^f-53^t^t^t^^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement