what i found in the wiki:
GetSkillAbilityInfo(SkillType skillType, luaindex skillIndex, luaindex abilityIndex)
Returns: string name, textureName texture, luaindex earnedRank, bool passive, bool ultimate, bool purchased, luaindex:nilable progressionIndex
GetAbilityProgressionAbilityInfo(luaindex progressionIndex, integer morph, integer rank)
Returns: string name, string texture, luaindex abilityIndex
so something like this could work:
Lua Code:
_, _, _, _, _, _, progressionIndex = GetSkillAbilityInfo(SKILL_TYPE_CLASS,x,x)
if progressionIndex then
namemorph1 = GetAbilityProgressionAbilityInfo( progressionIndex, 1, 1 )
namemorph2 = GetAbilityProgressionAbilityInfo( progressionIndex, 2, 1 )
end
There is only one morph stage so
rank is always 1.