Skip to content

Add support for Atziri's Splendour mana to life cost conversion for corrupted gems#2312

Open
slaren wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
slaren:sl/splendour-cost-conversion
Open

Add support for Atziri's Splendour mana to life cost conversion for corrupted gems#2312
slaren wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
slaren:sl/splendour-cost-conversion

Conversation

@slaren

@slaren slaren commented Jun 27, 2026

Copy link
Copy Markdown

Description of the problem being solved:

The mod "Skills from Corrupted Gems have 50% of Mana Costs Converted to Life Costs" from Atziri's Splendour is not supported.

Steps taken to verify a working solution:

  • Toggle between corrupted and uncorrupted skill gem
  • Verify that skill costs match the game tooltip

I am not sure if this is the best way to add the "GemCorrupted" condition, any feedback is appreciated.

{ stat = "BrandAttachmentRangeMetre", label = "Attachment Range", fmt = ".1fm", flag = "brand" },
{ stat = "BrandTicks", label = "Activations per Brand", fmt = "d", flag = "brand" },
{ stat = "ManaCost", label = "Mana Cost", fmt = "d", color = colorCodes.MANA, pool = "ManaUnreserved", compPercent = true, lowerIsBetter = true, condFunc = function(v,o) return o.ManaHasCost end },
{ stat = "ManaCost", label = "Mana Cost", fmt = ".0f", color = colorCodes.MANA, pool = "ManaUnreserved", compPercent = true, lowerIsBetter = true, condFunc = function(v,o) return o.ManaHasCost end },

@slaren slaren Jun 27, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is somewhat unrelated, but while working on this I noticed that the mana cost display was not being rounded, so in some cases it would be off by one when compared to the in-game tooltip.

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.

1 participant