Repository navigation
Lightning Exposure not correctly calculated #819
Description
Check version
- I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- I've checked for duplicate open and closed issues by using the search function of the issue tracker
Check for support
- I've checked that the calculation is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What platform are you running Path of Building on?
Windows
What is the value from the calculation in-game?
In game passive trees especially for stormweaver ascendency, the Lightning Exposure values can stack way beyond -20%, going up to even -72% or higher (depending on passives).
Stormweaver ascendency should be ADDITIVE to the Default Base (20), whereas Increased Exposure Effects should be multiplicative to the Total Base.
Formula/Proof of Concept should be something like this (using ChatGPT xD). Wish I could code but I've returned everything to my lecturer by now...
-- Base Lightning Exposure value
local baseExposure = -20-- Ascendancy or item bonus (e.g., +20 from an ascendancy)
local ascendancyBonus = 20-- Total base exposure including ascendancy
local totalBaseExposure = baseExposure + ascendancyBonus-- Increased Lightning Exposure Effect (e.g., 20% increased)
local increasedExposureEffect = 0.20 // to fetch total from POB passive trees (e.g. Electric amplification, Overexposure, Exposure Effect, ....) and gems (e.g. Strip Away)-- Calculate final exposure value
local finalExposure = totalBaseExposure * (1 + increasedExposureEffect)-- Output the final exposure value
print("Final Lightning Exposure: " .. finalExposure .. "%")
What is the value from the calculation in Path of Building?
Taking the last example of my excel calculation vs. in game - both sits at -72% Lightning Exposure.
However, POB calculates only up to -60% Lightning Exposure.
How to reproduce the issue
Here's an example of mine, and a few experiments to prove the calculation in game. To run this experiment, I'm using "Shocked Ground" from Lightning Warp which can consistently place shocks on enemy - resulting in Lightning Exposure inflicted with "Lightning Exposure" gem.
Full test video here -> https://youtu.be/fY39hsLOS8o
PoB for PoE2 build code
eNq9W1132jgTvu7-Ch-uScDmew_pHhKSJt3QsJC0u1d7hC1AW9lmbTkJ--vfGck2hiAjJ-e8vWiNNc9oZqSZ0Yzc4W-vPreeaRSzMLio2efNmkUDN_RYsLqoPT3enPVrv33-ZTglYv2wvEwYxxHn8y-fhvKHxekz5QDs1iyXkzj-Rnx6UZuHkU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CNl9CoMlW6XRQv1I44UE5W_2nLzYdcKAwDBMyiB5pJW4gIxDSZCGmsYpDvM17lhPg5ty4tJ1yD0apWgqQeqT5azn1Ws2TwD2rkcz2ClQrlzW4cqAg27n1HyFD54zVAlGGmGODaf4TSdPPwe8qS4Z3pNXR8kktQNkH5Mfo_fzT7fxQ2VIPJ5U7Aq7qXPKlwUFOwYaHi5ax3jVpnhYyWAtU1Tl-fJKOTdO-9Rk-1-KVNpXuI8PYa1-12A74oQQ9uTHhIdbzTml5Bhssr-bHZPFM12C3Z7B0iGg-NEVHNL51sgbCjsOG8Tbp7gig9wxqiz-3A3l8c7YaWO2YvxhKcs0gMla01S4LMHl9HbHMVn0N1vl5EKrj5fgzDsjQRHZaxrYz3S9r9Z4wXDcdHCUzpKQOljLX59_GTbe_L-e_wFmkeNHScreenshots
See steps to reproduce with detailed video/screenshots comparison summarized.


Activity
[-]Lightning Exposure not correctly calculated and hardcapped at -20%[/-][+]Lightning Exposure not correctly calculated[/+]Blitz54 commentedon Feb 21, 2025
The only issue is that Strip Away is currently not implemented, hence the red text. If you add


30% increased lightning exposure effectto the Custom Modifiers in the Config tab, then the exposure breakdown lines up properly with all of your expected values.gracielline commentedon Feb 22, 2025
Hmm seems like you're right! Didn't notice the red text and I've been trying to find out why the value differs, will use the workaround via custom modifiers for now whilst waiting for future version
Thank you for the help!!
Blitz54 commentedon Jun 18, 2026
Support for
Potent Exposurewhich is the renamedStrip Awaywas added in #1899