Skip to content

Commit

Permalink
Adjust priority on dwarven to ensure its after flat boosts
Browse files Browse the repository at this point in the history
I really need to make a priority table to ensure all of these stay in order, the existing one is so out of date
  • Loading branch information
KnightMiner committed Feb 27, 2024
1 parent 80931ce commit 82359a1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public class DwarvenModifier extends Modifier implements ConditionalStatModifier
/** Velocity boost when at distance, gets larger when lower */
private static final float VELOCITY_BONUS = 0.05f;

@Override
public int getPriority() {
return 85; // after flat boosts, before multipliers
}

@Override
protected void registerHooks(Builder hookBuilder) {
hookBuilder.addHook(this, TinkerHooks.CONDITIONAL_STAT);
Expand Down

0 comments on commit 82359a1

Please sign in to comment.