Skip to content

Commit

Permalink
Merge pull request #27 from GovtGeek/warrior-dual-wield
Browse files Browse the repository at this point in the history
Fixed dual wielding bug
  • Loading branch information
GovtGeek authored Jul 16, 2024
2 parents 4dac105 + 973ef79 commit 9f79284
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Outfitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,11 @@ function Outfitter:TalentsChanged()
if _G["GetSpecialization"] then
self.CanDualWield2H = self.PlayerClass == "WARRIOR" and GetSpecialization() == 2
else
self.CanDualWield2H = self.PlayerClass == "WARRIOR" and select(5, GetTalentInfo(2, 24)) > 0
if Outfitter:IsClassicCataclysm() then
self.CanDualWield2H = self.PlayerClass == "WARRIOR" and select(5, GetTalentInfo(2, 15)) > 0
else
self.CanDualWield2H = self.PlayerClass == "WARRIOR" and select(5, GetTalentInfo(2, 24)) > 0
end
end
end

Expand Down

0 comments on commit 9f79284

Please sign in to comment.