Modifying the offhand multiplier in combat.lua
Posted: Mon Oct 23, 2017 8:59 am
I want to make my new class dual wield one handed weapons (which is easy enough).
However getOffHandMultiplier looks specifically at reaving combat/dual wield mastery/dual weapon training to find the offhand multiplier.
I do not know how to make my own changes to the combat.lua (that's a bit more complicated than the rest, it seems), could someone explain roughly (or exactly) what I'd have to do to add in another if statement that looks to my new talent, or a different way to end up in the same situation?
All it should need is
chucked in there but that's beyond me.
Cheers in advance.
However getOffHandMultiplier looks specifically at reaving combat/dual wield mastery/dual weapon training to find the offhand multiplier.
I do not know how to make my own changes to the combat.lua (that's a bit more complicated than the rest, it seems), could someone explain roughly (or exactly) what I'd have to do to add in another if statement that looks to my new talent, or a different way to end up in the same situation?
All it should need is
Code: Select all
if self:knowTalent(Talents.T_NORSE_MIGHT) then
offmult = math.max(offmult,self:callTalent(Talents.T_NORSE_Might,"getoffmult"))
end
Cheers in advance.