Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retribution paladin issue #77

Open
Thrumbar opened this issue Sep 8, 2018 · 1 comment
Open

Retribution paladin issue #77

Thrumbar opened this issue Sep 8, 2018 · 1 comment

Comments

@Thrumbar
Copy link

Thrumbar commented Sep 8, 2018

My Retribution Paladin keep changing his 2h weapon for a 1h and shield....

@Malkymder
Copy link

Malkymder commented Sep 14, 2018

What i did is ignore shields when retribution paladin is the following in set.class.lua since we should not use shields as ret paladins anyhow

`function Set:IsOnehandedWeapon(item)

local itemTable = type(item) == 'table' and item or TopFit:GetCachedItem(item)
if not itemTable then return nil end
local currSpec     = GetSpecialization()
classID = UnitClass("player")
if classID == "Paladin" and currSpec == 3 and tContains(itemTable.equipLocationsByType, INVSLOT_OFFHAND) then -- Paladin Retribution
    return false
end`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants