comparison Main.lua @ 173:7354ae12d0f1 1.0.22

Tradeskill costs aren't modified by faction standing, so no need to un-modify them.
author James D. Callahan III <jcallahan@curse.com>
date Wed, 17 Oct 2012 11:51:46 -0500
parents 40624eb09591
children ac9f0ccb27a8
comparison
equal deleted inserted replaced
172:e249cca6dd1c 173:7354ae12d0f1
30 30
31 31
32 ----------------------------------------------------------------------- 32 -----------------------------------------------------------------------
33 -- Local constants. 33 -- Local constants.
34 ----------------------------------------------------------------------- 34 -----------------------------------------------------------------------
35 local DB_VERSION = 11 35 local DB_VERSION = 12
36 local DEBUGGING = false 36 local DEBUGGING = false
37 local EVENT_DEBUG = false 37 local EVENT_DEBUG = false
38 38
39 39
40 local DATABASE_DEFAULTS = { 40 local DATABASE_DEFAULTS = {
1911 1911
1912 if not profession_skills then 1912 if not profession_skills then
1913 class_professions[profession] = {} 1913 class_professions[profession] = {}
1914 profession_skills = class_professions[profession] 1914 profession_skills = class_professions[profession]
1915 end 1915 end
1916 profession_skills[spell_id] = ("%d:%d:%d"):format(required_level, min_skill, ActualCopperCost(_G.GetTrainerServiceCost(index), trainer_standing)) 1916 profession_skills[spell_id] = ("%d:%d:%d"):format(required_level, min_skill, _G.GetTrainerServiceCost(index))
1917 end 1917 end
1918 end 1918 end
1919 end 1919 end
1920 -- Reset the filters to what they were before 1920 -- Reset the filters to what they were before
1921 _G.SetTrainerServiceTypeFilter("available", available or 0) 1921 _G.SetTrainerServiceTypeFilter("available", available or 0)