Jump to content

Photo

Raid debuff scripts causing FPS spikes?


  • Please log in to reply
1 reply to this topic

#1 Wixzy

Wixzy
  • Junkies
  • Orcclass_name
  • US-Tichondrius
  • Bloodlust
  • Posts: 39
  • Talents: Mistweaver 2/1/2/2/0/2/1
  • 2v2: 96
  • 3v3: 2358
  • RBG: 384

Posted 08 October 2016 - 09:42 PM

1) /run CBT="CompactDebuffTemplate";function mb(ff3) for p=7,12 do ff3.debuffFrames[p]:ClearAllPoints();ff3.debuffFrames[p]:SetPoint("BOTTOMRIGHT", ff3.debuffFrames[p-3], "TOPRIGHT", 0, 0) end end;

2) /run function CBF(pr,i) bf=CreateFrame("Button",pr:GetName().."Debuff"..i,pr,CBT);bf.baseSize=22;end;function mv(u) mb(u);for k=4,6 do f2=u.debuffFrames[k];f2:ClearAllPoints();f2:SetPoint("TOPRIGHT", u.debuffFrames[1], "TOPRIGHT", -(22*(k-3)), 0) end end

3) /run function mv3(t) CompactUnitFrame_SetMaxDebuffs(t,12); if(not t.debuffFrames[4]) then for j=4,12 do CBF(t,j) end end mv(t) end;hooksecurefunc("CompactUnitFrame_UpdateDebuffs",function(f) mv3(f) end);

 

Been using this but it's been causing lag for me, any ideas? 


  • 0
Twitch.tv/wixzylol - Hpal 3s

#2 drrtypharms

drrtypharms
  • Junkies
  • Humanclass_name
  • US-Sargeras
  • Shadowburn
  • Posts: 72
  • Talents: Destruction 2/2/0/2/0/0/2
  • 2v2: 1310
  • 3v3: 2438
  • RBG: 1663

Posted 06 December 2016 - 11:34 AM

I'll take a look at it when I get home from work (if I remember) 

but also you could give this addon ago. it's great, lightweight and has a ton more options too. but if you're a minimalist and hate addons maybe it isn't for you, hah.


https://mods.curse.c.../wow/bigdebuffs


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

<