확장팩 질문과 답변 게시판

3추글

모바일 상단 메뉴

본문 페이지

[매크로] 투구탈착 매크로 질문염

아이콘 료장
댓글: 6 개
조회: 1006
추천: 3
2015-05-11 08:20:28

레이백님이 올린 투구탈착에드온 사용중인데여. 망토까지 추가하고 싶은데 어떻게 해야하는지를;;

 

--
-- Helmet On/Off on Regen
--

local O = CreateFrame("Frame");

W = "PLAYER_ENTERING_WORLD";

O:RegisterEvent(W);

O:SetScript("OnEvent", function(self, event)
 if ShowingHelm() then
  ShowHelm(false);
 end;
end)

local C = CreateFrame("Frame");

D = "PLAYER_REGEN_DISABLED";
E = "PLAYER_REGEN_ENABLED";

C:RegisterEvent(E);
C:RegisterEvent(D);

C:SetScript("OnEvent", function(self, event)
 if event == D then
  ShowHelm(true);
 else
  ShowHelm(false);
 end;
end)

 

어디에 어떻게 추가하면 되는지 부탁합니다.;;

Lv52 료장

모바일 게시판 하단버튼

댓글

새로고침
새로고침

모바일 게시판 하단버튼

지금 뜨는 인벤

더보기+

모바일 게시판 리스트

모바일 게시판 하단버튼

글쓰기

모바일 게시판 페이징

최근 HOT한 콘텐츠

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