View Single Post
05/14/16, 04:56 PM   #9
Letho
AddOn Author - Click to view addons
Join Date: Apr 2016
Posts: 238
Hey Ayantir, just saw u are the author of LibSkillsFactory. I tried creating a table like this from your LibSkillsFactory.skillSubFactory:

lua Code:
  1. array = {
  2.   [locale] = {     << = "en", "de" or "fr"
  3.  
  4.        [skillName] = {
  5.            abilityIdRank1 = 01234,
  6.            ...,
  7.            ...,
  8.            abilityIdRank4 = 56789
  9.         }
  10.    }
  11. }

My problem is as soon as I think i got it I get overwhelmed by the amount of nested tables :/ Could u help me with this or probably provide a function like

LibSkillsFactory:GetAbilityIdsByAbilityName(abilityName)
Returns : table {[rank][abilityId]}

I could probably create this manually, now that i have the info, but it would take days to complete. there must be a way to do it dynamically.

Last edited by Letho : 05/14/16 at 05:00 PM.
  Reply With Quote