Skip to content

Commit

Permalink
Core/BossPrototype: Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Oct 23, 2024
1 parent d503121 commit 37805f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Core/BossPrototype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@ do
local unitTableCount = #targetOnlyUnitTable
--- Fetches a unit id by scanning available targets.
-- @string guid The GUID of the unit to find
-- @bool[opt] isFriendly Check only friendly units
-- @return unit id if found, nil otherwise
function boss:UnitTokenFromGUID(guid, isFriendly)
if isFriendly and not UnitTokenFromGUID then -- Hack for classic content where UnitTokenFromGUID doesn't exist
Expand Down
1 change: 1 addition & 0 deletions Core/BossPrototype_Classic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,7 @@ do
local unitTableCount = #targetOnlyUnitTable
--- Fetches a unit id by scanning available targets.
-- @string guid The GUID of the unit to find
-- @bool[opt] isFriendly Check only friendly units
-- @return unit id if found, nil otherwise
function boss:UnitTokenFromGUID(guid, isFriendly)
if isFriendly and not UnitTokenFromGUID then -- Hack for classic content where UnitTokenFromGUID doesn't exist
Expand Down

0 comments on commit 37805f8

Please sign in to comment.