From 8146cf5193199382c7aaada22c6d772586ee0896 Mon Sep 17 00:00:00 2001 From: Paliak <91493239+Paliak@users.noreply.github.com> Date: Thu, 21 Dec 2023 15:55:54 +0100 Subject: [PATCH] FIX: removes dual wield trigger interaction --- src/Modules/CalcTriggers.lua | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Modules/CalcTriggers.lua b/src/Modules/CalcTriggers.lua index 2f9c39a18d8..d59bda9015c 100644 --- a/src/Modules/CalcTriggers.lua +++ b/src/Modules/CalcTriggers.lua @@ -427,15 +427,6 @@ local function defaultTriggerHandler(env, config) end end - --Dual wield - if trigRate and source and (source.skillTypes[SkillType.Melee] or source.skillTypes[SkillType.Attack]) and not source.skillTypes[SkillType.Channel] and not actor.mainSkill.skillFlags.globalTrigger then - local dualWield = env.player.weaponData1.type and env.player.weaponData2.type - trigRate = dualWield and source.skillData.doubleHitsWhenDualWielding and trigRate * 2 or dualWield and trigRate / 2 or trigRate - if dualWield and breakdown then - t_insert(breakdown.EffectiveSourceRate, 2, s_format("%s 2 ^8(due to dual wielding)", source.skillData.doubleHitsWhenDualWielding and "*" or "/")) - end - end - actor.mainSkill.skillData.ignoresTickRate = actor.mainSkill.skillData.ignoresTickRate or (actor.mainSkill.skillData.storedUses and actor.mainSkill.skillData.storedUses > 1) --Account for source unleash