Skip to content

Fix/dancing dervish unarmed - #10519

Open
Jayensee wants to merge 13 commits into
PathOfBuildingCommunity:devfrom
Jayensee:fix/dancing-dervish-unarmed
Open

Jayensee wants to merge 13 commits into
PathOfBuildingCommunity:devfrom
Jayensee:fix/dancing-dervish-unarmed

Conversation

@Jayensee

Copy link
Copy Markdown

Fixes #8696.
Fixes #10516.

Description of the problem being solved:

When Manifest Dancing Dervishes is active, its "Weapon Disabled" buff should disable both weapon slots. PoB only partly applied this, which caused several bugs:

  • The weapon's global mods still applied. The Dancing Dervish's accuracy (The Dancing Dervish's implicit of 60% increased global accuracy is being calculated in unarmed/unencumbered builds #8696) and movement speed counted even while the dervishes were manifested. The special handling in CalcSetup looked for the granted skill id UniqueAnimateWeapon, which no longer exists (the skill is now ManifestDancingDervishes). So that handling never ran, and the weapon's mods always went into the player's modDB.
  • Attacks were only half unarmed. DisableWeapons was only handled late in CalcPerform, where it swapped weaponData1 to unarmed. By then the skill weapon flags, the weapon conditions (UsingSword, UsingTwoHandedWeapon, UsingMeleeWeapon, ...) and support matching had already used the sword. Unarmed attacks therefore got Sword / Two Handed / Weapon modifiers, while modifiers to Unarmed Attacks (which check the weapon flag) didn't apply.
  • Hollow Palm Technique got no off hand. It only adds the unarmed off hand when itemList["Weapon 1"] is empty, and the Dervish still occupies that slot. So there was no dual wielding, and main-hand-only modifiers such as Ambidexterity's "60% increased Attack Damage with Main Hand while Dual Wielding" applied to every hit.
  • Hide of the Vendigo didn't work. "Can Attack as though using a Claw while main hand is empty" also checked itemList["Weapon 1"], so Claw-only skills stayed disabled.
  • Battlemage and Spellblade added the (unarmed) main hand damage to spells, because they detect a weapon via itemList["Weapon 1"].
  • Skills socketed in the Dervish stayed active. In game, skills socketed in the disabled weapon (e.g. auras) can't be used while the dervishes are manifested. Supports socketed in it still apply to the dervishes (the dervishes snapshot their supports when summoned, before the weapon slot gets disabled).

Hide of the Vendigo also had two skill usability issues, both checked in game. They aren't specific to the Dervish:

  • Smite (Unarmed but not Claw) was usable with Hide of the Vendigo. In game, Vendigo makes you count as using a Claw when checking which skills can be used, so Smite can't be used.
  • With Hollow Palm Technique, skills that can be used with a Claw but not Unarmed, such as Cobra Lash or Spectral Throw (Spectral Throw cannot be used with Hide of the Vendigo #10516), were disabled ("Off Hand weapon is not usable with this skill") because the unarmed off hand isn't a Claw. In game, Vendigo only decides which skills can be used, based on the main hand. Once a skill can be used, Hollow Palm still dual wields with it. Dual Strike still can't be used.

Changes:

  • CalcSetup works out whether an active socket group has a DisableWeapons skill before the items are processed, using the same gating as active skill creation and buff application (main group or enabled group in the active weapon set, gem enabled, global effect enabled, buffs mode). The result is stored as env.player.weaponsDisabled.
  • While it's set, the items in the active weapon slots are treated as not equipped. They go into env.player.disabledItemList instead of itemList, and their mods aren't added, except the Dancing Dervish's Rampage (the dervishes die when Rampage ends). Their requirements still count. Everything that reads the equipped weapons then sees empty slots without special-casing: weapon data, weapon flags and conditions, Hollow Palm, Hide of the Vendigo, Battlemage, Spellblade, Energy Blade, UsingShield / OffHandIsEmpty / Unencumbered. The broken Dervish special case and the late weapon swap in CalcPerform are removed.
  • Item-granted socket groups are only updated after the items are processed, so on the first calculation after equipping the Dervish the check can't see its skill yet. If the result changes once the groups are updated, initEnv runs once more (override.weaponsDisabledRechecked), like the existing Energy Blade re-run. Item comparison tooltips ignore the granted skill of the item being replaced.
  • Minions that use the player's weapons (the Dancing Dervishes, Animate Weapon) still get the disabled weapon via disabledItemList. Minion DPS is unchanged, except that auras socketed in the disabled weapon (now disabled) no longer affect the Dancing Dervishes.
  • Skills socketed in the disabled weapons are disabled ("This skill is socketed in a disabled weapon"), as are other skills they grant ("This skill is granted by a disabled weapon"). Only the skill that disables the weapons is exempt, and supports socketed in the weapon still support it.
  • With Hide of the Vendigo, only the weapon types you attack as though using (asThoughUsing) decide which skills you can use. If the main hand can use the skill, the unarmed Hollow Palm off hand attacks with it too, unless the skill is dual wield only.

Turning off the Manifest Dancing Dervishes socket group still gives the normal armed behaviour (weapon mods apply, attacks use the sword).

Steps taken to verify a working solution:

  • Tested in game: accuracy and movement speed from the Dervish are lost while manifested, only unarmed modifiers apply, the Ambidexterity off hand attack speed works with Hollow Palm (also with Hide of the Vendigo), socketed auras are disabled, and with Hide of the Vendigo Cobra Lash can be used but Smite and Dual Strike can't.
  • Added spec/System/TestDancingDervish_spec.lua with 15 tests. Each one checks the result with the dervishes manifested and, where relevant, with the group disabled:
    • weapon mods apply only when the dervishes aren't manifested
    • skills socketed in the weapon are disabled, but its supports still support the dervishes
    • Rampage is kept
    • weapon flags and conditions are unarmed
    • Hollow Palm dual wields, and a main-hand-only "while Dual Wielding" mod raises only main hand damage
    • Hide of the Vendigo enables a Claw skill
    • Battlemage and Spellblade don't use the disabled weapon
    • the minions keep the sword's weapon data
    • the weapon slots are disabled on the first calculation after equipping the Dervish
    • comparing another weapon against the Dervish isn't affected
    • the disabled weapon's requirements are kept
    • Energy Blade doesn't replace the disabled weapons
    • only the active weapon set is disabled
  • Added 5 Hide of the Vendigo tests to TestAttacks_spec.lua: Smite is disabled, Cobra Lash and Spectral Throw (Spectral Throw cannot be used with Hide of the Vendigo #10516) with Hollow Palm attack with both hands, Cyclone with Hollow Palm still attacks with both hands, and Dual Strike with Hollow Palm is still disabled.
  • Ran the new tests against dev's source: all 15 Dervish tests and the Smite, Cobra Lash and Spectral Throw tests fail. The Cyclone and Dual Strike tests pass on dev too; they guard against regressions.
  • Full busted suite passes (765 successes, 0 failures).
  • Checked that Manifest Dancing Dervishes minion DPS is identical before and after the change, except for auras socketed in the weapon: Hatred socketed in the Dervish buffed the minions before (1580 DPS in the showcase build) and doesn't after (1155 DPS, the same as without Hatred).

Link to a build that showcases this PR:

https://pobb.in/GIzUP6PXCv8E

Before and after screenshots:

1-socketed-in-dervish 2-cyclone-unarmed 3-vendigo-hollow-palm

🤖 Generated with Claude Code
(reviewed and tested by me, the human telling claude to do stuff)

Jayensee and others added 9 commits November 19, 2026 09:24
The Dancing Dervish's mods were never separated from the player's as
the special handling checked for a skill id that no longer exists, so
its global accuracy and movement speed always applied.

Weapons disabled by Manifest Dancing Dervishes were also only handled
late in CalcPerform, after weapon flags, conditions, Hollow Palm
Technique's off hand and Hide of the Vendigo had been set up using the
sword. Determine it in CalcSetup before the weapon data is built so
both weapon slots count as empty. Battlemage and Spellblade no longer
use the disabled weapon, and the Dervish minions keep using the sword.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…bility

Skills socketed in the weapons disabled by Manifested Dancing Dervishes
(e.g. auras) can no longer be used. Supports socketed in them still
support the Manifest Dancing Dervishes skill.

Hide of the Vendigo makes you count as using a Claw for which skills can
be used, so skills that can be used Unarmed but not with a Claw (Smite)
are disabled. With Hollow Palm Technique, Claw skills (Cobra Lash) are no
longer disabled by the unarmed off hand; they only attack with the main
hand.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Hide of the Vendigo only decides which skills can be used, based on the
main hand. Once a skill can be used, the unarmed off hand from Hollow Palm
Technique attacks with it as well, unless the skill is dual wield only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The weapon checks overwrote the reason with "No usable weapon equipped",
so the check now runs after them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Work out whether the weapon slots are disabled before the items are
processed, and leave the disabled weapons out of the equipped item list
(keeping them in disabledItemList for their requirements and for minions
that use them). Everything that reads the equipped items then sees empty
weapon slots, so the Dancing Dervish specific workarounds for its
modifiers, Battlemage, Spellblade and the off hand conditions are no
longer needed. Rampage from the Dancing Dervish still applies.

Item-granted skill groups are only created after the items are
processed, so the calculation is redone if that changes whether the
weapons are disabled, e.g. right after equipping The Dancing Dervish.
Skills granted by an item being replaced when comparing items no longer
disable the weapon slots.

Only the skill that disables the weapons is exempt from being disabled
when it comes from a weapon slot.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Without an off hand hit the test compared nil with nil and passed on dev.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@Wires77 Wires77 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some code duplications we could consolidate here, but I did find a real regression. The following build no longer gets the 4% increased damage with ailments from melee weapons near the cluster jewel node

eNrtfVtz3DbS6HPmV7BUtefFskzcCNDH3q90tbWxLEWS7WRfXCABSow55JjkSFa29r-fBkjOkDPkaEZS4pwv2WyNRbC7CfQN3UATfPU_38aJc6PzIs7S11tox91ydBpmKk6vXm99uDx6Lrb-55-jV2eyvD6N9qZxYu78c_TDK_u3I4tQp2o_kUXxXo716603iVSxLLN8ywlkquLy9dZhLscxXIfXMpdhqfN3-kYnu9MyO8kUoEQyKTTcnhM5mOokLsotJzGQ0C0XujWWcXqRhV90-SbPppPXW2LLmci0vNZZeiJ_zfI3mXq99W6ayjwuWrfitL61GwQ6h3FsOaXMr3T5sRk1-Qzkb2J9W_Xn-OTs9PxyCwb5w6uzRN7p_KKUpVPADxABXskrfSDH8AtYMpkCCncZwmSHC0Y8sfViJereNC_Kh-BfTLRWMxSEdhCmQ7BnuT6MIh2W8Y3ez-Ny_1qm4fx57hDeprAn06SMJ0ms8_vh3y6RNnIdAL7MSpkcnF3MWSQo4b634wv4g3ir8bLy_u7sJcDO9hMQcanPd1xBCHUFG8L7FJfXS7jc5xT7dMfliHO6Evf4Ko1L_YChGeSzLC6y9BF8ecCAj8cTmXQ6TD3CsIt3sKCuv7K_y7igtFz4vr-DOWZkULemSQKOpo04KMhzXej8RpZxlzHDepuNgzhdkD32XJ8CGwljgg9acK7laVQZ1jn4uWlxostcFzMywJIh3BOZyv2sWEMxDeSZzsGxlhshXOgwA1-86TM2xHwXR3p9yI3GUSNs2puHjePwYl24jQk_rEPnMCGsB3mRTZM1Icu5XyauP2xBX9uQSAwSPNDf5mCeICsodkDZ4LOP0_k4EKcrCHYgER3u4k1mfMH93LE-8fDt2dx8OWHgxKnnYuoOP-Hs-q6IQ5mcyG_xeDqGee1SftFpq3M-FcMae3VdpuDbhrCJL_Bgl4_iXD8Ic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Y7218UuAfr95a_LBN3-MtdlQNRfzroEiPurVpfgvP7i1CU40V-DutzB_lLTJTjeX1G6BEf6C0eX4PrrQ0180NKfV6cQnZqakEadmus6bKim-GOzkGhqw8sX-MD8fji2TcWL4_QNRDIvds25WebksEsI2JMX9felTPhxKcsyy4oXP8alvJFwO9D13b03OxOzoqvAYVVQs0PaLaxzcS3HEoLMOLSFpbOH2_jmGBqLxnHVewVFmJlK1Ctzup4ZekW_bQ71EZs__NA5gou1D_4I5bRofZjEMuVFw5X_9Uyy09lTMGl-WdQhKsScNjw1A26C04-xvoVZzdQnQ75sIntbz1vK8iAGpubmzOqiiZ5_y7KmYtivrn4GU3HRDnVhrsdV0y-vt55DCOXugLfyhNH5V8Dp8vo02pvG9rPq_xz9P0fZ7bI=

@Wires77

Wires77 commented Nov 24, 2026

Copy link
Copy Markdown
Member

I also noticed we dropped some of the SocketedIn effects. Notably, the corrupted mod "10% to quality of socketed gems" no longer applies.

In addition, we get some funky tooltips showing us losing all of our Hollow Palm Technique damage when hovering over another copy of Dancing Dervish even though nothing changes after equipping

…cing Dervishes

Modifiers to socketed gems (e.g. "+20% to Quality of Socketed Gems") on a
weapon disabled by Manifested Dancing Dervishes are kept, as the supports
socketed in it still support the granted skill.

When comparing another copy of The Dancing Dervish, the granted skill of
the equipped one is no longer ignored, as the replacement grants the same
skill. This stops the tooltip from showing the weapon slots as enabled.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Jayensee

Copy link
Copy Markdown
Author

@Wires77 I tested passive skills that grant conditional increased attack damage (easier to test than ailment damage) to one-handed melee weapons as well as two-handed melee weapons in game and neither applied while unarmed, even with vendigo (did not test with the claw/unarmed unique talisman) so I'm pretty sure the 4% increased damage with ailments from melee weapons shouldn't apply either.

I wanted to test if the quality of socketed gems applies in game, but I can't figure out how to notice the difference, the best I can think of is increased area of effect support and screenshotting before and after? I'd also like to verify that socket colors apply.
My guess would be that the quality should work since it snapshots before disabling, but it would be better to know for sure.
I'll change it to work again, and maybe try to test it in-game sometime in the future.

Jayensee and others added 3 commits November 24, 2026 17:13
SocketProperty and GroupProperty mods (e.g. "+X% to Fire Resistance when
Socketed with a Red Gem", "You have Vaal Pact while all Socketed Gems are
Red") also have a SocketedIn tag, but they're player stats rather than
modifiers to the socketed gems, so they stay disabled with the weapon.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…y#10520

The Smite, Dual Strike and Claw-skill Hollow Palm tests already exist on
dev. Keep the Spectral Throw and Cyclone tests, share the skill and Hollow
Palm setup between the Vendigo tests, and restore PathOfBuildingCommunity#10520's comments.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add helpers for checks that were repeated:
- isSocketedInMod: the SocketedIn tag check (disabled weapons, gem mods,
  Necromantic Aegis, The Iron Mass, Kalandra's Touch)
- isSlotInActiveWeaponSet and isActiveGrantedEffect: the gating shared by
  socketGroupsDisableWeapons and the support/active skill processing
- addItemRequirements: the item requirements entry
- getSocketedItem: the item gems are socketed in, including weapons
  disabled by Manifested Dancing Dervishes. Socket colour and socket
  number gem modifiers now also apply to supports in disabled weapons.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Jayensee

Jayensee commented Nov 24, 2026 •

Copy link
Copy Markdown
Author

Pushed fixes for the review:

SocketedIn mods: while the dervishes are manifested, the disabled weapon now keeps its mods that apply to socketed gems, along with Rampage. Examples are "+X% to Quality of Socketed Gems" and "+1 to Level of Socketed Gems". Socket-colour mods ("Gems Socketed in Red Sockets have +1 to Level") also apply to supports in the disabled weapon now. Mods that are really player stats depending on the socketed gems stay disabled with the weapon. Those are SocketProperty, e.g. "+X% to Fire Resistance when Socketed with a Red Gem", and GroupProperty, e.g. "You have Vaal Pact while all Socketed Gems are Red". "Socketed Gems are Supported by …" mods are kept too. As before, they don't support the item-granted Manifest skill.

Comparison tooltip: when you compare an item against the equipped Dancing Dervish, its Manifest skill was ignored, even when the compared item was another Dervish that grants the same skill. That's why the tooltip showed the weapons as enabled and your Hollow Palm damage disappearing. It's now only ignored if the compared item doesn't grant that skill.

Duplication:

  • Added helpers in CalcSetup:
    • isSocketedInMod, which also replaces the copies for Necromantic Aegis, The Iron Mass, Kalandra's Touch and applyGemMods.
    • isSlotInActiveWeaponSet and isActiveGrantedEffect, shared with the support and active-skill processing.
    • addItemRequirements.
    • getSocketedItem.
  • Removed the Hide of the Vendigo tests that duplicated Fix Hide of the Vendigo interactions #10520's after the merge, and restored its comments.
  • Overall the PR adds 59 fewer lines net than before.

I checked the cleanup doesn't change behaviour by diffing all calculation output, skill states and gem levels/quality for 28 builds I had saved in my PoB and 8 builds targeting specific things that could break before and after (stuff like kalandra's touch, necromantic aegis, weapon swap, etc). The only difference was the intended socket-colour change above.

@Jayensee
Jayensee requested a review from Wires77 November 24, 2026 18:50
@Wires77

Wires77 commented Nov 24, 2026

Copy link
Copy Markdown
Member

@Wires77 I tested passive skills that grant conditional increased attack damage (easier to test than ailment damage) to one-handed melee weapons as well as two-handed melee weapons in game and neither applied while unarmed, even with vendigo (did not test with the claw/unarmed unique talisman) so I'm pretty sure the 4% increased damage with ailments from melee weapons shouldn't apply either.

Interesting, you tested that from the tooltip? It's possible PoB was wrong here, so if you have some screenshots or something for future reference that'd be great.

I wanted to test if the quality of socketed gems applies in game, but I can't figure out how to notice the difference, the best I can think of is increased area of effect support and screenshotting before and after? I'd also like to verify that socket colors apply. My guess would be that the quality should work since it snapshots before disabling, but it would be better to know for sure. I'll change it to work again, and maybe try to test it in-game sometime in the future.

Looking through some supports the easiest way might be Life Gain on Hit. Keep it and an Infernal Legion at level 1, and 20% quality on life gain on hit would be more than double the life gain of a 0%. There might be a better one, but that's what I found at first glance that wasn't triggered or otherwise unable to be used by the minions.

I'll take another look at the latest changes, thanks for testing!

@zubSero zubSero mentioned this pull request Nov 26, 2026
2 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants