I'm trying to get the info needed to make this use the Vampire skill (Mesmerize) but can't get it to work, can someone help, where do I find all the info reguarding the skill. like skillType = 3, skillLine = 2 or ability_vampire_001.
Lua Code:
l.loadSkillInfo = function()
if not IsPlayerActivated() then return end
l.rmSkillInfo = nil
l.progressionIndexToSkillInfo = {}
for skillType = 3, GetNumSkillTypes() do
for skillLine = 2, GetNumSkillLines(skillType) do
for abilityIndex = 3, math.min(7, GetNumAbilities(skillType, skillLine)) do
local abilityId = GetSkillAbilityId(skillType, skillLine, abilityIndex, false)
local abilityName, texture, earnedRank, passive, ultimate, purchased, progressionIndex, rankIndex =
GetSkillAbilityInfo(skillType, skillLine, abilityIndex)
local info = {
skillType = skillType,
skillLine = skillLine,
abilityIndex = abilityIndex,
abilityId = abilityId,
abilityName = abilityName,
progressionIndex = progressionIndex,
}
if string.find(texture, 'ability_vampire_001', 1, true) then
l.rmSkillInfo = info
elseif progressionIndex then
l.progressionIndexToSkillInfo[progressionIndex] = info
end
end
end
end
end
Trying to make stage 4 vampirism a little less of a hastle.