Skip to content

Commit 00e7ca2

Browse files
authored
FIX: Varunarustra not counting as a different weapon type for dual strike of ambidexterity. (#9580)
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
1 parent fd58246 commit 00e7ca2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Modules/CalcActiveSkill.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ function calcs.buildActiveSkillModList(env, activeSkill)
308308
if not skillTypes[SkillType.MainHandOnly] and not skillFlags.forceMainHand then
309309
local weapon2Flags, weapon2Info = getWeaponFlags(env, activeSkill.actor.weaponData2, weaponTypes)
310310
if weapon2Flags then
311-
if skillTypes[SkillType.DualWieldRequiresDifferentTypes] and (activeSkill.actor.weaponData1.type == activeSkill.actor.weaponData2.type) then
311+
if skillTypes[SkillType.DualWieldRequiresDifferentTypes] and (activeSkill.actor.weaponData1.type == activeSkill.actor.weaponData2.type) and not (activeSkill.actor.weaponData2.countsAsAll1H or activeSkill.actor.weaponData1.countsAsAll1H) then
312312
-- Skill requires a different compatible off hand weapon to main hand weapon
313313
skillFlags.disable = true
314314
activeSkill.disableReason = activeSkill.disableReason or "Weapon Types Need to be Different"

0 commit comments

Comments
 (0)