Cast When Damage Taken support affecting linked Skill Gems that are too high level
Check version
- [X] I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- [X] I've checked for duplicate issues by using the search function of the issue tracker
Check for support
- [X] I've checked that the behaviour is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What is the behaviour in-game?
The Cast When Damage Taken support gem, depending on it's level, only affects linked skill gems that are below a certain required-level threshold.
What is the behaviour in Path of Building?
The Cast When Damage Taken support gem affects all linked skill gems regardless of required level.
How to reproduce the issue
Starting with a new build:
- Switch to the
Skillstab - Add a new Socket Group
- Add any damaging skill gem (e.g
Arc) and ensure it is set to level 20 - Note the reported Damage and Mana Cost for that skill
- Add the
Cast When Damage Takensupport gem to the group and ensure it is set to level 1 - Observe that
Cast When Damage Takenis affecting the reported Damage and Mana Cost for the chosen skill in step 3
Cast When Damage Taken should not apply to the skill in this instance, because level 20 Arc requires a character level of 70, and level 1 Cast When Damage Taken can only support skill gems requiring level 38 or lower.
Character build code
Simple Reproduction: https://pobb.in/8pUPSX500oY1
Build with incorrect warning caused by bug: https://pobb.in/qQ5Zcu2jB7EZ
Note this build has a CWDT-Hextouch socket group -- PoB reports 1 Warning that there is not enough unreserved mana to cast Despair, but this is because the 250% cost multiplier from CWDT is being applied to Despair even though its gem level is too high (see screenshots).
Screenshots
CWDT-Hextouch socket group:
CWDT mana cost multiplier affecting Despair:

Just realized that this should be a feature request and not a labeled as a bug -- wasn't quite sure what "Red text is a feature request" meant, then I realized the text for this line in the description of CWDT in PoB is red:

I don't think I'm able to update the labels on this, so hopefully someone with permissions can do that.
I am having the same problem using Cast on Damage Taken + Supported Skill + lifetap + Skill to high level to be supported.
In game there is no problem, Cast on Damage Taken triggers (and do not trigger Corrupting Fever) and Corrupting Fever triggers without killing me.