Skip to content

Commit

Permalink
Add missing base game weapon bonus statmods
Browse files Browse the repository at this point in the history
  • Loading branch information
raethkcj committed Jun 28, 2024
1 parent fad3428 commit 0e3c8ad
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 0 deletions.
39 changes: 39 additions & 0 deletions libs/StatLogic/TBC_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,30 @@ elseif addon.class == "ROGUE" then
},
},
},
[StatLogic.Stats.MeleeCrit] = {
-- Talent: Dagger Specialization
{
["tab"] = 2,
["num"] = 11,
["rank"] = {
1, 2, 3, 4, 5,
},
["weapon"] = {
[Enum.ItemWeaponSubclass.Dagger] = true,
},
},
-- Talent: Fist Weapon Specialization
{
["tab"] = 2,
["num"] = 16,
["rank"] = {
1, 2, 3, 4, 5,
},
["weapon"] = {
[Enum.ItemWeaponSubclass.Unarmed] = true,
},
},
},
}
elseif addon.class == "SHAMAN" then
StatLogic.StatModTable["SHAMAN"] = {
Expand Down Expand Up @@ -1529,6 +1553,21 @@ elseif addon.class == "WARRIOR" then
["aura"] = 12976,
},
},
[StatLogic.Stats.MeleeCrit] = {
-- Talent: Poleaxe Specialization
{
["tab"] = 1,
["num"] = 12,
["rank"] = {
1, 2, 3, 4, 5,
},
["weapon"] = {
[Enum.ItemWeaponSubclass.Axe1H] = true,
[Enum.ItemWeaponSubclass.Axe2H] = true,
[Enum.ItemWeaponSubclass.Polearm] = true,
},
},
},
}
end

Expand Down
26 changes: 26 additions & 0 deletions libs/StatLogic/Vanilla_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,32 @@ elseif addon.class == "ROGUE" then
},
},
},
[StatLogic.Stats.WeaponSkill] = {
-- Talent: Mace Specializaiton
{
["tab"] = 2,
["num"] = 13,
["rank"] = {
1, 2, 3, 4, 5,
},
["weapon"] = {
[Enum.ItemWeaponSubclass.Mace1H] = true,
},
},
-- Talent: Weapon Expertise
{
["tab"] = 2,
["num"] = 17,
["rank"] = {
3, 5,
},
["weapon"] = {
[Enum.ItemWeaponSubclass.Sword1H] = true,
[Enum.ItemWeaponSubclass.Dagger] = true,
[Enum.ItemWeaponSubclass.Unarmed] = true,
},
},
},
}
elseif addon.class == "SHAMAN" then
StatLogic.StatModTable["SHAMAN"] = {
Expand Down
29 changes: 29 additions & 0 deletions libs/StatLogic/Wrath_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2465,6 +2465,20 @@ elseif addon.class == "ROGUE" then
},
},
},
[StatLogic.Stats.MeleeCrit] = {
-- Talent: Close Quarters Combat
{
["tab"] = 2,
["num"] = 9,
["rank"] = {
1, 2, 3, 4, 5,
},
["weapon"] = {
[Enum.ItemWeaponSubclass.Dagger] = true,
[Enum.ItemWeaponSubclass.Unarmed] = true,
},
},
},
}
elseif addon.class == "SHAMAN" then
StatLogic.StatModTable["SHAMAN"] = {
Expand Down Expand Up @@ -2917,6 +2931,21 @@ elseif addon.class == "WARRIOR" then
},
},
},
[StatLogic.Stats.MeleeCrit] = {
-- Talent: Poleaxe Specialization
{
["tab"] = 1,
["num"] = 13,
["rank"] = {
1, 2, 3, 4, 5,
},
["weapon"] = {
[Enum.ItemWeaponSubclass.Axe1H] = true,
[Enum.ItemWeaponSubclass.Axe2H] = true,
[Enum.ItemWeaponSubclass.Polearm] = true,
},
},
},
}
end

Expand Down

0 comments on commit 0e3c8ad

Please sign in to comment.