Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Modules/CalcActiveSkill.lua
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function calcs.buildActiveSkillModList(env, activeSkill)
activeSkill.weapon2Flags = 0
else
-- Set weapon flags
if skillFlags.attack and activeSkill.socketGroup and activeSkill.socketGroup.sourceItem then
if skillFlags.attack and activeSkill.socketGroup and activeSkill.socketGroup.sourceItem and activeSkill.socketGroup.sourceItem.base and activeSkill.socketGroup.sourceItem.base.weapon then
-- Item-granted attacks use the weapon that grants the skill
local sourceSlot = activeSkill.socketGroup.slot or ""
skillFlags.forceMainHand = sourceSlot:match("^Weapon 1") ~= nil
Expand Down
Loading