Skip to content

Commit

Permalink
Fix cobalt grip stats and update lightweight to work on ranged
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed Dec 16, 2022
1 parent 74310bd commit 473735c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"accuracy": 0.05
},
"tconstruct:grip": {
"durability": -0.3,
"accuracy": 0.2,
"meleeAttack": -0.15
"durability": 1.05,
"accuracy": 0.05,
"meleeAttack": 2.25
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
"stat": "tconstruct:mining_speed",
"type": "multiply_base",
"value": 0.07
},
{
"stat": "tconstruct:draw_speed",
"type": "multiply_base",
"value": 0.05
},
{
"stat": "tconstruct:velocity",
"type": "multiply_base",
"value": 0.05
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ protected void addModifiers() {
addModifier(ModifierIds.lightweight, StatBoostModifier.builder()
.multiplyBase(ToolStats.ATTACK_SPEED, 0.07f)
.multiplyBase(ToolStats.MINING_SPEED, 0.07f)
.multiplyBase(ToolStats.DRAW_SPEED, 0.05f)
.multiplyBase(ToolStats.VELOCITY, 0.05f)
.build());
// traits - tier 3 compat
addModifier(ModifierIds.ductile, StatBoostModifier.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private void addRanged() {
new GripMaterialStats(0.6f, 0.25f, 1.0f));
addMaterialStats(MaterialIds.cobalt,
new LimbMaterialStats(800, 0.05f, 0.05f, 0.05f),
new GripMaterialStats(-0.30f, 0.2f, -0.15f));
new GripMaterialStats(1.05f, 0.05f, 2.25f));
addMaterialStats(MaterialIds.blazingBone,
new LimbMaterialStats(530, -0.3f, 0.2f, -0.15f),
new GripMaterialStats(0.85f, -0.10f, 3f));
Expand Down

0 comments on commit 473735c

Please sign in to comment.