Skip to content

Paperdoll: the shield slot takes a one-handed melee weapon (fix #225) - #231

Merged
eriknihlen merged 2 commits into
mainfrom
fix/issue-225-dual-wield
Oct 20, 2026
Merged

eriknihlen merged 2 commits into
mainfrom
fix/issue-225-dual-wield

Conversation

@eriknihlen

Copy link
Copy Markdown
Owner

Fixes #225.

The paperdoll's shield slot now accepts a one-handed melee weapon and wields it in the off hand, as the original client does: the shield slot takes anything that can go in the melee weapon slot (bows, casters and two-handers are refused). The wield request sends the shield-slot location; a shield already there goes to the pack first. The client does not check the Dual Wield skill; the server decides (ACE accepts a melee weapon in the shield slot).

  • ItemEquipRules: shield-slot widening rule.
  • PaperdollController: drag-over uses it; a drop routes to the existing off-hand wield path.
  • Three new tests, failing before the fix. Portable filter: 21,693 passed.

🤖 Generated with Claude Code

eriknihlen and others added 2 commits October 19, 2026 22:37
Dragging a one-handed melee weapon onto the paperdoll's shield slot was
refused: the slot accepted an item only when its own valid locations named
the shield slot, and a weapon's never do. The original client treats the
shield slot as also accepting anything that fits the melee weapon slot and
wields it in the off hand, sending the shield-slot location; whatever is
already in the shield slot is moved to the backpack first. Whether the
character can dual wield is left to the server, as before.

The drop now goes through the existing off-hand wield transaction, so the
request and the blocker handling match the secondary-wield path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A shield dropped on the paperdoll's shield slot while a weapon sat there as
the off hand was sent to be wielded straight away, and the server refused it
because the slot was taken. The original client treats the shield slot the
same whatever is dropped on it: an empty slot is wielded into at once, and
whatever holds it is moved to the backpack first, then the wield follows.
The explicit shield-slot request now does the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eriknihlen
eriknihlen merged commit 33c753e into main Oct 20, 2026
7 checks passed
@eriknihlen
eriknihlen deleted the fix/issue-225-dual-wield branch October 20, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot Equip Weapon In Shield Slot With Dual Wield

1 participant