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.
RFC: Reforging
Background
With Cataclysm on the horizon, I thought it's time to start adding functionality. Reforging is one of those we can add easily without disturbing other things in the core sim.
The functionality of reforging is quite simple.
The main issue will be implementing the UI to work with it.
Example item loadout with reforging:
Everything here is optional, so it shouldn't affect current sims at all.
How reforging works
Reforging takes a secondary stat on the item from a list of allowed stats:
Then it takes 40% and adds it to another allowed stat and floors the result.
Relevant code from Simulationcraft:
Implementation
Found reforging ids on https://www.wowhead.com/tooltips and the object structure WH are likely to use at https://web.archive.org/web/20120201045249js_/http://www.wowhead.com/data=item-scaling
Todo