1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
bonusValueSection : AddLine ( GetString ( "SI_EQUIPMENTBONUS" , equipmentBonus ) , self : GetStyle ( "equipmentBonusValue" ) )
if equipmentBonus < EQUIPMENT_BONUS_SUPERIOR then
local lowestEquipItemText
if equipSlotHasItem then
else
lowestEquipItemText = zo_strformat ( SI_STATS_EQUIPMENT_BONUS_TOOLTIP_EMPTY_SLOT , GetString ( "SI_EQUIPSLOT" , lowestEquipSlot ) )
end
lowestPieceSection : AddLine ( GetString ( SI_STAT_GAMEPAD_EQUIPMENT_BONUS_LOWEST_PIECE ) , self : GetStyle ( "equipmentBonusLowestPieceHeader" ) )
lowestPieceSection : AddLine ( zo_strformat ( SI_LINK_FORMAT_ITEM_NAME , lowestEquipItemText ) , self : GetStyle ( "equipmentBonusLowestPieceValue" ) )
end
end
local statDescription = ZO_STAT_TOOLTIP_DESCRIPTIONS [ statType ]
if statDescription then
end
end
--First, add the name of the stat
--If we have a description, add it
end
--If we need to show a flat value at the bottom of the tooltip, do that
if statData . flatValue then
bodySection : AddLine ( zo_strformat ( SI_STAT_RATING_TOOLTIP_FORMAT , statData . displayName , flatValueText ) )
end
end |