확장팩 팁과 노하우

전체보기

모바일 상단 메뉴

본문 페이지

[매크로] 차단 외침 매크로 api변경 됐습니다. (내부전쟁)

밤과도토리
댓글: 10 개
조회: 3795
추천: 3
2024-09-21 06:19:38
GetSpellCooldown > C_Spell .GetSpellCooldown

출력매크로  1
시전중이거나 채널링중인 몹에 차단스킬 
출력 "A몹 B스킬 차단"
그외 "차단 실패"

눈편한용도
/run c="차단스킬"
t="target"
b=UnitCastingInfo(t)
d=UnitChannelInfo(t);
b=b or d;a=UnitName(t)
if a and C_Spell.GetSpellCooldown(c).duration==0 then s=""
if b then s=a..""..b.."".."차단"else s="차단 실패" end;
SendChatMessage(s)end;

복붙용
/run c="차단스킬"t="target"b=UnitCastingInfo(t)d=UnitChannelInfo(t);b=b or d;a=UnitName(t)if a and C_Spell.GetSpellCooldown(c).duration==0 then s=""if b then s=a..""..b.."".."차단"else s="차단 실패" end;SendChatMessage(s)end;

/시전 차단스킬
응용 t="focus" 하면 주시대상으로의 "몹이름 스킬 차단"


출력매크로  2
차단 쿨타임일때 몇 초 남았는지 출력하는 매크로

#showtooltip
/script g = C_Spell.GetSpellCooldown("차단스킬"); if g and g.duration > 0 then local t = g.startTime + g.duration - GetTime(); SendChatMessage("차단 " .. ceil(t) .. "초 남음", "say") end;
/시전 "차단스킬"

Lv70 밤과도토리

모바일 게시판 하단버튼

댓글

새로고침
새로고침

모바일 게시판 하단버튼

지금 뜨는 인벤

더보기+

모바일 게시판 리스트

모바일 게시판 하단버튼

글쓰기

모바일 게시판 페이징

최근 HOT한 콘텐츠

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