Mercurial > wow > mylilpony
diff libMyLilPony/libMyLilPony_mountFunctions.lua @ 19:2ae5f67e313a 1.1.0-b1
Added support for matching any unit's mount via macro options (e.g. /pony [@mouseover] match). The "target" command is now deprecated in favour of the slightly more general "match" (although "target" will continue to work).
author | syzler |
---|---|
date | Sat, 16 Apr 2011 15:23:40 +0000 |
parents | 21764271e02f |
children | 22011265a16f |
line wrap: on
line diff
--- a/libMyLilPony/libMyLilPony_mountFunctions.lua Sat Apr 16 14:47:47 2011 +0000 +++ b/libMyLilPony/libMyLilPony_mountFunctions.lua Sat Apr 16 15:23:40 2011 +0000 @@ -184,7 +184,7 @@ -- The function checks the buffs of the specified unit against the mount spellbook for matches. -- As a result, the function will only likely work against player characters. -- Does nothing if the specified unit's mount is already summoned. --- @param unit The unit frame name (e.g. "target", "player", "focus") of the unit whose mount is desired. +-- @param unit The UnitId (e.g. "target", "player", "focus", "party1", etc.) of the unit whose mount is desired. -- @return A Boolean value indicating whether or not a mount was successfully summoned. -- @usage MyLilPony.CallMountByMatch("target"); function MyLilPony.CallMountByMatch(unit)