Added sources of gaining rage#1613
Open
MrHB212 wants to merge 10 commits intoPathOfBuildingCommunity:devfrom
Open
Added sources of gaining rage#1613MrHB212 wants to merge 10 commits intoPathOfBuildingCommunity:devfrom
MrHB212 wants to merge 10 commits intoPathOfBuildingCommunity:devfrom
Conversation
Contributor
MrHB212
commented
Dec 15, 2025
This reverts commit ced2e68.
LocalIdentity
requested changes
Jan 13, 2026
Contributor
LocalIdentity
left a comment
There was a problem hiding this comment.
Just needs to change to be more generic so in the future we can support other mods like range on spell hit or range on arrow hit etcc
src/Modules/ModParser.lua
Outdated
| flag("Condition:CanGainRage"), | ||
| }, | ||
| ["gain (%d+) rage on melee hit"] = function(num) return { | ||
| mod("RageOnMeleeHit", "BASE", num), |
Contributor
There was a problem hiding this comment.
Should use ModFlag.Melee as a way to only have it work on Melee skills
src/Modules/CalcSections.lua
Outdated
| { label = "Total", { format = "{0:output:Rage}", }, }, | ||
| { label = "Rage Effect", { format = "{1:output:RageEffect}", { modName = "RageEffect" }, }, }, | ||
| { label = "Maximum Rage", { format = "{0:output:MaximumRage}", { modName = "MaximumRage" }, }, }, | ||
| { label = "Gain on Melee hit", { format = "{0:output:RageOnMeleeHit}", { modName = "RageOnMeleeHit" }, }, }, |
Contributor
There was a problem hiding this comment.
Should change to be Gain on Hit so it can work for other sources
src/Modules/ModParser.lua
Outdated
| }end, | ||
| ["gain %d+ rage on melee weapon hit"] = { | ||
| flag("Condition:CanGainRage"), | ||
| flag("Condition:CanGainRage") |
Contributor
There was a problem hiding this comment.
Can use the weapon modflag for this similar to how we handle other weapon hit mods
Contributor
Author
There was a problem hiding this comment.
I actually deleted that parse since it seemed like a duplicate to me, the nodes still work fine without that.
Also deleted 2719-2721 since it is just a duplicate
Contributor
Author
Contributor
Author
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








