|
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 68 69 70 71 72 73 74 75 76 77 |
if not selectedLoadoutData then return end if not equippedLoadoutData then return end local statDelta = selectedValue - equippedValue local valueToShow = selectedValue if statType == STAT_SPELL_CRITICAL or statType == STAT_CRITICAL_STRIKE then end if statDelta ~= 0 then if statDelta > 0 then else end local INHERIT_COLOR = true local NO_GRAMMAR = true valueToShow = zo_iconTextFormatNoSpaceAlignedRight(icon, 24, 24, valueToShow, INHERIT_COLOR, NO_GRAMMAR) end local statValuePair = statSection:AcquireStatValuePair(self:GetStyle("itemComparisonStatValuePair")) end endend if perkData and slot then local perkSlotText = ZO_VENGEANCE_MANAGER:GetPerkColorBySlot(slot):Colorize(zo_strformat(SI_CAMPAIGN_VENGEANCE_PERKS_SLOT, ZO_VENGEANCE_MANAGER:GetPerkSlotName(perkData:GetSlot()))) local errorText if reason == VENGEANCE_ACTION_RESULT_PERK_LOCKED then errorText = zo_strformat(GetString("SI_VENGEANCEACTIONRESULT", reason), perkData:GetRankRequirement()) else end end endend |