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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
local SKILL_TYPE_TO_ICONS =
{
[ SKILL_TYPE_CLASS ] =
{
"EsoUI/Art/Progression/progression_indexIcon_class_down.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_class_up.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_class_over.dds" ,
} ,
[ SKILL_TYPE_WEAPON ] =
{
"EsoUI/Art/Progression/progression_indexIcon_weapons_down.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_weapons_up.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_weapons_over.dds" ,
} ,
[ SKILL_TYPE_ARMOR ] =
{
"EsoUI/Art/Progression/progression_indexIcon_armor_down.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_armor_up.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_armor_over.dds" ,
} ,
[ SKILL_TYPE_WORLD ] =
{
"EsoUI/Art/Progression/progression_indexIcon_world_down.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_world_up.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_world_over.dds" ,
} ,
[ SKILL_TYPE_GUILD ] =
{
"EsoUI/Art/Progression/progression_indexIcon_guilds_down.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_guilds_up.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_guilds_over.dds" ,
} ,
[ SKILL_TYPE_AVA ] =
{
"EsoUI/Art/Progression/progression_indexIcon_AVA_down.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_AVA_up.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_AVA_over.dds" ,
} ,
[ SKILL_TYPE_RACIAL ] =
{
"EsoUI/Art/Progression/progression_indexIcon_race_down.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_race_up.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_race_over.dds" ,
} ,
[ SKILL_TYPE_TRADESKILL ] =
{
"EsoUI/Art/Progression/progression_indexIcon_tradeskills_down.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_tradeskills_up.dds" ,
"EsoUI/Art/Progression/progression_indexIcon_tradeskills_over.dds" ,
} ,
}
if SKILL_TYPE_TO_ICONS [ skillType ] then
end
end
end
local maxed = ( nextRankXP == 0 )
if maxed then
else
end
end
ZO_SKILLS_MORPH_STATE = 1
ZO_SKILLS_PURCHASE_STATE = 2
end
end
function ZO_Skills_GenerateAbilityName ( stringIndex , name , currentUpgradeLevel , maxUpgradeLevel , progressionIndex )
if currentUpgradeLevel and maxUpgradeLevel then
elseif progressionIndex then
if rank > 0 then
end
end
end
local isPassive , isUltimate = select ( 4 , GetSkillAbilityInfo ( skillType , skillLineIndex , abilityIndex ) )
if isUltimate then
elseif isPassive then
else
end
end
local PUT_POINT_IN_NEXT_UPGRADE = true
end
end
local xpBar = skillInfoHeaderControl . xpBar
local rank = skillInfoHeaderControl . rank
local glowContainer = skillInfoHeaderControl . glowContainer
skillInfoHeaderControl . increaseAnimation = skillInfoHeaderControl . increaseAnimation or ANIMATION_MANAGER : CreateTimelineFromVirtual ( "SkillIncreasedBarAnimation" , glowContainer )
local hadUpdateWhileCrafting = false
if eventCode == nil or ( skillTypeUpdated == skillType and skillIndexUpdated == skillIndex ) then
hadUpdateWhileCrafting = true
else
local lastRank = rank . lineRank
rank . lineRank = lineRank
if eventCode or hadUpdateWhileCrafting then
if lineRank > lastRank then
CENTER_SCREEN_ANNOUNCE : AddMessage ( EVENT_SKILL_RANK_UPDATE , CSA_EVENT_LARGE_TEXT , SOUNDS . SKILL_LINE_LEVELED_UP , zo_strformat ( SI_SKILL_RANK_UP , lineName , lineRank ) )
end
end
ZO_SkillInfoXPBar_SetValue ( xpBar , lineRank , lastXP , nextXP , currentXP , eventCode == nil and not hadUpdateWhileCrafting )
end
end
end
end
if hadUpdateWhileCrafting then
hadUpdateWhileCrafting = false
end
end
CALLBACK_MANAGER : RegisterCallback ( "CraftingAnimationsStopped" , skillInfoHeaderControl . craftingAnimationsStoppedCallback )
end
control . xpBar = ZO_WrappingStatusBar : New ( GetControl ( control , "XPBar" ) , ZO_SkillInfoXPBar_OnLevelChanged )
end
CALLBACK_MANAGER : UnregisterCallback ( "CraftingAnimationsStopped" , skillInfoHeaderControl . craftingAnimationsStoppedCallback )
end
end
end |