The functions of Garrison Follower Tooltip have additional parameters
GarrisonFollowerTooltip_Show(garrisonFollowerID, collected, quality, level, xp, levelxp, itemLevel, spec1, ability1, ability2, ability3, ability4, trait1, trait2, trait3, trait4, noAbilityDescriptions, underBiased, tooltipFrame, xpWidth)
FloatingGarrisonFollower_Toggle(garrisonFollowerID, quality, level, itemLevel, spec1, ability1, ability2, ability3, ability4, trait1, trait2, trait3, trait4)
FloatingGarrisonFollower_Show(floatingTooltip, garrisonFollowerID, followerTypeID, quality, level, itemLevel, spec1, ability1, ability2, ability3, ability4, trait1, trait2, trait3, trait4)
|
Be ware of the parameter "spec1", if you use these functions like you did in 6.x, then it will get errors.
The "spec1" can be got from
Lua Code:
C_Garrison.GetFollowerSpecializationAtIndex(followerID, 1)
and for all followers in WOD Garrison, it is always 0.
This parameter may be used for the followers in Legion Order Hall.