mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
Projectiles multiplicative speed scaling now only works off the base-damage of the projectile. Quartz is added flat afterwards.
For that purpose Tools now have base-damage saved. For existing tools the damage added by quartz is simply subtracted before the calculation.
This commit is contained in:
1 parent
cfebaef2c3
commit
283c3cf12a
2 files changed
+21
-1
No files matched your search
@@ -280,6 +280,7 @@ public class ToolBuilder
|
||||
compound.getCompoundTag("InfiTool").setFloat("ModDurability", 0f); //Modifier
|
||||
compound.getCompoundTag("InfiTool").setBoolean("Broken", false);
|
||||
compound.getCompoundTag("InfiTool").setInteger("Attack", attack);
|
||||
compound.getCompoundTag("InfiTool").setInteger("BaseAttack", attack);
|
||||
|
||||
compound.getCompoundTag("InfiTool").setInteger("MiningSpeed", headMat.toolSpeed());
|
||||
compound.getCompoundTag("InfiTool").setInteger("HarvestLevel", headMat.harvestLevel());
|
||||
|
||||
Reference in new issue
Block a user