m
→Example
m (→Arguments: Eliminated discrepancy in formal argument name) |
m (→Example) |
||
| Line 24: | Line 24: | ||
Retrieves the name, rank and icon texture of the first debuff on the player's pet. | Retrieves the name, rank and icon texture of the first debuff on the player's pet. | ||
<pre>/run for i=1,40 do local n,_,_,_,_,_,t=UnitDebuff("target",i);if (n=="Polymorph") or (n=="Polymorph: Pig") or (n=="Polymorph: Turtle") then SendChatMessage(t.." seconds left on CC","SAY");end end </pre> | |||
Macro to retrieve target's timeLeft for any of the three Mage Poly spells and announce it via "SAY". | |||
== History == | == History == | ||