-
Notifications
You must be signed in to change notification settings - Fork 262
Added sources of gaining rage #1613
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
base: dev
Are you sure you want to change the base?
Conversation
MrHB212
commented
Dec 15, 2025
This reverts commit ced2e68.
LocalIdentity
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should use ModFlag.Melee as a way to only have it work on Melee skills
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
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" }, }, }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should change to be Gain on Hit so it can work for other sources
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/Modules/ModParser.lua
Outdated
| }end, | ||
| ["gain %d+ rage on melee weapon hit"] = { | ||
| flag("Condition:CanGainRage"), | ||
| flag("Condition:CanGainRage") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can use the weapon modflag for this similar to how we handle other weapon hit mods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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





