Example #1
0
        public void LoadSkillLineAbilityStore()
        {
            SkillLineAbilityList.Clear();

            foreach (var skill in DBCStorage.SkillLineAbilityStorage.Values)
            {
                SkillLineAbilityList.Add(new KeyValuePair <uint, SkillLineAbilityEntry>(skill.spellId, skill));
            }

            Log.outInfo("Loaded {0} SkillLineAbility MultiMap Data.", SkillLineAbilityList.Count);
            Log.outInit();
        }
Example #2
0
 public List <SkillLineAbilityEntry> GetSkillLineAbility(uint spell_id)
 {
     return(SkillLineAbilityList.Where(p => p.Value.spellId == spell_id).Select(p => p.Value).ToList());
 }