Skip to content

Commit 259ea45

Browse files
Fix being able to dual-wield Spears (#1703)
* spears as wands * Fix Spear showing up as off hand weapon --------- Co-authored-by: LocalIdentity <31035929+LocalIdentity@users.noreply.github.com>
1 parent 3f37719 commit 259ea45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Classes/ItemsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1952,7 +1952,7 @@ function ItemsTabClass:IsItemValidForSlot(item, slotName, itemSet, flagState)
19521952
return item.type == "Focus"
19531953
elseif weapon1Base == "Unarmed" or weapon1Base.tags.onehand or (giantsBlood and (weapon1Base.tags.axe or weapon1Base.tags.mace or weapon1Base.tags.sword)) then
19541954
return item.type == "Shield" or item.type == "Focus" or item.type == "Sceptre"
1955-
or (item.base.tags.one_hand_weapon and weapon1Base.type ~= "Wand" and weapon1Base.type ~= "Sceptre")
1955+
or (item.base.tags.one_hand_weapon and weapon1Base.type ~= "Wand" and weapon1Base.type ~= "Sceptre" and item.type ~= "Spear")
19561956
or (giantsBlood and (item.base.tags.axe or item.base.tags.mace or item.base.tags.sword))
19571957
end
19581958
end

0 commit comments

Comments
 (0)