|
Ответ: FAQ по макросам
Quote:
Originally Posted by Toraak
Вот такой макрос. Я пронумеровал строки.
1 - /cast [mod,target=player]
2 - [target=mouseover,help,nodead]
3 - [help,nodead]
4 - [nogroup,target=player]
5 - [target=targettarget,help,nodead]Circle of healing(rank 7)
Не до конца получается расшифровка
1 - заклинание, цель=я сам (не понимаю, что в этом случае означает "mod")
2 - цель под курсором (тут имеется в виду курсор над персонажем или над юнитфреймом?) + дружественная + живая
3 - (не понимаю, зачем прописывать опять эти строки, если они указаны выше)
4 - цель не в группе (не понимаю зачем это здесь?) + цель=я сам
5 - цель=цельмоейцели + дружественная + живая и название заклинания (тут выбираем целью монстра и лечим того, кого он сейчас бьет)
Пожалуйста исправьте мои ошибки и поясните то, то мне не понятно.
This is the correct macro:
Quote:
#showtooltip Circle of Healing(rank 7)
/cast [mod,target=player][target=mouseover,help,nodead][help,nodead][nogroup,target=player][target=targettarget,help,nodead] Circle of healing(rank 7)
(the line breaks are simply for aesthetic reasons; they don't affect the macro's execution at all.)
So, it checks each conditional (thing in brackets) and, when it matches one of them, it casts Circle of Healing on that respective target. Here are the conditionals in non-nerd talk:
1) if a modifier (ctrl, alt, shift) is held, cast COH on the player. (the caste)
2) if you have a mouseover target, they're friendly, and they aren't dead, cast COH on them.
3) if you have no mouseover and no modifier is held, cast COH on your target if they're friendly and alive.
4) if you're not in a group, and have no target, (if you had a target, it would be cast on them in the previous conditional) cast on the player.
5) lastly, cast on the target's target if they're friendly and no other conditional fires.
никаких строк там нет это все в одну строчку пишется.
Тебе, что в голову выстрелить, придурок?

|