통합 전장 게시판

전체보기

모바일 상단 메뉴

본문 페이지

[일반] 그림자 약병 내부쿨 매크로

ssunly
댓글: 23 개
조회: 5871
추천: 7
2012-01-13 02:20:12
먼저 외국포럼 아레나 정키스에서 퍼옴을 알림





Posted Image
Hey guys,
just made some small macros and scripts for tracking the internal cooldown of the Dragon Soul trinkets. You can either use the macros or the scripts for your own AddOn or download my AddOn.

하이 여러분
용의 영혼에서 나오는 장신구들에 대한 내부쿨을 보여주는 작은 매크로 및 스크립트를 만들어봤어!
쓰고싶으면 내 애드온을 받아서 이용하길 바람!(붉은색 링크 누르면 다운받아짐)
Posted Image

Macro 1:
/run t=CreateFrame("Frame")
t:SetPoint("CENTER",0,0)
t:SetSize(40,40)
t.c=CreateFrame("Cooldown","cd1")
t.c:SetAllPoints(t)
t.t=t:CreateTexture(nil,"BORDER")
t.t:SetAllPoints()
t.t:SetTexture("Interface\Icons\inv_potion_85")

Macro 2:

/run t:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
t:SetScript("OnEvent",function(...)local _,_,_,_,x=select(3, ...)
if x==UnitName("Player")then local _,_,y=select(12, ...) 
if y==109721 then CooldownFrame_SetTimer(cd1,GetTime(),30,1)end end end)

You only need to change 2 things: inv_potion_85 and 109721.
Check out the list below.

너가 원하는 대로 이용하려면 바꿔야 될건 붉은글자로 된 이 두가지야.
장신구는 위에서부터 순서대로 그림자의 약병/잔혹한 자의 교활함/뼈고리 우상
LFR은 공격대 찾기/Normal은 일반/Heroic은 영웅 난이도에 대한 버프를 의미

Vial of Shadows inv_potion_85 
  • LFR 109721
  • Normal 107994
  • Heroic 109724

Cunning of the Cruel inv_misc_coin_09
  • LFR 109798
  • Normal 108005
  • Heroic 109800

Bone-Link Fetish inv_misc_coin_12
  • LFR 109752
  • Normal 107997
  • Heroic 109754

How do I move the icon?
이 아이콘을 어떻게 옮기냐고?
change -- t:SetPoint("CENTER",0,0) -- in Macro 1 to your likings
붉은 부분에 해당하는 두 숫자를 바꾸면돼
(0,0 기준으로 화면 정중앙에 놓이게됨)
OR

use this Macro to drag the icon:
/run local f=t; f:SetMovable(true); f:EnableMouse(true); f:SetUserPlaced(true); f:SetScript("OnMouseDown", f.StartMoving); f:SetScript("OnMouseUp", f.StopMovingOrSizing);
이거는 마우스 클릭이동 매크로
Script:t=CreateFrame("Frame")
t
:SetPoint("CENTER",0,0)
t
:SetSize(40,40)
t
.c=CreateFrame("Cooldown","cd1")
t
.c:SetAllPoints(t)
t
.t=t:CreateTexture(nil,"BORDER")
t
.t:SetAllPoints()
t
.t:SetTexture("Interface\Icons\inv_potion_85")


t
:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
t
:SetScript("OnEvent",function(...)local _,_,_,_,x=select(3, ...)
if x==UnitName("Player")then local _,_,y=select(12, ...)
if y==109721 then CooldownFrame_SetTimer(cd1,GetTime(),30,1)end end end)

local f=t;
f
:SetMovable(true);
f
:EnableMouse(true);
f
:SetUserPlaced(true);
f
:SetScript("OnMouseDown", f.StartMoving);
f
:SetScript("OnMouseUp", f.StopMovingOrSizing);

EXTAR CD라는 애드온이 존재하긴 하나
써본 사람은 알테지만 상당히 무거운 애드온임(똥컴 유저 기준)

inv_potion_85 은 아이콘 부분
109721 그림자 약병(공격대난이도)에 해당하는 버프 spell id
cd1,GetTime(),30,1 에서 30은 내부쿨을 의미


응용은 물론 가능!
하지만 설명은 지금하기 귀찬!



아이콘부분은 wowpedia를 참조하면되고
버프 spell id는 매크로로 쉽게 얻을수 있지
내부쿨은 뭐 여기저기 직게나 물어보면 알수있으니까


무기발동 버프같이 발동류 내부쿨만 가능한거같음



ps 근데 그림자 약병 내부쿨이 30초밖에안돼?

Lv61 ssunly

모바일 게시판 하단버튼

댓글

새로고침
새로고침

모바일 게시판 하단버튼

지금 뜨는 인벤

더보기+

모바일 게시판 리스트

모바일 게시판 하단버튼

글쓰기

모바일 게시판 페이징

최근 HOT한 콘텐츠

  • 와우
  • 게임
  • IT
  • 유머
  • 연예
AD