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;
/시전 "차단스킬"