Mercurial > wow > lfg-premade-filter
comparison LFGFilter.lua @ 18:caae3287d83c
add support for Blackrock Foundry (zone, not bosses for the moment)
author | ovolkov |
---|---|
date | Thu, 05 Feb 2015 04:21:54 +0300 |
parents | ba1754998685 |
children | 8dc3e648abeb |
comparison
equal
deleted
inserted
replaced
17:ba1754998685 | 18:caae3287d83c |
---|---|
10 return func | 10 return func |
11 end | 11 end |
12 }) | 12 }) |
13 | 13 |
14 local aliases = { | 14 local aliases = { |
15 hm = "highmaul", | 15 hm = "highmaul", |
16 healers = "healer", | 16 brf = "blackrock_foundry", |
17 members = "member", | 17 blackrockfoundry = "blackrock_foundry", |
18 tanks = "tank", | 18 healers = "healer", |
19 damagers = "damager", | 19 members = "member", |
20 damage = "damager", | 20 tanks = "tank", |
21 plates = "plate", | 21 damagers = "damager", |
22 mails = "mail", | 22 damage = "damager", |
23 leathers = "leather", | 23 plates = "plate", |
24 cloths = "cloth", | 24 mails = "mail", |
25 clothies = "cloth", | 25 leathers = "leather", |
26 cloths = "cloth", | |
27 clothies = "cloth", | |
26 } | 28 } |
27 for idx = 1, MAX_CLASSES do | 29 for idx = 1, MAX_CLASSES do |
28 local class_lc = CLASS_SORT_ORDER[idx]:lower() | 30 local class_lc = CLASS_SORT_ORDER[idx]:lower() |
29 aliases[class_lc .. "s"] = class_lc | 31 aliases[class_lc .. "s"] = class_lc |
30 end | 32 end |
133 raid_token = "highmaul" | 135 raid_token = "highmaul" |
134 result_env.normal = true | 136 result_env.normal = true |
135 elseif activityID == 38 then | 137 elseif activityID == 38 then |
136 raid_token = "highmaul" | 138 raid_token = "highmaul" |
137 result_env.heroic = true | 139 result_env.heroic = true |
138 | 140 elseif activityID == 39 then |
141 raid_token = "blackrock_foundry" | |
142 result_env.normal = true | |
143 elseif activityID == 40 then | |
144 raid_token = "blackrock_foundry" | |
145 result_env.heroic = true | |
139 end | 146 end |
140 | 147 |
141 if raid_token then | 148 if raid_token then |
142 result_env[raid_token] = true | 149 result_env[raid_token] = true |
143 if completedEncounters then InsertEncounterStateAliases(result_env, raid_token, completedEncounters) end | 150 if completedEncounters then InsertEncounterStateAliases(result_env, raid_token, completedEncounters) end |