매크로^^*

공용


1. 공격대창 팝업금지
/script for i-1.7 do getglobal("ChatFrame"..i);UnergisterEvent("UPDATE_INSTANCE_INFO");end

2. 공대원 버프 체크

/script local dead=0;local _, _, _, _, cl, _, zo, ol, isD;local list1={};local list2={};local list3={};local list4={};local list5={};local num=GetNumRaidMembers()local msg1, msg2, msg3, msg4, msg5, msg6,msg7,hm, hmm, thm,mh,mhm,tmh,deathflag;hm=1;hmm=1;mh=1;mhm=1;deathflag=0; if(num~=0)then for r=1,num do c=0;d=0;e=0;u='raid'..r;_, _, _, _, cl, _, zo, ol, isD = GetRaidRosterInfo(r)z='raid'..r;if(cl=="사제"or cl=="드루이드"or cl=="성기사"or cl=="주술사")then hm=hm+UnitMana(z)hmm=hmm+UnitManaMax(z)end; if(cl=="전사"or cl=="도적")then mh=mh+UnitHealth(z)mhm=mhm+UnitHealthMax(z)end;for i=1,16 do k=UnitBuff(u,i);if(k)then if(string.find(k,"Fortitu"))then c=1;end;if(string.find(k,"Intelle")or string.find(k,"Sentry"))then d=1;end;if(string.find(k,"Regene"))then e=1;end;end;end;if(not UnitIsDeadOrGhost(u)and zo==GetZoneText()and ol)then if(c==0)then table.insert(list1,u)end;if(d==0 and not (cl=="전사"or cl=="도적"))then table.insert(list2,u)end;if(e==0)then table.insert(list3,u)end;end;if(UnitIsDeadOrGhost(u))then table.insert(list4,u)dead=dead+1;deathflag=1;end;if(not ol)then table.insert(list5,u)end;end;msg1="인내: "msg2="지능: "msg3="야생: "msg4="사망("..dead.."/"..num.."): "msg5="오프라인: "for _,f in list1 do msg1=msg1..""..UnitName(f).." "if(UnitClass("player")=="사제")then TargetUnit(f)end;end;for _,f in list2 do msg2=msg2..""..UnitName(f).." "if(UnitClass("player")=="마법사")then TargetUnit(f)end;end;for _,f in list3 do msg3=msg3..""..UnitName(f).." "if(UnitClass("player")=="드루이드")then TargetUnit(f)end;end;for _,f in list4 do msg4=msg4..""..UnitName(f).." "end;for _,f in list5 do msg5=msg5..""..UnitName(f).." "end;thm=hm/hmm*100;tmh=mh/mhm*100;msg6="힐러 마나: "..format("%.1f",thm).."%"msg7="밀리 체력: "..format("%.1f",tmh).."%"if(IsAltKeyDown()and(IsRaidLeader()or IsRaidOfficer()))then SendChatMessage("-- 버프 확인 하세요 --","RAID")SendChatMessage(msg1,"RAID") SendChatMessage(msg2,"RAID")SendChatMessage(msg3,"RAID") if(deathflag==1)then SendChatMessage(msg4,"RAID")end else DEFAULT_CHAT_FRAME:AddMessage("-- 버프 확인 매크로 -- by 이보게할방구",1,0.4,0.4)DEFAULT_CHAT_FRAME:AddMessage(msg1)DEFAULT_CHAT_FRAME:AddMessage(msg2,0,1,1)DEFAULT_CHAT_FRAME:AddMessage(msg3,1,0.4,1)DEFAULT_CHAT_FRAME:AddMessage("=============")DEFAULT_CHAT_FRAME:AddMessage(msg7,1,0.4,0.4)DEFAULT_CHAT_FRAME:AddMessage(msg6,0.4,1,1)DEFAULT_CHAT_FRAME:AddMessage("=============")DEFAULT_CHAT_FRAME:AddMessage(msg4,1,0,0)DEFAULT_CHAT_FRAME:AddMessage(msg5,0,0.4,0.4)end;DEFAULT_CHAT_FRAME:AddMessage("=============")elseif(GetNumPartyMembers()>0)then DEFAULT_CHAT_FRAME:AddMessage("당신은 공격대에 참가하고 있지 않습니다.")else DEFAULT_CHAT_FRAME:AddMessage("당신은 외로운 솔로 입니다.")end

3. 인던진입 체크
/공 >> 인던 밖 체크
/script c=0;w=GetZoneText();for i=1,GetNumRaidMembers() do n,r,g,l,j,f,z=GetRaidRosterInfo(i);if(z~=w)then SendChatMessage(">> "..n.."님  "..z,"RAID");c=c+1;end;end;SendChatMessage(">> 현재 ["..w.."]밖에 "..c.."분 계십니다.","RAID");

4. 화보체크
/공 >> 화보 체크
/script c=0;for i=1,GetNumRaidMembers() do f=0; for j=1,16 do if("Interface\\Icons\\Spell_Fire_FireArmor"==UnitBuff("Raid"..i,j))then f=1;end;end;if(f==0)then c=c+1;SendChatMessage(">> "..c..GetRaidRosterInfo(i).."님 화보 드세요","RAID");end;end

5. 버프경로 알아내기
/script debuf="";i=1;while true do debuf=UnitBuff("target",i);if(not debuf)then break;end;i=i+1;SendChatMessage(debuf);end


사젱

1. 상급치유 80%이상시 오버힐 방지 및 내면의 집중력 자동 사용

/시전 내면의 집중력
/script t="target"p="player"f=not UnitCanAssist(p,t)if not UnitExists(t)then TargetUnit(p)end;if(f)then AssistUnit(t)end;if(UnitHealth(t)/UnitHealthMax(t)>0.7)then SpellStopCasting()end;CastSpellByName("상급 치유")if(f)then TargetLastTarget()end

2. 순간치유 90%이상시 오버힐 방지

/script t="target"p="player"f=not UnitCanAssist(p,t)if not UnitExists(t)then TargetUnit(p)end;if(f)then AssistUnit(t)end;if(UnitHealth(t)/UnitHealthMax(t)>0.9)then SpellStopCasting()end;CastSpellByName("순간 치유")if(f)then TargetLastTarget()end

3. 부활

/시전 부활
/s >>>>>>%T를 봘시킵니다. 봘계열분들 다른분들 봘주세요^^*

4. 속박

/시전 언데드 속박
/s >>>>>>>%T를 속박합니다 때리면 지상렬씨 부인

5. 정신지배

/시전 정신 지배(3 레벨)
/s >>>>>>> 아잉~♡♥ %T 좋아좋아
/e %T를 유혹하여 부하로 만듭니다


기사근영


1. 부활
/시전 구원
/s >>>>>>%T를 봘시킵니다. 봘계열분들 다른분들 봘주세요^^*

2. 성스러운 빛 80%오버힐 방지
/시전 신의 은총
/script t="target"p="player"f=not UnitCanAssist(p,t)if not UnitExists(t)then TargetUnit(p)end;if(f)then AssistUnit(t)end;if(UnitHealth(t)/UnitHealthMax(t)>0.80)then SpellStopCasting()end;CastSpellByName("성스러운 빛")if(f)then TargetLastTarget()end

3. 빛의 섬광 오버힐 방지
/script t="target"p="player"f=not UnitCanAssist(p,t)if not UnitExists(t)then TargetUnit(p)end;if(f)then AssistUnit(t)end;if(UnitHealth(t)/UnitHealthMax(t)>0.95)then SpellStopCasting()end;CastSpellByName("빛의 섬광")if(f)then TargetLastTarget()end

4. 중재
/대상 ㅡㅡㅡㅡ
/시전 성스러운 중재


댓글을 달아 주세요