Mercurial > wow > wowdb-profiler
comparison Constants.lua @ 558:d423605eccf0
Updated Interface for Patch 8.0.1. Consolidated many constants left in Main.lua file. Removed Legion support. Added new BFA data.
author | Caleb Atherton <atcaleb@twitch.tv> |
---|---|
date | Tue, 17 Jul 2018 18:52:43 -0400 |
parents | 66240e36fb16 |
children | acb717812170 |
comparison
equal
deleted
inserted
replaced
557:b1db703b7340 | 558:d423605eccf0 |
---|---|
11 ----------------------------------------------------------------------- | 11 ----------------------------------------------------------------------- |
12 local ADDON_NAME, private = ... | 12 local ADDON_NAME, private = ... |
13 | 13 |
14 | 14 |
15 ----------------------------------------------------------------------- | 15 ----------------------------------------------------------------------- |
16 -- Boss/Loot Data Constants. | 16 -- Boss/Item/Spell Data Constants. |
17 ----------------------------------------------------------------------- | 17 ----------------------------------------------------------------------- |
18 private.BLACKLISTED_ITEMS = { | |
19 [114116] = true, | |
20 [114119] = true, | |
21 [114120] = true, | |
22 [116980] = true, | |
23 [120319] = true, | |
24 [120320] = true, | |
25 [139593] = true, | |
26 [139594] = true, | |
27 [140590] = true, | |
28 } | |
29 | |
30 -- Spells that are cast by players/NPCs that are mistakenly assigned as being cast by the target; must be blacklisted | |
31 private.BLACKLISTED_SPELLS = { | |
32 [117526] = true, -- Binding Shot (cast by Hunters) | |
33 [121308] = true, -- Disguise (cast by Rogues) | |
34 [132464] = true, -- Chi Wave (cast by Monks) | |
35 [132467] = true, -- Chi Wave (cast by Monks) | |
36 [167432] = true, -- Savagery (cast by Warsong Commander) | |
37 [175077] = true, -- Fearsome Battle Standard (cast by Fearsome Battle Standard item) | |
38 [176813] = true, -- Itchy Spores (cast by Marsh Creatures in Ashran) | |
39 [183901] = true, -- Stolen Strength (cast by Felblood NPCs in Tanaan Jungle) | |
40 [183904] = true, -- Stolen Speed (cast by Felblood NPCs in Tanaan Jungle) | |
41 [183907] = true, -- Stolen Fervor (cast by Felblood NPCs in Tanaan Jungle) | |
42 [195802] = true, -- Moonkin Feather (applied by Moonfeather Statue; first stage buff) | |
43 [195805] = true, -- Moonkin Molting (applied by Moonfeather Statue; second stage buff) | |
44 [195810] = true, -- Feeling Moonkin (applied by Moonfeather Statue; third stage buff) | |
45 [195816] = true, -- Owlvercome wth the Fever (applied by Moonfeather Statue; final stage buff) | |
46 [213738] = true, -- Taste of Blood (applied by Fate and Fortune, Combat Rogue artifacts) | |
47 [213877] = true, -- Vampiric Aura (used by Nathrezim Invasion bosses and transformed players) | |
48 [215377] = true, -- The Maw Must Feed (applied by Maw of the Damned, Blood Death Knight artifact) | |
49 [218136] = true, -- Arcane Invigoration (cast by Duskwatch Rune Scribes in The Arcway) | |
50 [223971] = true, -- Hunter's Rush (applied by Fangs of Ashamane, Feral Druid artifacts) | |
51 [224762] = true, -- Leyline Rift (summoned by players with Leyline Mastery in Suramar) | |
52 [225832] = true, -- Nightglow Wisp (cast by players using Wisp in a Bottle toy) | |
53 } | |
54 | |
18 private.EPHEMERAL_CRYSTAL_OBJECT_IDS = { | 55 private.EPHEMERAL_CRYSTAL_OBJECT_IDS = { |
19 251168, | 56 251168, |
20 251183, | 57 251183, |
21 251185, | 58 251185, |
22 251186, | 59 251186, |
858 [156682] = true, | 895 [156682] = true, |
859 [156683] = true, | 896 [156683] = true, |
860 [156688] = true, | 897 [156688] = true, |
861 [156689] = true, | 898 [156689] = true, |
862 [156698] = true, | 899 [156698] = true, |
900 [159783] = true, | |
901 [160439] = true, | |
902 [161083] = true, | |
903 [161084] = true, | |
904 [163059] = true, | |
905 [163139] = true, | |
906 [163141] = true, | |
907 [163142] = true, | |
908 [163144] = true, | |
909 [163146] = true, | |
910 [163148] = true, | |
911 [163734] = true, | |
912 [164251] = true, | |
913 [164252] = true, | |
914 [164257] = true, | |
915 [164258] = true, | |
916 [164259] = true, | |
917 [164260] = true, | |
918 [164261] = true, | |
919 [164262] = true, | |
920 [164263] = true, | |
921 [164264] = true, | |
863 } | 922 } |
864 for key, value in next, private.DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP do | 923 for key, value in next, private.DELAYED_CONTAINER_SPELL_ID_TO_ITEM_ID_MAP do |
865 private.CONTAINER_ITEM_ID_LIST[value] = false | 924 private.CONTAINER_ITEM_ID_LIST[value] = false |
866 end | 925 end |
867 | 926 |
906 [254437] = 124625, -- 7.3 Raid World Boss - Bonus Roll Prompt (Mistress Alluradel) | 965 [254437] = 124625, -- 7.3 Raid World Boss - Bonus Roll Prompt (Mistress Alluradel) |
907 [254439] = 124719, -- 7.3 Raid World Boss - Bonus Roll Prompt (Pit Lord Vilemus) | 966 [254439] = 124719, -- 7.3 Raid World Boss - Bonus Roll Prompt (Pit Lord Vilemus) |
908 [254441] = 124514, -- 7.3 Raid World Boss - Bonus Roll Prompt (Matron Folnuna) | 967 [254441] = 124514, -- 7.3 Raid World Boss - Bonus Roll Prompt (Matron Folnuna) |
909 [254443] = 124492, -- 7.3 Raid World Boss - Bonus Roll Prompt (Occularus) | 968 [254443] = 124492, -- 7.3 Raid World Boss - Bonus Roll Prompt (Occularus) |
910 [254446] = 124555, -- 7.3 Raid World Boss - Bonus Roll Prompt (Sotanathor) | 969 [254446] = 124555, -- 7.3 Raid World Boss - Bonus Roll Prompt (Sotanathor) |
970 | |
971 ----------------------------------------------------------------------- | |
972 -- Uldir | |
973 ----------------------------------------------------------------------- | |
911 | 974 |
912 ----------------------------------------------------------------------- | 975 ----------------------------------------------------------------------- |
913 -- Antorus, the Burning Throne | 976 -- Antorus, the Burning Throne |
914 ----------------------------------------------------------------------- | 977 ----------------------------------------------------------------------- |
915 [250588] = 122450, -- 7.3 Raid Antorus - Bonus Roll Prompt - Boss 01 (Garothi Worldbreaker) | 978 [250588] = 122450, -- 7.3 Raid Antorus - Bonus Roll Prompt - Boss 01 (Garothi Worldbreaker) |
1018 | 1081 |
1019 ----------------------------------------------------------------------- | 1082 ----------------------------------------------------------------------- |
1020 -- Fundamental Constants. | 1083 -- Fundamental Constants. |
1021 ----------------------------------------------------------------------- | 1084 ----------------------------------------------------------------------- |
1022 private.wow_version, private.build_num, _, private.interface_num = _G.GetBuildInfo() | 1085 private.wow_version, private.build_num, _, private.interface_num = _G.GetBuildInfo() |
1086 | |
1087 private.GENDER_NAMES = { | |
1088 "UNKNOWN", | |
1089 "MALE", | |
1090 "FEMALE", | |
1091 } | |
1092 | |
1093 private.REACTION_NAMES = { | |
1094 "HATED", | |
1095 "HOSTILE", | |
1096 "UNFRIENDLY", | |
1097 "NEUTRAL", | |
1098 "FRIENDLY", | |
1099 "HONORED", | |
1100 "REVERED", | |
1101 "EXALTED", | |
1102 } | |
1103 | |
1104 private.STANDING_DISCOUNTS = { | |
1105 HATED = 0, | |
1106 HOSTILE = 0, | |
1107 UNFRIENDLY = 0, | |
1108 NEUTRAL = 0, | |
1109 FRIENDLY = 0.05, | |
1110 HONORED = 0.1, | |
1111 REVERED = 0.15, | |
1112 EXALTED = 0.2, | |
1113 } | |
1114 | |
1115 -- We should just use IDs here someday; WoWDB site knows all about different power types | |
1116 private.POWER_TYPE_NAMES = { | |
1117 ["0"] = "MANA", | |
1118 ["1"] = "RAGE", | |
1119 ["2"] = "FOCUS", | |
1120 ["3"] = "ENERGY", | |
1121 ["6"] = "RUNIC_POWER", | |
1122 } | |
1023 | 1123 |
1024 private.UNIT_TYPES = { | 1124 private.UNIT_TYPES = { |
1025 PLAYER = "Player", | 1125 PLAYER = "Player", |
1026 OBJECT = "GameObject", | 1126 OBJECT = "GameObject", |
1027 UNKNOWN = "Unknown", | 1127 UNKNOWN = "Unknown", |
1156 DREAMWEAVERS = { 1883, true, _G.GetFactionInfoByID(1883) }, | 1256 DREAMWEAVERS = { 1883, true, _G.GetFactionInfoByID(1883) }, |
1157 HIGHMOUNTAIN_TRIBE = { 1828, true, _G.GetFactionInfoByID(1828) }, | 1257 HIGHMOUNTAIN_TRIBE = { 1828, true, _G.GetFactionInfoByID(1828) }, |
1158 NIGHTFALLEN = { 1859, true, _G.GetFactionInfoByID(1859) }, | 1258 NIGHTFALLEN = { 1859, true, _G.GetFactionInfoByID(1859) }, |
1159 VALARJAR = { 1948, true, _G.GetFactionInfoByID(1948) }, | 1259 VALARJAR = { 1948, true, _G.GetFactionInfoByID(1948) }, |
1160 WARDENS = { 1894, true, _G.GetFactionInfoByID(1894) }, | 1260 WARDENS = { 1894, true, _G.GetFactionInfoByID(1894) }, |
1261 ARMIES_OF_LEGIONFALL = { 2045, true, _G.GetFactionInfoByID(2045) }, | |
1262 ARMY_OF_THE_LIGHT = { 2165, true, _G.GetFactionInfoByID(2165) }, | |
1263 ARGUSSIAN_REACH = { 2170, true, _G.GetFactionInfoByID(2170) }, | |
1264 -- BFA reps (blacklisted because of world quests) | |
1265 ZANDALARI_EMPIRE = { 2103, true, _G.GetFactionInfoByID(2103) }, | |
1266 PROUDMOORE_ADMIRALITY = { 2160, true, _G.GetFactionInfoByID(2160) }, | |
1267 TALNAJIS_EXPEDITION = { 2156, true, _G.GetFactionInfoByID(2156) }, | |
1268 ORDER_OF_EMBERS = { 2161, true, _G.GetFactionInfoByID(2161) }, | |
1269 VOLDUNAI = { 2158, true, _G.GetFactionInfoByID(2158) }, | |
1270 STORMS_WAKE = { 2162, true, _G.GetFactionInfoByID(2162) }, | |
1271 THE_HONORBOUND = { 2157, true, _G.GetFactionInfoByID(2157) }, | |
1272 SEVENTH_LEGION = { 2159, true, _G.GetFactionInfoByID(2159) }, | |
1273 CHAMPIONS_OF_AZEROTH = { 2164, true, _G.GetFactionInfoByID(2164) }, | |
1274 TORTOLLAN_SEEKERS = { 2163, true, _G.GetFactionInfoByID(2163) }, | |
1161 } | 1275 } |
1162 | 1276 |
1163 private.REP_BUFFS = { | 1277 private.REP_BUFFS = { |
1164 -- Tabard Buffs (they screw up everything, so blacklist) | 1278 -- Tabard Buffs (they screw up everything, so blacklist) |
1165 [_G.GetSpellInfo(93830)] = { -- BILGEWATER CARTEL TABARD | 1279 [_G.GetSpellInfo(93830)] = { -- BILGEWATER CARTEL TABARD |