Adjust projectile weights a bit

This commit is contained in:
Bernhard Bonigl committed 2014-11-16 21:40:27 +01:00
1 parent 83168aaee1
commit 0756c25c70
2 files changed
+7 -7

No files matched your search

@@ -75,7 +75,7 @@ public class WeaponryHandler {
fletching = (FletchingMaterial) TConstructRegistry.getCustomMaterial(tags.getInteger("Accessory"), FletchlingLeafMaterial.class);
int durability = (int)((float)head.durability() * shaft.durabilityModifier * fletching.durabilityModifier);
float weight = arrow.mass + shaft.weight/2f;
float weight = arrow.mass + shaft.weight;
float accuracy = fletching.accuracy;
float breakChance = shaft.fragility + fletching.breakChance;
@@ -105,7 +105,7 @@ public class WeaponryHandler {
int durability = (int)((float)headMat.durability() * coreMat.handleDurability() * fletching.durabilityModifier);
float weight = head.mass + core.mass*1.5f;
float accuracy = fletching.accuracy;
float accuracy = (100f + fletching.accuracy)/2f;
float breakChance = fletching.breakChance*3;
float shoddy = (headMat.shoddy() + coreMat.shoddy())/2f;
int reinforced = Math.max(headMat.reinforced(), coreMat.reinforced());