Skip to content

Commit 2c06a6a

Browse files
committed
believe it or not there was more to simplify
but also a fix to not allow GS of Earthshaking
1 parent 7937d6f commit 2c06a6a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/Modules/CalcActiveSkill.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,7 @@ local function getWeaponFlags(env, weaponData, weaponTypes, skillTypeDualWieldOn
198198
local function matchesWeaponType(weaponData, types, skillTypeDualWieldOnly)
199199
-- Wings of Entropy
200200
if weaponData.countsAsDualWielding then
201-
if skillTypeDualWieldOnly then
202-
return true
203-
end
204-
return (types[weaponData.type] or types["One Handed "..info.flag]) and types["One Handed "..info.flag]
201+
return skillTypeDualWieldOnly or types["One Handed "..info.flag]
205202
end
206203
-- Varunastra
207204
if weaponData.countsAsAll1H then

0 commit comments

Comments
 (0)