Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 66 additions & 9 deletions Modules/Data/Constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,58 @@ Data.MAGE = 8
Data.WARLOCK = 9
Data.DRUID = 11

Data.BEAST = 1
Data.DRAGONKIN = 2
Data.DEMON = 3
Data.ELEMENTAL = 4
Data.GIANT = 5
Data.UNDEAD = 6
Data.HUMANOID = 7
Data.MECHANICAL = 9
Data.UNCATEGORIZED = 10

Data.setNames = {
AUGURS_REGALIA = "Augur's Regalia",
BATTLEGEAR_OF_MIGHT = "Battlegear of Might",
CHAIN_OF_THE_SCARLET_CRUSADE = "Chain of the Scarlet Crusade",
FREETHINKERS_ARMOR = "Freethinker's Armor",
HARUSPEXS_GARB = "Haruspex's Garb",
STORMRAGE_RAIMENT = "Stormrage Raiment",
VESTMENTS_OF_TRANSCENDENCE = "Vestments of Transcendence",
TEN_STORMS = "The Ten Storms",
THE_EARTHSHATTERER = "The Earthshatterer",
HARUSPEXS_GARB = "Haruspex's Garb",
AUGURS_REGALIA = "Augur's Regalia",
FREETHINKERS_ARMOR = "Freethinker's Armor"
THE_TWIN_BLADES_OF_AZZINOTH = "The Twin Blades of Azzinoth",
VESTMENTS_OF_TRANSCENDENCE = "Vestments of Transcendence",
}

Data.enchantIds = {
BEASTSLAYER = "249", -- +2 physical/spell damage vs beasts
BIZNICK_SCOPE = "2523", -- 3% Hit from Biznicks 247x128 Accurascope
BRACER_MANA_REGENERATION = "2565", -- 4 MP5 on bracer
PROPHETIC_AURA = "2590", -- 4 MP5 for priest ZG Enchant
RESILIENCE_OF_THE_SCOURGE = "2715", -- 4 MP5 for priest ZG Enchant
INSCRIPTION_OF_FAITH = "2980", -- 4 MP5 from aldor enchant
GLYPH_OF_RENEWAL = "3001", -- 7 MP5 from Honor Hold/Thrallmar enchant
RESTORE_MANA_PRIME = "3150", -- 6 MP5 on chest
BRILLIANT_MANA_OIL = "2629", -- 12 MP5
GLYPH_OF_RENEWAL = "3001", -- 7 MP5 from Honor Hold/Thrallmar enchant
INCREASED_DAMAGE_BEAST_10 = "192", -- +10 physical/spell vs beasts
INCREASED_DAMAGE_BEAST_12 = "193", -- +12 physical/spell vs beasts
INCREASED_DAMAGE_BEAST_14 = "194", -- +14 physical/spell vs beasts
INCREASED_DAMAGE_BEAST_2 = "188", -- +2 physical/spell vs beasts
INCREASED_DAMAGE_BEAST_4 = "189", -- +4 physical/spell vs beasts
INCREASED_DAMAGE_BEAST_6 = "190", -- +6 physical/spell vs beasts
INCREASED_DAMAGE_BEAST_8 = "191", -- +8 physical/spell vs beasts
INCREASE_SPELL_DAM_UNDEAD_100 = "3592", -- 100 spellpower vs undead (wotlk)
INCREASE_SPELL_DAM_UNDEAD_60 = "2685", -- 60 spell power vs undead
INSCRIPTION_OF_FAITH = "2980", -- 4 MP5 from aldor enchant
LESSER_BEAST_SLAYER = "853", -- +6 physical/spell vs beasts
LESSER_ELEMENTAL_SLAYER = "854", -- +6 physical/spell vs elementals
LESSER_MANA_OIL = "2625", -- 8 MP5
MINOR_BEAST_SLAYER = "31", -- +2 physical/spell vs beasts
MINOR_MANA_OIL = "2624", -- 4 MP5
PROPHETIC_AURA = "2590", -- 4 MP5 for priest ZG Enchant
RESILIENCE_OF_THE_SCOURGE = "2715", -- 4 MP5 for priest ZG Enchant
RESTORE_MANA_PRIME = "3150", -- 6 MP5 on chest
UNDEAD_DEMON_SLAYER_150 = "3093", -- +150 melee/ranged attack power vs undead and demons (tbc)
UNDEAD_SLAYER = "3247", -- 140 melee/ranged attack power vs undead (wotlk)
UNDEAD_SLAYER_100 = "2684", -- +100 melee/ranged Attack Power vs Undead
UNDEAD_SLAYER_170 = "3593", -- 170 melee/ranged attack power vs undead (wotlk)
UNDEAD_SLAYER_200 = "7896", -- 200 melee/ranged attack power vs undead (SoD)
}

Data.gemIds = {
Expand All @@ -50,3 +80,30 @@ Data.gemIds = {
TWO_MP5_GEMS = {"30589", "32225", "24065", "30594", "31865", "32214", "30606", "23121", "24057", "32216", "30603", "30560", "30550"},
ONE_MP5_GEMS = {"23106", "31864", "28465", "23109"}
}

Data.itemIds = {
BEAST_SLAYING_24 = {11628, 11629},
BEAST_SLAYING_30 = {11906, 7756, 3566},
BEAST_SLAYING_33 = {15783, 15782},
BEAST_SLAYING_60 = {7710, 19946},
BEAST_SLAYING_99 = {231272, 231849}, -- sod
DEMON_SLAYING_33 = {10697, 10696},
DEMON_SLAYING_45 = {18715, 20487},
DEMON_SLAYING_141 = {231277, 231864}, -- sod
DRAGON_SLAYING_60 = {231274, 231847}, -- sod
DRAGON_SLAYING_141 = {231273, 231846}, -- sod
INCREASE_SPELL_DAM_UNDEAD_26 = {236722, 236739, 236723, 236738, 236724, 236737},
INCREASE_SPELL_DAM_UNDEAD_35 = {23084, 18346},
INCREASE_SPELL_DAM_UNDEAD_35_SOD = {236716, 236734, 236725},
INCREASE_SPELL_DAM_UNDEAD_48 = {23085, 24198},
INCREASE_SPELL_DAM_UNDEAD_48_SOD = {236717, 236735, 236726},
INCREASE_SPELL_DAM_UNDEAD_62 = {236736, 236718, 236727},
UNDEAD_SLAYER_30 = {867, 10805},
UNDEAD_SLAYER_45_SOD = {236746, 236748, 236747, 236732, 236733, 236731},
UNDEAD_SLAYER_45 = {23090, 23092, 23093}, -- without specter's blade
UNDEAD_SLAYER_60_SOD = {236712, 236710, 236711},
UNDEAD_SLAYER_60 = {23078, 23082, 23081},
UNDEAD_SLAYER_81_SOD = {236714, 236715, 236713},
UNDEAD_SLAYER_81 = {23087, 23088, 23089},
UNDEAD_SLAYER_108 = {236708, 236709, 236707}, -- sod
}
25 changes: 24 additions & 1 deletion Modules/Data/ItemSets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,31 @@ local itemSets = {
[19827] = true,
[19952] = true
},
[setNames.CHAIN_OF_THE_SCARLET_CRUSADE] = {
[10328] = true,
[10329] = true,
[10330] = true,
[10331] = true,
[10332] = true,
[10333] = true
},
[setNames.THE_TWIN_BLADES_OF_AZZINOTH] = {
[32837] = true,
[32838] = true
},
}

function Data:HasDemonSlaying200()
if classId == Data.ROGUE or classId == Data.WARRIOR then
return Data:IsSetBonusActive(setNames.THE_TWIN_BLADES_OF_AZZINOTH, 2)
end
return false
end

function Data:HasUndeadSlayer15()
return Data:IsSetBonusActive(setNames.CHAIN_OF_THE_SCARLET_CRUSADE, 5)
end

function Data:HasSetBonusModifierMP5()
if classId == Data.PRIEST then
return Data:IsSetBonusActive(setNames.VESTMENTS_OF_TRANSCENDENCE, 3)
Expand Down Expand Up @@ -126,4 +149,4 @@ function Data:IsSetBonusActive(setName, bonusLevel)
end
end
return (equippedPieces >= bonusLevel)
end
end
Loading
Loading