Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Sandstorm Visage crit mod #5398

Merged

Conversation

andrewbelu
Copy link
Contributor

Description of the problem being solved:

Add support for Sandstorm Visage main hand crit -> spell base crit

Steps taken to verify a working solution:

  • Ensured crit chance is not affected when main hand is empty
  • Base chance is set to main hand's critical strike chance when a weapon is equipped in the main hand
  • Base chance is increased with b

Link to a build that showcases this PR:

https://pastebin.com/KVyAewuk

After screenshot:

image
image

@andrewbelu andrewbelu changed the title Sandstorm visage Add support for Sandstorm Visage crit mod Dec 17, 2022
@QuickStick123 QuickStick123 added the enhancement New feature, calculation, or mod label Dec 18, 2022
@QuickStick123
Copy link
Contributor

Minor note the way you implemented it the mod would be considered baseCritFromMainHand as the application to spells is handled exclusively by the config and spell tag.

@andrewbelu
Copy link
Contributor Author

Fair enough, perhaps in future use cases it may come into play. Updated

@QuickStick123
Copy link
Contributor

Fixes #5342

@LocalIdentity LocalIdentity merged commit 7512892 into PathOfBuildingCommunity:dev Dec 19, 2022
@Crigges
Copy link

Crigges commented Dec 20, 2022

Just tested this on the dev branch, for me it doesn't work with the showcased build

@QuickStick123
Copy link
Contributor

It works you probably forgot to rebuild mod cache
image

Testing this mechanic ingame saw unarmed setting base crit on spells to 0% which this doesn't do.

Dullson pushed a commit to Dullson/PathOfBuilding that referenced this pull request Dec 26, 2022
* Add support for Sandstorm Visage crit override

* Add breakdown message

* Change name of base crit from weapon var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, calculation, or mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants