Skip to content

Commit 7221352

Browse files
wip
1 parent 6dd9bbc commit 7221352

File tree

4 files changed

+446
-11
lines changed

4 files changed

+446
-11
lines changed

Modules/Data/Constants.lua

Lines changed: 66 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,58 @@ Data.MAGE = 8
2020
Data.WARLOCK = 9
2121
Data.DRUID = 11
2222

23+
Data.BEAST = 1
24+
Data.DRAGONKIN = 2
25+
Data.DEMON = 3
26+
Data.ELEMENTAL = 4
27+
Data.GIANT = 5
28+
Data.UNDEAD = 6
29+
Data.HUMANOID = 7
30+
Data.MECHANICAL = 9
31+
Data.UNCATEGORIZED = 10
32+
2333
Data.setNames = {
34+
AUGURS_REGALIA = "Augur's Regalia",
2435
BATTLEGEAR_OF_MIGHT = "Battlegear of Might",
36+
CHAIN_OF_THE_SCARLET_CRUSADE = "Chain of the Scarlet Crusade",
37+
FREETHINKERS_ARMOR = "Freethinker's Armor",
38+
HARUSPEXS_GARB = "Haruspex's Garb",
2539
STORMRAGE_RAIMENT = "Stormrage Raiment",
26-
VESTMENTS_OF_TRANSCENDENCE = "Vestments of Transcendence",
2740
TEN_STORMS = "The Ten Storms",
2841
THE_EARTHSHATTERER = "The Earthshatterer",
29-
HARUSPEXS_GARB = "Haruspex's Garb",
30-
AUGURS_REGALIA = "Augur's Regalia",
31-
FREETHINKERS_ARMOR = "Freethinker's Armor"
42+
THE_TWIN_BLADES_OF_AZZINOTH = "The Twin Blades of Azzinoth",
43+
VESTMENTS_OF_TRANSCENDENCE = "Vestments of Transcendence",
3244
}
3345

3446
Data.enchantIds = {
47+
BEASTSLAYER = "249", -- +2 physical/spell damage vs beasts
3548
BIZNICK_SCOPE = "2523", -- 3% Hit from Biznicks 247x128 Accurascope
3649
BRACER_MANA_REGENERATION = "2565", -- 4 MP5 on bracer
37-
PROPHETIC_AURA = "2590", -- 4 MP5 for priest ZG Enchant
38-
RESILIENCE_OF_THE_SCOURGE = "2715", -- 4 MP5 for priest ZG Enchant
39-
INSCRIPTION_OF_FAITH = "2980", -- 4 MP5 from aldor enchant
40-
GLYPH_OF_RENEWAL = "3001", -- 7 MP5 from Honor Hold/Thrallmar enchant
41-
RESTORE_MANA_PRIME = "3150", -- 6 MP5 on chest
4250
BRILLIANT_MANA_OIL = "2629", -- 12 MP5
51+
GLYPH_OF_RENEWAL = "3001", -- 7 MP5 from Honor Hold/Thrallmar enchant
52+
INCREASED_DAMAGE_BEAST_10 = "192", -- +10 physical/spell vs beasts
53+
INCREASED_DAMAGE_BEAST_12 = "193", -- +12 physical/spell vs beasts
54+
INCREASED_DAMAGE_BEAST_14 = "194", -- +14 physical/spell vs beasts
55+
INCREASED_DAMAGE_BEAST_2 = "188", -- +2 physical/spell vs beasts
56+
INCREASED_DAMAGE_BEAST_4 = "189", -- +4 physical/spell vs beasts
57+
INCREASED_DAMAGE_BEAST_6 = "190", -- +6 physical/spell vs beasts
58+
INCREASED_DAMAGE_BEAST_8 = "191", -- +8 physical/spell vs beasts
59+
INCREASE_SPELL_DAM_UNDEAD_100 = "3592", -- 100 spellpower vs undead (wotlk)
60+
INCREASE_SPELL_DAM_UNDEAD_60 = "2685", -- 60 spell power vs undead
61+
INSCRIPTION_OF_FAITH = "2980", -- 4 MP5 from aldor enchant
62+
LESSER_BEAST_SLAYER = "853", -- +6 physical/spell vs beasts
63+
LESSER_ELEMENTAL_SLAYER = "854", -- +6 physical/spell vs elementals
4364
LESSER_MANA_OIL = "2625", -- 8 MP5
65+
MINOR_BEAST_SLAYER = "31", -- +2 physical/spell vs beasts
4466
MINOR_MANA_OIL = "2624", -- 4 MP5
67+
PROPHETIC_AURA = "2590", -- 4 MP5 for priest ZG Enchant
68+
RESILIENCE_OF_THE_SCOURGE = "2715", -- 4 MP5 for priest ZG Enchant
69+
RESTORE_MANA_PRIME = "3150", -- 6 MP5 on chest
70+
UNDEAD_DEMON_SLAYER_150 = "3093", -- +150 melee/ranged attack power vs undead and demons (tbc)
71+
UNDEAD_SLAYER = "3247", -- 140 melee/ranged attack power vs undead (wotlk)
72+
UNDEAD_SLAYER_100 = "2684", -- +100 melee/ranged Attack Power vs Undead
73+
UNDEAD_SLAYER_170 = "3593", -- 170 melee/ranged attack power vs undead (wotlk)
74+
UNDEAD_SLAYER_200 = "7896", -- 200 melee/ranged attack power vs undead (SoD)
4575
}
4676

4777
Data.gemIds = {
@@ -50,3 +80,30 @@ Data.gemIds = {
5080
TWO_MP5_GEMS = {"30589", "32225", "24065", "30594", "31865", "32214", "30606", "23121", "24057", "32216", "30603", "30560", "30550"},
5181
ONE_MP5_GEMS = {"23106", "31864", "28465", "23109"}
5282
}
83+
84+
Data.itemIds = {
85+
BEAST_SLAYING_24 = {11628, 11629},
86+
BEAST_SLAYING_30 = {11906, 7756, 3566},
87+
BEAST_SLAYING_33 = {15783, 15782},
88+
BEAST_SLAYING_60 = {7710, 19946},
89+
BEAST_SLAYING_99 = {231272, 231849}, -- sod
90+
DEMON_SLAYING_33 = {10697, 10696},
91+
DEMON_SLAYING_45 = {18715, 20487},
92+
DEMON_SLAYING_141 = {231277, 231864}, -- sod
93+
DRAGON_SLAYING_60 = {231274, 231847}, -- sod
94+
DRAGON_SLAYING_141 = {231273, 231846}, -- sod
95+
INCREASE_SPELL_DAM_UNDEAD_26 = {236722, 236739, 236723, 236738, 236724, 236737},
96+
INCREASE_SPELL_DAM_UNDEAD_35 = {23084, 18346},
97+
INCREASE_SPELL_DAM_UNDEAD_35_SOD = {236716, 236734, 236725},
98+
INCREASE_SPELL_DAM_UNDEAD_48 = {23085, 24198},
99+
INCREASE_SPELL_DAM_UNDEAD_48_SOD = {236717, 236735, 236726},
100+
INCREASE_SPELL_DAM_UNDEAD_62 = {236736, 236718, 236727},
101+
UNDEAD_SLAYER_30 = {867, 10805},
102+
UNDEAD_SLAYER_45_SOD = {236746, 236748, 236747, 236732, 236733, 236731},
103+
UNDEAD_SLAYER_45 = {23090, 23092, 23093}, -- without specter's blade
104+
UNDEAD_SLAYER_60_SOD = {236712, 236710, 236711},
105+
UNDEAD_SLAYER_60 = {23078, 23082, 23081},
106+
UNDEAD_SLAYER_81_SOD = {236714, 236715, 236713},
107+
UNDEAD_SLAYER_81 = {23087, 23088, 23089},
108+
UNDEAD_SLAYER_108 = {236708, 236709, 236707}, -- sod
109+
}

Modules/Data/ItemSets.lua

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,31 @@ local itemSets = {
7777
[19827] = true,
7878
[19952] = true
7979
},
80+
[setNames.CHAIN_OF_THE_SCARLET_CRUSADE] = {
81+
[10328] = true,
82+
[10329] = true,
83+
[10330] = true,
84+
[10331] = true,
85+
[10332] = true,
86+
[10333] = true
87+
},
88+
[setNames.THE_TWIN_BLADES_OF_AZZINOTH] = {
89+
[32837] = true,
90+
[32838] = true
91+
},
8092
}
8193

94+
function Data:HasDemonSlaying200()
95+
if classId == Data.ROGUE or classId == Data.WARRIOR then
96+
return Data:IsSetBonusActive(setNames.THE_TWIN_BLADES_OF_AZZINOTH, 2)
97+
end
98+
return false
99+
end
100+
101+
function Data:HasUndeadSlayer15()
102+
return Data:IsSetBonusActive(setNames.CHAIN_OF_THE_SCARLET_CRUSADE, 5)
103+
end
104+
82105
function Data:HasSetBonusModifierMP5()
83106
if classId == Data.PRIEST then
84107
return Data:IsSetBonusActive(setNames.VESTMENTS_OF_TRANSCENDENCE, 3)
@@ -126,4 +149,4 @@ function Data:IsSetBonusActive(setName, bonusLevel)
126149
end
127150
end
128151
return (equippedPieces >= bonusLevel)
129-
end
152+
end

0 commit comments

Comments
 (0)