funtime:warcraft:macros

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
funtime:warcraft:macros [2021/06/14 15:45]
Chugreev Eugene [Общие]
funtime:warcraft:macros [2023/02/26 14:36] (current)
Chugreev Eugene [Друид]
Line 10: Line 10:
 #showtooltip Эмблема героизма #showtooltip Эмблема героизма
 /run local buy=function(n,q) for i=1,30 do if n == GetMerchantItemInfo(i) then BuyMerchantItem(i,q) end end end buy("Эмблема завоевания",1) buy("Эмблема доблести",1)  buy("Эмблема героизма",1) /run local buy=function(n,q) for i=1,30 do if n == GetMerchantItemInfo(i) then BuyMerchantItem(i,q) end end end buy("Эмблема завоевания",1) buy("Эмблема доблести",1)  buy("Эмблема героизма",1)
 +</code>
 +
 +Макрос на отдаление камеры
 +<code>
 +/console SET cameraDistanceMaxFactor 3.4
 +</code>
 +
 +Позиция на карте
 +<code>
 +/script local px,py=GetPlayerMapPosition("player") print(format("%s [%.1fx%.1f]", GetZoneText(),px*100,py*100))
 +</code>
 +
 +===== Макросы для рейда =====
 +Проверить кто в бою
 +<code>
 +/run local s="" for i=1,GetNumRaidMembers() do if UnitAffectingCombat('raid'..i) or UnitAffectingCombat('raidpet'..i) then s=s .. UnitName('raid'..i) .. ', ';end;end;if #s>0 then SendChatMessage("В бою: "..s:gsub('%, ', ''),"RAID")else print("Чисто") end
 +</code>
 +
 +Распустить рейд
 +<code>
 +/run for i=1,GetNumRaidMembers() do if not UnitIsUnit("player","raid"..i) then UninviteUnit("raid"..i)end end
 </code> </code>
  
Line 20: Line 41:
 </code> </code>
  
 +===== Друид =====
 +Рес / Баттлрес
 +<code>
 +#showtooltip
 +/say Воскрешаю %t
 +/cast [combat] Возрождение; Оживление
 +</code>
  
 +Иннер себе или фокусу 
 +<code> 
 +#showtooltip Озарение 
 +/cast [button:1,@player] Озарение; [button:2,@focus,help] Озарение; [button:2,@target,help] Озарение 
 +</code>
funtime/warcraft/macros.1623685543.txt.gz · Last modified: 2021/06/14 15:45 by Chugreev Eugene