Mercurial > wow > wowdb-profiler
comparison Main.lua @ 166:135ef8805021
Uncommented profession cost-recording code.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Thu, 11 Oct 2012 09:08:12 -0500 |
parents | 311e2144c9ed |
children | 0820f3ab783e |
comparison
equal
deleted
inserted
replaced
165:311e2144c9ed | 166:135ef8805021 |
---|---|
1842 | 1842 |
1843 if not profession_skills then | 1843 if not profession_skills then |
1844 class_professions[profession] = {} | 1844 class_professions[profession] = {} |
1845 profession_skills = class_professions[profession] | 1845 profession_skills = class_professions[profession] |
1846 end | 1846 end |
1847 -- profession_skills[spell_id] = ("%d:%d:%d"):format(required_level, min_skill, ActualCopperCost(_G.GetTrainerServiceCost(index), trainer_standing)) | 1847 profession_skills[spell_id] = ("%d:%d:%d"):format(required_level, min_skill, ActualCopperCost(_G.GetTrainerServiceCost(index), trainer_standing)) |
1848 profession_skills[spell_id] = ("%d:%d"):format(required_level, min_skill) | |
1849 end | 1848 end |
1850 end | 1849 end |
1851 end | 1850 end |
1852 -- Reset the filters to what they were before | 1851 -- Reset the filters to what they were before |
1853 _G.SetTrainerServiceTypeFilter("available", available or 0) | 1852 _G.SetTrainerServiceTypeFilter("available", available or 0) |