HELP_MAP={[51514]=35,[98008]=180};hV={0,-250,30,10}hnr=10;helpdown={};

function Ch(n,s,x,y)f.t=f:CreateTexture(n,"BORDER") f.t:SetTexture(GetSpellTexture(s))f.t:SetSize(hV[3],hV[3])f.t:SetPoint("Center",x,y)f.t.c=cf("Cooldown")f.t.c:SetAllPoints(f.t)return f.t;end

function isHarm(fl)return bit.band(fl,COMBATLOG_OBJECT_REACTION_HOSTILE)end;function isSpell(e)return e=="SPELL_CAST_SUCCESS"or e=="SPELL_AURA_APPLIED"or e=="SPELL_MISSED"or e=="SPELL_SUMMON"end

function Chf(frame,text)frame.f=f:CreateFontString(nil,"BORDER") frame.f:SetFont(STANDARD_TEXT_FONT,13,"OUTLINE")frame.f:SetPoint("Bottom",frame,"Top",0,3);frame.f:SetText(text);end

function SCS(n,s)if not helpdown[n]then helpdown[n]={}end;if not helpdown[n][s]then helpdown[n][s]=Ch(s..n,s,hV[1]+(hV[3]+hV[4])*(hnb%hnr),hV[2]-(hV[3]+hV[4])*floor(hnb/hnr))hnb=hnb+1;Chf(_G[s..n],n)end;rfc(_G[s..n].c,GetTime(),HELP_MAP[s],1)end

function Dh() for n,table in pairs(helpdown)do for id,frame in pairs(table)do frame:Hide()frame.c:Hide()frame.f:Hide()_G[id..n].f=nil;_G[id..n].c=nil;_G[id..n]=nil;end;end;helpdown={}hnb=0;end

function Kh(_,e,...)if(e==e6)then _,eT,_,_,n,fl,_,_,_,_,_,s,_,_,_=...;if((UnitInBattleground(n)) and isSpell(eT)and HELP_MAP[s])then SCS(n,s)end;else _,st=...;if(e==e7 and select(2,wh())=="arena")then Dh()end;end;end

cf=CreateFrame;rfc=CooldownFrame_SetTimer;wh=IsInInstance;e6="COMBAT_LOG_EVENT_UNFILTERED";e7="PLAYER_ENTERING_WORLD";hnb=0;f=cf("frame");f:SetAllPoints();f:SetScript("OnEvent",Kh)f:RegisterEvent(e6)f:RegisterEvent(e7)

 

여기서 멀지워야되져